After configuring the Java agent with Atlassian application, some of the features and or plugins are not working as expected.

Document ID:  TEC1601606
Last Modified Date:  06/13/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA Application Performance Management

Releases

  • CA Application Performance Management:Release:10.0
  • CA Application Performance Management:Release:10.1
  • CA Application Performance Management:Release:10.2
  • CA Application Performance Management:Release:10.3
  • CA Application Performance Management:Release:10.5
  • CA Application Performance Management:Release:10.5.1
  • CA Application Performance Management:Release:10.5.2

Components

  • APM AGENTS:APMAGT
  • WILY INTROSCOPE:APMINT
  • INTROSCOPE:APMISP
  • APPLICATION PERFORMANCE MANAGEMENT:WLYAPM
Problem:

 After configuring the Java agent with Atlassian OSGi-based applications, some of the features or plugins may not work,   This may include but is not limited to Confluence and or Bitbucket.

Environment:
All Supported APM Releases.
Cause:

 OSGI-based application often have conflicts with the APM Java agent in the bootloader area.   It is typically required to add some sort of exception to avoid these conflicts.

 

Workaround:

In addition to the -javaagent and -Dcom.wily.introscope.agentProfile jvm options,  you need to add the below highligted 3 additional jvm arguments as follows:

 

1. Stop the appserver
2. Update your setenv.sh tomcat startup script as below:
 
CATALINA_OPTS="-javaagent:<wily_home>/Agent.jar ${CATALINA_OPTS}"
CATALINA_OPTS="-Dcom.wily.introscope.agentProfile=<wily_home>/core/config/IntroscopeAgent.profile ${CATALINA_OPTS}"
CATALINA_OPTS="-Datlassian.org.osgi.framework.bootdelegation=com.wily,com.wily.*,sun.*,org.w3c.*,org.xml.sax.*,org.apache.xerces.*,com.sun.org.apache.xalan.*, org.apache.xml,org.apache.xml.*,javax.xml,javax.xml.*,com.sun,com.sun.*org.apache.xalan,org.apache.xalan.*${CATALINA_OPTS}"
CATALINA_OPTS="-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl${CATALINA_OPTS}"
CATALINA_OPTS="-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl${CATALINA_OPTS}"
 
3. Start the Appserver

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >