Use the following procedure to manually configure the Wildfly and JBoss® server startup script for integration with the Java EE agent.
|
2 |
Complete a Generic installation only on Windows or a Generic installation only on Solaris, Linux, HP-UX, or AIX, as described in Creating a Generic Installation for Manual Java EE Agent Integration . |
|
3 |
|
4 |
Set <integrate.cmd/sh> to the name of the integration task you created in step 2. For example: integrate-Generic_installation_only_on_Windows_Install_Configs_and_pre-instrument.cmd. |
|
5 |
Set the QUEST_DEPLOYMENT_DIRECTORY variable to the Installation Directory specified by the Java EE Integration Agent instance activated on this host. In Unix, quote this path if it contains spaces. |
|
6 |
Ensure that your environment does not meet any of the exceptions in the Exception list and then save the new script. |
This section contains instructions for integrating the Java EE agent with a Tomcat Application Server on UNIX® and Windows® operating systems:
The manual integration instructions are OS-specific for the target system:
|
• |
The Java command line includes -Djava.endorsed.dirs=...<tomcat_home>\bin |
|
1 |
Make a copy of your original catalina.sh script. |
|
2 |
Complete a Generic installation only on Windows, as described in Creating a Generic Installation for Manual Java EE Agent Integration . |
|
3 |
Open the catalina.sh script in a text editor and change the following: |
|
4 |
Set <integrate.sh> to the name of the integration task you created in step 2. For example: integrate-Generic_installation_only_on_UNIX_Install_Configs_and_pre-instrument.cmd. |
|
5 |
Set the QUEST_DEPLOYMENT_DIRECTORY variable to the Deployment Directory specified by the Java EE Integration Agent instance that is activated on this host. |
|
1 |
Make a copy of the catalina.bat script. |
|
2 |
Complete a Generic installation only on Windows, as described in Creating a Generic Installation for Manual Java EE Agent Integration . |
|
3 |
Open the catalina.bat script in a text editor and update the script. |
|
4 |
Set <integrate.cmd> to the name of the integration task you created in step 2. For example: integrate-Generic_installation_only_on_Windows_Install_Configs_and_pre-instrument.cmd. |
|
5 |
Set the QUEST_DEPLOYMENT_DIRECTORY variable to the Installation directory specified by the Java EE Integration Agent instance activated on this host. |