Java (Java Agent, Installation, JVM, and Controller Installation)

cancel
Showing results for 
Search instead for 
Did you mean: 

Appdynamics agent does not start - NoClassDefFoundError org/wildfly/common/net/HostName

Currently, application agents are being installed on a Jboss server which, when the standalone.sh and standalone.conf file are being configured does not start the server and it presents the following error

 

ihopkpeofmhdgdih (1).png

Appdynamics agent does not start - NoClassDefFoundError org/wildfly/common/net/HostName
1 REPLY 1
Highlighted
AppDynamics Team

Thanks for posting the question on the Community.

 

It seems that you need to initialize the JVM, to install the Java Agent on JBoss EAP or JBoss Wildfly, Run the following parameter:

JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=org.jboss.byteman,com.singularity,org"

If you do not initialize the JVM, the installation throws a "class not found" exception.

 

You can find the all installation process on the latest installation document: https://docs.appdynamics.com/display/PRO45/JBoss+and+Wildfly+Startup+Settings#JBossandWildflyStartup...

 

Let me know if this helped you.

 

Many thanks,

Mika