Naanavanalla
Naanavanalla

Reputation: 1522

Installing stackify in linux

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?

Upvotes: 0

Views: 245

Answers (1)

Brownlogic
Brownlogic

Reputation: 11

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.

Upvotes: 1

Related Questions