Chat now with support
Chat with Support

Foglight for Java EE Technologies 5.9.9 - Installation Guide

Install and Configure Foglight for Java EE Technologies Integrate with JBoss Integrate with Apache Tomcat Integrate with WebLogic Domain Startup Scripts Integrate with WebSphere Integrate with Oracle AS Create a Generic Installation for Manual Java EE Agent Integration Manage Java EE Agent Installations, Integrations, and Configurations Managing Java EE Agent Configurations Java EE Installation Management Java EE Integration Configuration FAQ and Troubleshooting Manual Application Server Integrations AppendixB: Managing Permissions for the Java EE Integration Agent Appendix A: Java EE Application Methods

Integrate with JBoss

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.
1
On the navigation panel, under Dashboards, click Application Servers > Administration > Application Servers Administration.
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).
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.
For example, if the JBoss .jar files are located in a lib/endorsed directory, add the following option in the Agent Options box:
‑Dquest.agent.instrument.bootstrap=true
d
Click Next.
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 .
Click Next.
Click Next.
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.

Enabling JTA metrics for JBoss application server 4.2

1
Locate the jbossjta-properties.xml file in your JBoss server/<profile>/conf directory and open it in a text editor.
2
Add the following line to the <properties> element.

Running JBoss with Jetty

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.
1
On the navigation panel, under Dashboards, click Application Servers > Administration > Application Servers Administration.
4
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.

Integrating a Java Service Wrapper Windows Service with a Java EE agent

Windows®: <VERSIONED_SUBDIRECTORY>\bootstrap\<INTEGRATIONID>
UNIX®: <VERSIONED_SUBDIRECTORY>/bootstrap/<INTEGRATIONID>
You can find the <INTEGRATIONID> in the file that the Java EE Integration Agent creates in step 1.
3
Run the integration bat/sh file that was created by the manual installation.
#include <INSTALLATION DIRECTORY>\jee_builds.properties
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.
For example: set.JAVA_HOME=C:\work\jvms\jdk1.5.0_12
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.
and replace <N> with incremented numbers starting after your highest wrapper.java.additional number.
Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating