DX Application Performance Management

  • 1.  Websphere config for Windows ..

    Posted May 07, 2015 09:58 AM

    Looking at config for a Windows env Websphere instance - the docs state :

     

    1. Open the WebSphere Administrator Console.
    2. Navigate to Application Servers > your server > Server Infrastructure > Java and Process Management > Process Definition > Java Virtual Machine.
    3. Set the Generic JVM Argument field as follows:
      -javaagent:<PathToAgentJar> -Dcom.wily.introscope.agentProfile=<PathToAgentProfile> 

      where the PathToAgentJar and PathToAgentProfile depend upon the JVM in your environment:

      For IBM JVM 1.5 or 1.6, use AgentNoRedefNoRetrans.jar and IntroscopeAgent.NoRedef.profile
      For all other JVMs including IBM 1.7, use Agent.jar and IntroscopeAgent.profile

      For example, on JVM 1.7 the generic JVM argument field is as follows:

      For example, on JVM 1.7 the generic JVM argument field is as follows:

      -javaagent:<Agent_Home>/Agent.jar -Dcom.wily.introscope.agentProfile=<Agent_Home>/core/config/IntroscopeAgent.profile 
    4. Restart the WebSphere application server.

     

    I have changed the JVM arguments to the following but its incorrect as websphere does not start - what should the correct syntax be here pls ?

     

    I have :

     

    -javaagent:E:\apm\Agent.jar -Dcom.wily.introscope.agentProfile=E:\apm\core\IntroscopeAgent.websphere.profile

    and

    Classpath:
    E:\apm\common
    \WebAppSupport.jar


    APM9.7 java 1.7

    Thanks.



  • 2.  Re: Websphere config for Windows ..
    Best Answer

    Posted May 07, 2015 01:34 PM

    Normally we put profile files in /core/config. If that's not it, then I'd suggest you to check the was server log for more details.



  • 3.  Re: Websphere config for Windows ..

    Broadcom Employee
    Posted May 07, 2015 05:20 PM
    What version of APM? It's important because the agent file structure was changed after APM 9.0.


  • 4.  Re: Websphere config for Windows ..

    Posted May 07, 2015 05:26 PM

    9.7 .. Thanks.

     

    We have several instances of Linux websphere in our env - this is the first windows box



  • 5.  Re: Websphere config for Windows ..

    Broadcom Employee
    Posted May 07, 2015 05:33 PM
    Then the agent path is as James suggests. Does the WAS or agent logs say anything about not finding the profile or PBDs?


  • 6.  Re: Websphere config for Windows ..

    Posted May 07, 2015 06:04 PM

    In see the error now .. Doh cheers



  • 7.  Re: Websphere config for Windows ..

    Broadcom Employee
    Posted May 07, 2015 10:01 PM

    Don't forget to mark which response answered your question.