Help Docs

Installing Java Agent in Other Java Servers

Note
Refer to this help page for the previous steps.
  1. Extract the zip file to a new directory to find agent jar and its configuration files.
  2. Open apminsight.conf file in any text editor and add license.key value, which can be obtained from Site24x7 APM Insight page. Refer here to fine tune the agent settings.
  3. Add "-javaagent:<agent_directory_full_path>/apminsight-javaagent.jar" to the server JVM configurations.
Note

The argument '-javaagent' is similar to other Java arguments such as -X and -D. The argument must be added to your server configuration where heap memory, garbage collector, or system properties are configured. These configurations might be in a separate file or included in the command/script used to start your application server.

  1. Restart the server.

Was this document helpful?

Would you like to help us improve our documents? Tell us what you think we could do better.


We're sorry to hear that you're not satisfied with the document. We'd love to learn what we could do to improve the experience.


Thanks for taking the time to share your feedback. We'll use your feedback to improve our online help resources.

Shortlink has been copied!