0

The installation guide of Stackify states that we have to modify the catalina.sh of tomcat file to add the java agent. But in a spring-boot app, where can I find the tomcat location to modify the file.

I changed the application.properties file to set the custom location for tomcat by setting server.tomcat.basedir.

How can I change the catalina.sh file now?

Naanavanalla
  • 1,412
  • 2
  • 27
  • 52

1 Answers1

1

Should be able to do the command cd $CATALINA_HOME/bin to get to the folder that contains the catalina.sh. After that you can add CATALINA_OPTS="$CATALINA_OPTS -javaagent:enter_path_stackify_apm_jar" to it.

Brownlogic
  • 11
  • 1