You can use the application server agent setup wizard to configure and integrate the Java EE agent and the Java EE Integration Agent with JBoss® server startup scripts. You must supply the JBoss Home directory for one or more application servers with which you want to integrate. Optionally, you can also specify pre-instrumentation and agent options.
For an overview of the installation and integration process, see Installing the agents .
1 |
On the navigation panel, under Dashboards, click Application Servers > Administration. |
2 |
3 |
4 |
On the Setup Options page, select the type of integration. This example describes how to Setup a new application server integration (the default selection). |
5 |
On the New Integration — Type page, select the type of Java application server you want to integrate with. In this case, select either JBoss on Solaris, Linux, HP-UX, or AIX, or JBoss on Windows, as appropriate. |
a |
The wizard refreshes, indicating that it will use the JBoss Startup Scripts. This option integrates the JBoss run.bat or run.sh startup scripts. |
b |
Click Next. |
a |
Type or select the absolute path to the JBoss Home directory. This is the JBoss installation location on the remote file system. |
b |
Optional — If your application server uses startup scripts with customized names, click the arrow beside Other Options to open a list of script paths and names. Type the custom names in the appropriate boxes. |
c |
Optional — Click the arrow beside Command Line Options to show the agent and pre-instrumentor option boxes. Use these boxes to provide command-line parameters for the agent or pre-instrumentor. |
• |
To add agent options, type them in the Agent Options box. |
• |
To add pre-instrumentation options, type them in the pre-instrumentor Options box. |
d |
Click Next. |
• |
Click New log configuration. The New Log Configuration dialog box opens. |
TIP: If you are uncertain about how to adjust these settings, click Help for an overview of log targets and their purposes. For details, see Creating or editing logging properties . |
11 |
a |
By default, the instrumentation script is assigned a name based on the integration type. For example: JBoss on Windows: ServerRunScript. If you want to customize this name, type the new value in the Name box. |
b |
Click Finish. |
• |
• |
• |
Jetty is a pure Java-based HTTP server and servlet container (application server). If you are running JBoss® with Jetty, make the following changes to the property file agent_type_jboss-<version>.config before you start recording.
The following table lists the <version> names:
1 |
On the navigation panel, under Dashboards, click Application Servers > Administration. |
3 |
On the Java view, click the Agent Configurations tab. |
4 |
In the Agent Configurations view, click Advanced Configurations. |
5 |
Select the version of the Java EE agent that you want to edit. Click Version x.x.x to open a list of compatible versions. |
6 |
Click the name of the agent/java/plugins/jboss-<version>.config for the JBoss version you want to edit, and select Edit. |
TIP: Click Show fully qualified names to see the directory location for the files. Type all or part of the filename in the Search box (for example, jboss-) to locate the file. |
9 |
Click Save. |
1 |
3 |
Run the integration bat/sh file that was created by the manual installation. |
4 |
Open the JSW configuration file in a text editor, and add the following code before the first wrapper.java.additional code: |
a |
Replace <INSTALLATION DIRECTORY> with the absolute path of the Installation Directory. The path can be found on the Installations tab of the Java Administration page (accessible from the Applications Servers Administration dashboard). If the Installation Directory path is specified as a relative path, as it is by default, you may need to examine the agent machine to determine the absolute path. |
b |
If set.JAVA_HOME is not specified earlier in the JSW configuration file, uncomment the second line in the code block above and set <JVMPath> to the absolute path for the JVM that the service uses. |
c |
Replace <INTEGRATIONID> with the value determined in step 2. |
d |
Replace <BOOTSTRAP .JAR FILENAME> with the filename of the bootstrap JAR file created in the <VERSIONED_SUBDIRECTORY>/bootstrap/<INTEGRATIONID> directory by the pre-instrumentation task in step 1. |
5 |
In the JSW configuration file, add the following code after the last existing wrapper.java.additional entry: |
For most configurations of a Tomcat server running as a Windows Service, the Java EE Integration Agent automatically integrates the Java EE agent. Read the Important note below to determine if you are required to complete additional steps to integrate the Java EE agent with a Tomcat server running as a Windows Service.
If you are not required to perform the additional steps, complete the integration procedure (Integrating with Tomcat ), then restart your Tomcat application server. No other steps are required.
|
1 |
On the navigation panel, under Dashboards, click Application Servers > Administration. |
2 |
3 |
In the menu that opens, select Java. The Java — Setup New Application Server Integration wizard opens. |
4 |
On the Setup Options page, select the type of integration. This example describes how to Set up a new application server integration (the default selection). |
5 |
On the New Integration — Type page, select the type of Java application server you want to integrate with. In this case, select Tomcat on Solaris, Linux, HP-UX, or AIX, or Tomcat on Windows. |
a |
b |
Click Next. |
a |
Type or select the absolute path to the Catalina startup script in the Catalina Home box. |
b |
Optional — If your application server uses startup scripts with customized names, click the arrow beside Other Options to open a list of script paths and names. Type the custom names in the appropriate boxes. |
c |
Optional — Click the arrow beside Command Line Options to show the agent and pre-instrumentor option boxes. Use these boxes to provide command-line parameters for the agent or pre-instrumentor. |
• |
To add agent options, type them in the Agent Options box. |
• |
To add pre-instrumentation options, type them in the pre-instrumentor Options box. |
d |
Click Next. |
• |
Click New log configuration. The New Log Configuration dialog box opens. |
TIP: If you are uncertain about how to adjust these settings, click Help for an overview of log targets and their purposes. For details, see Creating or editing logging properties . |
11 |
a |
By default, the instrumentation script is assigned a name based on the integration type. For example: Tomcat on Windows: CatalinaScripts. |
b |
Click Finish. |
The agent starts collecting data after the application server has restarted and the agent is successfully integrated. Use the Application Servers Monitor dashboard to view the application servers status. For more information about the Application Servers Monitor dashboard, see the Foglight for Application Servers User Guide.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center