I am trying to install newrelic agent on my linux server and following https://docs.newrelic.com/docs/agents/java-agent/installation/install-java-agent and stuck in step 3 of install the java agent - includeJava agent with a JVM argument.
I am new to this not sure how to pass the -javaagent argument on Tomcat, pls see below and could you pls let me know where to place below line in catalina.sh file.
Configure your catalina.sh file to use the New Relic agent using the JAVA_OPTS environment variable:
export JAVA_OPTS="$JAVA_OPTS -javaagent:/full/path/to/newrelic.jar"
Thanks!