In this article we will explain how to configure JENNIFER agent with JBoss 7.
From JBoss 7, they adopt OSGI class loader and added Domain management structure. The following diagram shows the new directory structure of JBoss 7 Standalone and domain.
JBoss AS 7 in domain mode spawns multiple JVMs which build up the domain. Besides the AS instances, two more processes are created: The Domain Controller which acts as management control point of the domain and the Host Controller which interact with the domain controller to control the lifecycle of the AS instances.
The installation process of JENNIFER agent is the same as the installation of previous versions:
After the pre-install script is done, add JENNIFER agent configuration to standalone startup script:
JAVA_OPTS=“-Xbootclasspath/p:/home/jennifer/agent/lwst.jdk.jar:/home/jennifer/agent/lwst.boot.jar -Djennifer.config=/home/jennifer/agent/JB7.conf -javaagent:/home/jennifer/agent/lwst.javaagent.jar $JAVA_OPTS”
JAVA_OPTS=“-Djboss.modules.system.pkgs=org.jboss.byteman,com.javaservice $JAVA_OPTS”
host.xml includes each AS instance configuration. You can set JENNIFER agent setting with element under each instance you wants to monitor.
< server name=“server-one” group=“main-server-group” >
< jvm name=“default” >
< jvm-option >
< option value=“-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n”/ >
< option value=“-Xbootclasspath/p:/home/jennifer/agent/lwst.boot.jar;
/home/jennifer/agent/jennifer.boot.jar;/home/jennifer/agent/lwst.jdk.jar”/ >
<option value=“-Djennifer.config=/home/jennifer/agent/JB7.conf”/ >
< option value=“-javaagent:/home/jennifer/agent/lwst.javaagent.jar”/ >
< /jvm-option >
< /jvm >
< /server >
JAVA_OPTS=“-Djboss.modules.system.pkgs=org.jboss.byteman,com.javaservice $JAVA_OPTS”
In a previous article, JENNIFER Events and Alerts, we gave an introduction to JENNIFER EVENTS system. In this article, we will see how the EVENT system can be used in action. We will see how to analyz...
JENNIFER Events is a flexible notification system that allows the operation teams to receive notification about incidents that take place in a system. JENNIFER Event Rules allows you to configure Even...
Dynamic method profile is a powerful feature in JENNIFER that allows you to increase/decrease the profiling level of a transaction without restarting the application server. First of all, what is a...
What is Deployment Indicator When a new version of the code is deployed in production, JENNIFER can automatically detect this change and display the changed resource in the deployment. A vertical...
Mule is a lightweight Java-based enterprise service bus (ESB) and integration framework developed by MuleSoft. Mule ESB allows developers to connect applications together easily and quickly, enabling...