Tomcat
To start using Source++, first add an additional parameter to the JAVA_OPTS
configuration variable in the WAR file.
Configure Tomcat for Source++ Probe⚓︎
-
Copy the following agent path configuration:
1
-agentpath:<install_dir>/spp-probe-0.4.6.jar
- Insert relevant values for each of the parameters, as follows: -
install_dir
is the path where the probe is saved -tomcat-path
is the path to the Tomcat project -app-name.war
is the name of the war file of the project.
- Insert relevant values for each of the parameters, as follows: -
-
Paste the agent path as an additional parameter to the JAVA_OPTS variable in your WAR file.
-
Restart the Tomcat server to apply the configuration:
1 2
./catalina.sh stop ./catalina.sh start
Note
- This configuration enables the Source++ Probe to run every time the webserver restarts.
Linux⚓︎
- Change the first line of tomcat/bin/catalina.sh.
1 |
|
Windows⚓︎
- Change the first line of tomcat/bin/catalina.bat.
1 |
|
Last update:
May 19, 2022