Splunk AppDynamics

Jetty Servver

vishal_patil1
Explorer

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

Labels (1)
0 Karma
1 Solution

vishal_patil1
Explorer

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

View solution in original post

iamryan
Community Manager
Community Manager

Hi @vishal.patil,

Thank you for following up and sharing the solution. 

0 Karma

vishal_patil1
Explorer

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

vishal_patil1
Explorer

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

0 Karma

iamryan
Community Manager
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...

0 Karma

vishal_patil1
Explorer

[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]

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...