DX Application Performance Management

 View Only
  • 1.  Configure Apache Tomcat to Use the Java Agent

    Posted Nov 26, 2018 12:34 AM

    Hi Team

    We have done the following configuration in the catalina.bat file:

    -javaagent:"E:\agentv1\wily\Agent.jar"
    -Dcom.wily.introscope.agentProfile="E:\agentv1\wily\core\config\IntroscopeAgent.profile" 

     

    but we are unable to see the agent.

    However, when I perform the steps in below screenshot it worked

    please share your catalina.bat screenshot it will be very helpful.

     

    Thanks



  • 2.  Re: Configure Apache Tomcat to Use the Java Agent
    Best Answer

    Broadcom Employee
    Posted Nov 26, 2018 07:32 AM

    When running Tomcat as a Windows service, you need to add the javaagent and Dcom.wily.introscope.agentProfile arguments to your Tomcat startup properties

     

    I found a similar discussion here:

    getting tomcat metrics from windows tomcat7w.exe service  

     

    I will suggest to the doc team to include this info in docops.

     

    Regards,

    Sergio



  • 3.  Re: Configure Apache Tomcat to Use the Java Agent

    Broadcom Employee
    Posted Nov 26, 2018 07:41 AM

    I have just added a comment to this page:

    Apache Tomcat - CA Application Performance Management - 10.7 - CA Technologies Documentation 

     

    To summarize, when running Tomcat as a Windows service, to enable the Java agent, you need to:

    Ensure that you are using administrator privileges.
    Click Programs > Apache Tomcat > Configure Tomcat.
    Click the Java tab and in the Java Options add the below 2 additional lines:
    -javaagent:<Path_To_AgentJar>
    -DagentProfile=<Path_To_AgentProfile>

     

    Thanks,

    Sergio