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. 

Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...