cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Jetty Servver

vishal.patil
Builder

Got Error ON Jetty server while instrument the App Agent in jetty.ini file.

Error opening zip file or JAR manifest missing : /D:/APP
Error occurred during initialization of VM
agent library failed to init: instrument

5 REPLIES 5

vishal.patil
Builder

[AD Agent init] 31 Mar 2023 00:23:00,997 INFO JavaAgent - Logging set up for log4j2
[AD Agent init] 31 Mar 2023 00:23:00,997 INFO JavaAgent - ####################################################################################
[AD Agent init] 31 Mar 2023 00:23:00,998 INFO JavaAgent - Java Agent Directory [D:\APP Agent\ver23.2.0.34668]
[AD Agent init] 31 Mar 2023 00:23:00,998 INFO JavaAgent - Java Agent AppAgent directory [D:\APP Agent\ver23.2.0.34668]
[AD Agent init] 31 Mar 2023 00:23:00,998 INFO JavaAgent - Using Java Agent Version [Server Agent #23.2.0.34668 v23.2.0 GA compatible with 4.4.1.0 rb5fa6f7b20aadebc67b111dc467d38ed6577861f release/23.2.0]
[AD Agent init] 31 Mar 2023 00:23:00,998 INFO JavaAgent - All agent classes have been pre-loaded
[AD Agent init] 31 Mar 2023 00:23:01,005 ERROR JavaAgent - Could Not Start Java Agent, disabling the agent with exception
java.lang.reflect.InaccessibleObjectException: Unable to make field java.lang.ThreadLocal$ThreadLocalMap java.lang.Thread.inheritableThreadLocals accessible: module java.base does not "opens java.lang" to unnamed module @7fd01747
at java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:387) ~[?:?]
at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:363) ~[?:?]
at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:311) ~[?:?]
at java.lang.reflect.Field.checkCanSetAccessible(Field.java:180) ~[?:?]
at java.lang.reflect.Field.setAccessible(Field.java:174) ~[?:?]
at com.singularity.ee.agent.configuration.impl.AgentSchedulerThreadPoolExecutorFactory.init(AgentSchedulerThreadPoolExecutorFactory.java:138) ~[appagent-boot.jar:?]
at com.singularity.ee.agent.configuration.impl.AgentSchedulerManagerInstance.init(AgentSchedulerManagerInstance.java:87) ~[appagent-boot.jar:?]
at com.singularity.ee.agent.configuration.impl.AgentSchedulerManager.init(AgentSchedulerManager.java:43) ~[appagent-boot.jar:?]
at com.singularity.ee.agent.appagent.kernel.AgentKernel.<init>(AgentKernel.java:110) ~[appagent.jar:?]
at com.singularity.ee.agent.appagent.kernel.JavaAgent.createAgentKernel(JavaAgent.java:516) ~[appagent-boot.jar:?]
at com.singularity.ee.agent.appagent.kernel.JavaAgent.initialize(JavaAgent.java:478) ~[appagent-boot.jar:?]
at com.singularity.ee.agent.appagent.kernel.JavaAgent.initialize(JavaAgent.java:355) ~[appagent-boot.jar:?]
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:578) ~[?:?]
at com.singularity.ee.agent.appagent.AgentEntryPoint$1.run(AgentEntryPoint.java:658) ~[?:Server Agent #23.2.0.34668 v23.2.0 GA compatible with 4.4.1.0 rb5fa6f7b20aadebc67b111dc467d38ed6577861f release/23.2.0]

Ryan.Paredez
Community Manager

Hi @vishal.patil,

There are a few existing community posts that mention a similar error. Did you happen to see those?
You can see the results here: https://community.appdynamics.com/t5/forums/searchpage/tab/message?filter=location&q=%22agent%20libr...

 


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.

vishal.patil
Builder

You have any Solution Error Which I am getting on Impalement App Agent in JETTY SERVER

vishal.patil
Builder

I have find the solution for the jetty Server You need Created the servlet in the AppD Controller to catch the BT.

 

Ryan.Paredez
Community Manager

Hi @vishal.patil,

Thank you for following up and sharing the solution. 


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.