Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
03-30-2023 11:41 PM
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
Solved! Go to Solution.
03-31-2023 12:30 AM
[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]
03-31-2023 10:05 AM
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.
04-05-2023 10:59 AM
You have any Solution Error Which I am getting on Impalement App Agent in JETTY SERVER
05-25-2023 11:33 PM
I have find the solution for the jetty Server You need Created the servlet in the AppD Controller to catch the BT.
06-05-2023 02:42 PM
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.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form