Go to $SPRING_TC_HOME
, choose the Tomcat instance ($CATALINA_BASE) you would like to run.
Open the $CATALINA_BASE/conf/wrapper.conf
configuration file for editing.
In the Java Additional Parameters section, add the additional wrapper.java.additional.*
properties:
wrapper.java.additional.10=-javaagent:$AGENT_PATH_UNIX
Use the $SPRING_TC_HOME/tcruntime-ctl.bat
script to start Tomcat instances as usual.