cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot Start Machine Agent in a Free SAAS Trial Environment

Andre.Rossouw
Explorer

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

1 REPLY 1

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.