APMInsight - Java Application Monitoring
APMInsight Guided-Installation Troubleshooting Steps
Steps to troubleshoot errors while executing the Guided-Installation command: (Applicable for APM v172100 & above) Prerequisite: Connectivity: Ensure that a connection between the Applications Manager server and the application server is established. ...
Troubleshooting steps to identify and resolve the APM - Java agent monitor onboarding issue due to "IllegalArgumentException: URI path begins with multiple slashes"
If you encounter the exception "java.lang.IllegalArgumentException: URI path begins with multiple slashes" while pointing the APM Insight Java agent folder to your monitoring Java Application server, follow these steps to identify and resolve the ...
APM Insight monitor is UP, but monitor page doesn't show any data
Possible Causes The APM Insight monitor status corresponds to the respective agent folder pointed Java Application status i.e., as long as the Application server is running, the monitor status will be UP. 1. No Transactions Recorded: It is possible ...
How to rename an existing APM - Java agent application's monitor?
In Applications Manager's APM(Application Performance Monitoring) doesn't support renaming applications/monitors from the web client. However, the application name of an existing application instance can be renamed in the `apminsight.conf` file and ...
How to add an APM Insight Java agent in Kubernetes via InitContainers?
Step 1. Create a secret to access the APM Insight license key in your application namespace: kubectl create secret generic app-secret --from-literal=s247licensekey='your_APMInsight_license_key' -n petclinic The license key can be obtained from the ...
Adding APM Insight Java agent in a Kubernetes environment
There are three methods for installing the APM Insight Java agent in a Kubernetes environment: Using Dockerfile Using InitContainers Using Persistent Volumes Prerequisites Download the latest APM Insight Java agent ZIP file. Extract the ZIP file and ...
APM Insight Java agent setup in K8s via Persistent Volumes
Prerequisites 1. A persistent volume (with a capacity of 100mb). 2. The persistent volume mounted on all deployment pods (via persistent volume claim). 3. The Applications Manager APM Insight Java agent zip file was downloaded, moved, and extracted ...
How can we address the slowness issue in Tomcat when using the Java Agent?
RCA : The slowness during application startup can be attributed to the scanning of the agent JAR performed by Tomcat. The slowness is primarily a result of Tomcat's encryption verification and decompression processes applied to each class within the ...
How to enable or disable thread profiling in the Java agent?
The APM Insight Java agent v6.0 is designed to enable thread profiling by default and runs every eight hours (since JVM start) for five minutes to identify and instrument the slow methods in your application. You can also disable thread profiling by ...
Deprecation of Java 6 and 7 for the APM Insight Java agent
The security of our customers continues to be our top priority. We have released a new version of APM Insight Java Agent v6.0 [18/06/2023], which uses the most recent Log4j2 library (v2.18.0) to mitigate the Log4shell vulnerability (CVE-2021-44228). ...
Self monitor Applications Manager using APM Insight Java Agent
Applications Manager is built with Java, hence we can monitor it using APM Insight Java Agent to measure it's performance continuously, which can be very much useful. Setting up APM Insight Java Agent Follow the below steps to download and set up the ...
Unable to deploy APM Insight Java agent in JBoss EAP 6.1.0 GA Server
There is a bug in JBoss EAP 6.1.0 which acts as a hindrance to deploy the APM Insight Java agent in the server. The bug report can be found here : https://bugzilla.redhat.com/show_bug.cgi?id=969530 We suggest you to upgrade your JBoss EAP server to ...
Set APM Insight application name from JVM argument
To specify APM Insight application name in JVM parameters, kindly add the following line to the arguments -Dapminsight.application.name=your_app_name This will override the value specified in apminsight.conf file. Example: In Windows, ...
The application does not start or is facing downtime after adding APM Insight javaagent
Kindly check whether the agent jar is available in the specified path Make sure the agent directory has read/write permissions If the above steps don't work, kindly contact appmanager-support@manageengine.com with server logs/errors.
How to add an APM Insight instance or application that has been deleted earlier?
APM Insight agent state is maintained in 'apminsight.info' file (located in the directory where agent jar resides). Please delete this file and restart the Application, this will add the APM instance successfully.
Is APM Java agent available for Apache HTTP server?
No, our APM Java agent is not supported on an Apache HTTP server running on Windows or Linux host.
How to exclude HTTP errors from monitoring
Common HTTP errors can be ignored from being tracked to reduce the noise in your monitoring environment. To ignore such HTTP errors, please follow the instructions given below. APM -> Applications/Instances -> Monitor Actions > Edit -> APM Insight ...
How to change agent log directory or redirect logs to console?
By default, agent logs are written to a log file in the specified or default directory of APM Insight Java agent. To redirect the agent logs to STDOUT or console, add the below key in apminsight.conf file and restart your application. ...
How to troubleshoot java agent installation or configuration?
Troubleshooting operation will perform the below mentioned checks: Checks whether agent directory has read/write operations Checks whether apminsight.conf has license key mentioned Checks whether agent state, unmanaged, deleted or managed Checks ...
How to capture complete URL of transactions performed on application server?
By adding the below option in apminsight.conf file, the agent will start collecting the complete URLs of the transactions being performed. webtransaction.naming.use.requesturl=true This option will be helpful when you have multiple virtual hosts ...
Can I disable instrumentation of third party packages?
Yes, you can exclude specific classes, methods or application packages from being instrumented by the Java agent. To exclude packages from being instrumented, implement the following steps: Add the below key in apminsight.conf file ...
After adding Javaagent in JBoss, server does not start. It throws JBoss logger exception. How do I resolve it?
Some versions of JBoss servers (both AS & EAP) throws JBoss logger exception such as the one shown below: Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: JBAS011592: The logging subsystem requires the log manager ...
Resolve the error message "Metric dispatch failed. Exception: weblogic.net.http.SOAPHttpsURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection" observed in agent logs
This exception occurs specifically in weblogic servers, as it uses its own HTTP handler. To resolve this kindly add the below parameter to the JVM arguments and restart the weblogic server instances. ...
Steps to troubleshoot when no data is available for Java applications.
After adding APM Insight Java agent, if you find no data available in the APM Insight JAVA Application monitor, it could be because of probable reasons like network issues or zero traffic in your application. Kindly read through the below given ...