Support & Documentation
Follow

Installing for Java JVM

If you have not already installed an agent on a server where your app lives, please see our Installation Documentation. Once the agent has been installed, please add the following line to the corresponding config file depending on your installation:

Tomcat Installation (6.x, 7.x, 8.x)

  • Locate the catalina.sh file and add:
# Stackify Java APM+
CATALINA_OPTS="$CATALINA_OPTS -javaagent:/usr/local/stackify/stackify-java-apm/stackify-java-apm.jar"
  • Restart the Tomcat service

JBoss AS Installation (6.x)

  • Locate the standalone.conf file and add:
# Stackify Java APM+
JAVA_OPTS="$JAVA_OPTS -javaagent:/usr/local/stackify/stackify-java-apm/stackify-java-apm.jar"
  • Restart the JBoss service

JBoss AS Installation (7.x)

  • Locate the standalone.conf file and add:
# Stackify Java APM+
JAVA_OPTS="$JAVA_OPTS -javaagent:/usr/local/stackify/stackify-java-apm/stackify-java-apm.jar" JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=com.stackify.apm"
  • Restart the JBoss service

WildFly Installation (8.x,9.x,10.x)

  • Locate the standalone.conf file and add:
-javaagent:/usr/local/stackify/stackify-java-apm/stackify-java-apm.jar
  • Add the Stackify APM package name com.stackify.apm to the existing -Djboss.modules.system.pkgs property:
JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=[Existing Value(s)],com.stackify.apm"
  • Restart WildFly

Jetty Installation (8.x, 9.x)

  • Locate the jetty.sh file and add:
# Stackify Java APM+
JAVA_OPTIONS="$JAVA_OPTIONS -javaagent:/usr/local/stackify/stackify-java-apm/stackify-java-apm.jar"
  • Restart Jetty

To see a list of frameworks that Stackify Java APM+ currently supports, please see this article.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk