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!

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...