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
06-11-2020 02:29 AM - edited 06-11-2020 02:32 AM
Pease check, Thanks
root@ubuntu:/opt/machineagent# ./bin/machine-agent
Using java executable at /usr/bin/java
Using Java Version [11.0.7] for Agent
Using Agent Version [Machine Agent v20.5.1-2635 GA compatible with 4.4.1.0 Build Date 2020-05-27 21:53:51]
ERROR StatusLogger Reconfiguration failed: No configuration found for '8bcc55f' at 'null' in 'null'
[INFO] Agent logging directory set to: [/opt/machineagent/logs]
Could not start up the machine agent due to: javax/annotation/PreDestroy
Please see startup.log in the current working directory for details.
root@ubuntu:/opt/machineagent# cat startup.log
Thu Jun 11 09:30:03 UTC 2020
java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
at com.appdynamics.voltron.AppLifecycleModule.<clinit>(AppLifecycleModule.java:53)
at com.appdynamics.voltron.FrameworkBootstrap.start(FrameworkBootstrap.java:157)
at com.appdynamics.voltron.FrameworkBootstrap.startAndRun(FrameworkBootstrap.java:120)
at com.appdynamics.voltron.FrameworkApplication.start(FrameworkApplication.java:31)
at com.appdynamics.agent.sim.Main.startSafe(Main.java:62)
at com.appdynamics.agent.sim.bootstrap.Bootstrap.main(Bootstrap.java:45)
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 6 more
Solved! Go to Solution.
06-11-2020 08:38 AM
It is supporting only for java 8 , once I changed it is working fine.
root@ubuntu:/opt/machineagent# ./bin/machine-agent
Using java executable at /usr/bin/java
Using Java Version [1.8.0_252] for Agent
Using Agent Version [Machine Agent v20.5.1-2635 GA compatible with 4.4.1.0 Build Date 2020-05-27 21:53:51]
ERROR StatusLogger Reconfiguration failed: No configuration found for '33909752' at 'null' in 'null'
[INFO] Agent logging directory set to: [/opt/machineagent/logs]
Machine Agent Install Directory :/opt/machineagent
Machine Agent Temp Directory :/opt/machineagent/tmp
Tasks Root Directory :/opt/machineagent/controlchannel
Redirecting all logging statements to the configured logger
Started AppDynamics Machine Agent Successfully.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form