DX Application Performance Management

Expand all | Collapse all

Websphere liberty profile agent

Jump to Best Answer
  • 1.  Websphere liberty profile agent

    Posted 07-07-2015 10:36 AM

    Hi There,

    Successfully installed CA APM agent for Websphere on Liberty profile 8.5.5. However there seems to be no metrics collected and the agent name is still defaulted to "Websphere Agent".

    What can be wrong?



  • 2.  Re: Websphere liberty profile agent

    Broadcom Employee
    Posted 07-07-2015 10:41 AM

    Please check the IntroscopeAgent.log, AutoProbe.log and application server log.



  • 3.  Re: Websphere liberty profile agent

    Posted 07-09-2015 03:11 AM

    Please use 'Introscope Java Agent Files for All Application Servers-No Installer r9.6.0' to install Agent instead of the default Websphere agent ('Introscope Agent Files for IBM Websphere Application Server-No Installer) and see if it makes any difference. Also you need to define below in JVM arguments

     

    -javaagent:/******/introscope/wily/Agent.jar

    -Dcom.wily.introscope.agentProfile=/xxxxxxx/introscope/wily/core/config/IntroscopeAgent.profile

    -Dorg.osgi.framework.bootdelegation=com.wily.*



  • 4.  Re: Websphere liberty profile agent

    Posted 07-07-2015 10:44 AM
      |   view attached

    Hi Guenter,

    Everything seems fine that side, please see attached log…

    Attachment(s)



  • 5.  Re: Websphere liberty profile agent

    Broadcom Employee
    Posted 07-07-2015 11:01 PM

    Hi Luke,

    The log shows the auto renaming failing ("The Application Server naming mechanism is not yet available").

    Then the agent with try again in 10 minutes per the default value set for property introscope.agent.agentAutoRenamingIntervalInMinutes.

     

    Did you create the WAS Introscope Custom Service to enable the auto renaming of the agent?:

    Configure a Custom Service in WebSphere

     

    Per the above link that will also enable JMX & PMI metrics so could also explain at least those metrics being missing.

     

    Hope this helps.

     

    Lynn



  • 6.  Re: Websphere liberty profile agent

    Posted 07-08-2015 02:24 AM

    Hi Lynn,

     

    This is WebSphere Liberty Profile, none of the things referenced in Configure a Custom Service in WebSphere<https://wiki.ca.com/display/APMDEVOPS97/ConfigureaCustomServicein+WebSphere> are available.

    Thanks,

     

    Luke Kabamba

    Consultant

    NIC Operation

    Ext 2703

    Mobile +966 56 294 5200



  • 7.  Re: Websphere liberty profile agent

    Broadcom Employee
    Posted 07-08-2015 11:48 PM

    Sorry I forgot about the lack of an Admin console with the Lightweight Liberty Profile

    The auto naming option may not be available and you have to manually set the agent name via agent profile or with "-Dcom.wily.introscope.agent.agentName" in the jvm.options file along with the other required properties.

    What does your jvm.options file look like so far?



  • 8.  Re: Websphere liberty profile agent
    Best Answer

    Posted 07-09-2015 01:51 AM

    Hi Lynn,

     

    The reason why the auto naming wasn’t happening is simple because we were testing on a server without true running applications (but we didn’t know that until we installed on another server).

    Yes, we did use "-Dcom.wily.*" in the JVM startup.

    Also to avoid any unexpected problems, we de-installed the WebSphere agent and installed the Tomcat one.

    So far it produces the desired metrics.

     

    Many thanks for your usual help.

     

    Regards,

    Luke



  • 9.  Re: Websphere liberty profile agent

    Broadcom Employee
    Posted 07-09-2015 08:34 PM

    Hi Luke,

    Glad to hear the positive news

    (for future reference adding the Tomcat info. from your other thread Re: WebSphere 8.5.5 Liberty Profile Agent Installation)

     

    Regards,

     

    Lynn