Configure JIRA or Confluence

For JIRA >= 5.1.8, and Confluence >= 5.3:

  1. Open the startup script (that is, catalina.sh) for editing.
  2. Look for the start command block:
    elif [ "$1" = "start" ] ; then
  3. Add the following Java system property alongside the existing properties in both else blocks:
    -Datlassian.org.osgi.framework.bootdelegation.extra=com.singularity.*
  4. Add the property to the run command block as well to instrument the application started in run mode.
    For example:Run Command Block
  5. Before the comment line 'Execute The Requested Command', add the –javaagent argument to the file as a new Java option:
    • Linux
      JAVA_OPTS="$JAVA_OPTS -javaagent:<agent_home>/javaagent.jar"
    • Windows
      set JAVA_OPTS=%JAVA_OPTS% -javaagent:"Drive:<agent_home>\javaagent.jar"
  6. Restart the application.