Layer7 API Management

Expand all | Collapse all

JVM Arguments for java agent

Jump to Best Answer
  • 1.  JVM Arguments for java agent

    Posted 09-17-2018 09:04 AM

    Hi,

    I have downloaded APM tool for monitoring my java application. For that I passed JVM Arguments (of wily/Agent.jar) in my tomcat v8.0 server and was able to get data from my application, but because of some issue I had to remove my server. Now I'm not able to find the full path of jar file that I passed to JVM as a parameter previously(for java 1.8).

    Please suggest me the JVM Arguments that I have to pass.

    Thank in advance.



  • 2.  Re: JVM Arguments for java agent
    Best Answer

    Broadcom Employee
    Posted 09-17-2018 07:00 PM

    Hello Ramya.ave,

     

    Here's an example of the JVM argument for CA APM Java Agent you can define in your Tomcat application startup script:

     

    set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:"c:\apache-root\wily\Agent.jar" -Dcom.wily.introscope.agentProfile="c:\apache-root\wily\core\config\IntroscopeAgent.profile"

    You may want to modify the path to suit your environment accordingly.

     

    For more details, you can refer to Configure Apache Tomcat to Use the Java Agent 

     

    Hope this helps.

     

    Regards,

    Aryne



  • 3.  Re: JVM Arguments for java agent

    Posted 09-18-2018 12:36 AM

    Thank you Aryne, it worked :-)