- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have find the solution for the jetty Server You need Created the servlet in the AppD Controller to catch the BT.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @vishal.patil,
Thank you for following up and sharing the solution.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have find the solution for the jetty Server You need Created the servlet in the AppD Controller to catch the BT.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have any Solution Error Which I am getting on Impalement App Agent in JETTY SERVER
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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...
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[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]
