Hi,
I was instanlated AppServerAgent and trying to configure in Jboss-7 server. I have done below configurations,
standalone.conf:
JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman,com.singularity,org.jboss.logmanager"
standalone.conf.bat:
set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.system.pkgs=org.jboss.byteman,com.singularity"
standalone.bat
"%JAVA%" -javaagent:D:/Public/z001600/AppServerAgent/javaagent.jar %JAVA_OPTS% ^
"-Dorg.jboss.boot.log.file=%JBOSS_HOME%\standalone\log\boot.log" ^
"-Dlogging.configuration=file:%JBOSS_HOME%/standalone/configuration/logging.properties" ^
-jar "%JBOSS_HOME%\jboss-modules.jar" ^
Also added below entries in VM aruguments,
-javaagent:D:/Public/z001600/AppServerAgent/javaagent.jar -Djboss.modules.system.pkgs=org.jboss.byteman,com.singularity,org.jboss.logmanager
But while accesing my application i am getting below exception
java.lang.NoClassDefFoundError: com/singularity/ee/agent/appagent/entrypoint/bciengine/FastMethodInterceptorDelegator
Could you please help me to solve this problem
Thanks in advance for your support.
Regards,
RAM
Hi,
We understood that you have followed the steps as suggested in docs:
Can you please provide the following details:
- exact jboss version is it jboss 7.0.0 or 7.1.x?
- are you using latest appserver agent version?
- Can you remove the additional settings you did in VM args and restart the jboss server and see how it goes?
If the issue still persists please send the standalone.bat , standalone.conf.bat and standalone.conf files for our reference?
Regards,
Arun
I'm having the same error with Wildfly 8.2:
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: com/singularity/ee/agent/appagent/entrypoint/bciengine/FastMethodInterceptorDelegatorBoot
I have just downloaded the agent a few minutes ago and here is my standalone.conf.bat in which I define the javaagent:
set "JAVA_OPTS=-Xms256m -Xmx2048m -Djava.awt.headless=true"
set "JAVA_OPTS=%JAVA_OPTS% -Djava.net.preferIPv4Stack=true"
set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.system.pkgs=org.jboss.byteman"
set "JAVA_OPTS=%JAVA_OPTS% -agentlib:jdwp=transport=dt_socket,address=7777,server=y,suspend=n"
set "JAVA_OPTS=%JAVA_OPTS% -javaagent:j:/dev/apps/AppDynamics/4.0.0.0/javaagent.jar"
Hi,
Can you update below jvm arg as follows and see how it goes:
-Djboss.modules.system.pkgs=
Regards,
Arun
Hi, Glad to hear that news from you, Please feel to raise new queries if you see any other issues