Splunk AppDynamics

Cannot Start Machine Agent in a Free SAAS Trial Environment

CommunityUser
Splunk Employee
Splunk Employee

Hi there,

I installed the MachineAgent-4.5.7.1975 on my MAC Mojave 10.14.3.

My Java env:

java version "11.0.1" 2018-10-16 LTS

Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)

Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)

I am currently working on a free SaaS trail version.

When trying to start the agent I am getting the following error:

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:61)

        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:583)

        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)

        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)

        ... 6 more

What am I doing wrong here?

Thanks in advance

Labels (1)
0 Karma

abdelwahab_gued
Engager

Au niveau du bin  utiliser cette commande pour démarrer l'agent : cscript bin\machine-agent.vbs

Translation provided by Google: "At bin level use this command to start the agent"

^ Post edited by @Ryan.Paredez to provide a translation of the above text. 

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...