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!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...