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