How to troubleshoot java agent installation or configuration?

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 network connectivity between application server and Appmanager server

Navigate to agent installed directory and execute the below command

java -jar apminsight-javaagent.jar troubleshoot -c
If Create Diagnostics option is chosen, it zips the conf files, info file & all the logs in the agent directory, which can then be sent to
for further debugging.

List of troubleshooting options available:



Runs basic troubleshooting for java agent
java -jar apminsight-javaagent.jar troubleshoot

Prints the troubleshoot options and its description
java -jar apminsight-javaagent.jar troubleshoot -h

Runs troubleshooting and creates a diagnostic zip file containing agent conf files and its logs
java -jar apminsight-javaagent.jar troubleshoot -c
Note: These troubleshooting steps are independent of the application server used

                    New to ADSelfService Plus?

                      • Related Articles

                      • How to troubleshoot Python agent installation or configuration

                        How to troubleshoot Python agent installation or configuration? Python Agent Check : Ensure that you have included the Python code snippet or are starting the application using Python as required. If not, refer to step 4 in this link. Make sure that ...
                      • Troubleshoot - RUM Agent silent installation

                        RUM Agent silent installation can fail on various factors based on your environment, troubleshoot with the help of error message shown while running the script. Below are the list of the error messages thrown from the script and its troubleshooting ...
                      • 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 ( file. ...
                      • 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 troubleshoot DotNet Core agent installation or configuration?

                        Please check if the .NET core agent is installed correctly using the steps here. The application to be monitored should be built with .NET core framework version 2.0 and above or .NET 5.0 & above. If the application is a self-contained application, ...