AnsweredAssumed Answered

Liberty ApplicationServer not working after (of course wrong) APM 10.3 agent installation

Question asked by Lucarazzi on Mar 29, 2017
Latest reply on Mar 30, 2017 by Lucarazzi

Hello Community,

I have installed an agent 10.3 (for WAS) on a linux box to monitor an IBM Liberty application server

I have modified the jvm.options file as follows

# Heap Size
-Xms1024m
-Xmx2048m
-javaagent:/prod/CA/wily4liberty/AgentNoRedefNoRetrans.jar
-Dcom.wily.introscope.agentProfile=/prod/CA/wily4liberty/core/config/IntroscopeAgent.NoRedef.profile
-Dorg.osgi.framework.bootdelegation=com.wily*
-Dcom.wily.introscope.agent.agentName=Liberty

 

Then I copied the WebAppSupport.jar file in the ext directory of the agent but when i run the application server i get:

 

 

[3/29/17 18:26:09:910 CEST] 00004399 com.ibm.ws.webcontainer E SRVE0232E: Internal Server Error. <br> Exception Message: [java.lang.NoClassDefFoundError: com/wily/introscope/agent/AgentShim]
[3/29/17 18:27:10:178 CEST] 000043a8 com.ibm.ws.webcontainer.webapp E SRVE0315E: An exception occurred: java.lang.Throwable: java.lang.NoClassDefFoundError: com/wily/introscope/agent/AgentShim

 

Do you have any idea where can be the error hiding?

 

Thanks

 

Luca Razzi

 

 

Outcomes