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!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...