Quantcast
Channel: All AppDynamics Discussions posts
Viewing all articles
Browse latest Browse all 1667

not able to configure app agent for Jboss 7.1.1

$
0
0

Hi All,

 

we are trying to instrument JBoss7.1.1 with app agnet version 4.1.8.5, we have done all the settings as per mentioned in the Appd documents website but after doing all the settings the application was not starting so we rolled back all the changes and then the application started woking fine.

 

below are the settings we made as per the documents,

 

  1. Open the bin/standalone.conf file.
  2. Search for the following line in standalone.conf.

    JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman"
  3. Add the com.singularity and org.jboss.logmanager packages to that line as follows:

    JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman,com.singularity,org.jboss.logmanager"
  4. Add the following to the end of the standalone.conf file in the JAVA_OPTS section.

    -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Xbootclasspath/p:<path_to_jboss_logmanager>/jboss-logmanager-<version>.jar

    Replace <path_to_jboss_logmanager> and <version> with the path and log manager JAR filename for your system. See Making the LogManager Location Dynamic for information on making the path dynamic.

      

  5. In the standalone.sh file, add the following javaagent argument.

    export JAVA_OPTS="$JAVA_OPTS -javaagent:/agent_install_dir/javaagent.jar"

    Put the argument above the following section of standalone.sh

    ...
    whiletrue;do
    if[ "x$LAUNCH_JBOSS_IN_BACKGROUND"= "X"]; then
       # Execute the JVM in the foreground
          eval \"$JAVA\" -D\"[Standalone]\"$JAVA_OPTS \
         \"-Dorg.jboss.boot.log.file=$JBOSS_LOG_DIR/boot.log\" \
         \"-Dlogging.configuration=file:$JBOSS_CONFIG_DIR/logging.properties\" \
          -jar \"$JBOSS_HOME/jboss-modules.jar\" \
  6. Restart the application server. 

plz help us in achiving this instrumentation.

 

 

Regards,

Mandar


Viewing all articles
Browse latest Browse all 1667

Trending Articles