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.
You can use the Java EE Integration Agent to integrate the Java EE agent with WebLogic® domain startup scripts. Supply a description and the domain home path for the application server with which you want to integrate. If you are integrating with WebLogic running as a Windows® Service, specify the name of the Windows Service.
|
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 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 WebLogic on Solaris, Linux, HP-UX, or AIX, or WebLogic on Windows. |
|
a |
|
Integrates a WebLogic Server or NodeManager Windows Service. | |
|
Integrates the startWebLogic.sh/.cmd scripts within a WebLogic Domain (DOMAIN_HOME/bin/startWebLogic). | |
|
Integrates the startNodeManager.sh/.cmd scripts within a WebLogic installation (WL_HOME/server/bin/startNodeManager). | |
|
Integrates the startManagedWebLogic.sh/.cmd scripts within a WebLogic 12.1.1 or earlier installation (WL_HOME/common/bin/startManagedWebLogic). | |
|
Integrates the startWLS script within a WebLogic 10.0 or earlier installation (WL_HOME/server/bin/startWLS). | |
|
c |
Click Next. |
|
a |
For most WebLogic integrations, type or select the absolute path to the WebLogic Home directory. WebLogic Home is the installation directory of a particular WebLogic version. |
|
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. |
|
• |
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 . |
|
a |
To accept the default directory, leave the Directory name box blank. |
|
b |
Click Next. |
|
a |
By default, the instrumentation script is assigned a name based on the integration type. For example: WebLogic on Windows: startWebLogic. |
|
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.
Before you begin remote agent integration with an IBM® WebSphere® application server, first review the following sections:
Next, follow the procedure in Integrating with WebSphere startup scripts , as appropriate for your system.
The following guidelines identify the components in a WebSphere® domain that require instrumentation to ensure that the Nexus can do a full data collection.
|
• |
To collect WebSphere metrics on the average size of an HTTP session, enable Average Size (b) Current in the Show columns list and then restart your WebSphere application server using the -Dquest.configfilter.httpsessionsize=true command. For more information about show and hide columns, see the Foglight for Application Servers User Guide. |
|
• |
For WebSphere Servers federated in a WebSphere Cell:
|
• |
Each Node agent must be integrated with the agent, and must remain running during the monitored period. Any interruption in the service of an instrumented nodeagent results in incomplete data collection, and possible false alarms. Individual application servers started by an instrumented Node agent are instrumented automatically. |