Use New Relic Java Agent with Jira


While setup New Relic Java agent in Jira, I found out that there is an extra option ‘-Datlassian.org.osgi.framework.bootdelegation.extra=com.newrelic.*‘ that you need to add into JVM parameters to make New Relic Java Agent to work with Jira. This is due to Jira uses OSGI framework, and the default boot class loader does not load the extra -javaagent options.

Sample:

-javaagent:/opt/newrelic/newrelic.jar -Datlassian.org.osgi.framework.bootdelegation.extra=com.newrelic.* 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s