bwcole

Atlassian Confluence 6.1.0 - CA APM 10.0 Tomcat Agent

Discussion created by bwcole on Jun 16, 2017
Latest reply on Sep 5, 2017 by SergioMorales

Does anyone see something in the below that I can try, I need to correct, or any additional logging that might help determine what might help work around this issue?

 

 

We are upgrading our Confluence to 6.1.0 and we currently are running CA APM 10.0.0.12.

--------------------------
Server Information
--------------------------
Application Server: Apache Tomcat/8.0.41
Servlet Version: 3.1

jvmVendor = Oracle Corporation
workingDirectory = E:\Atlassian\Confluence610
javaVersion = 1.8.0_112

operatingSystem = Windows Server 2012 R2 6.3

 

We have two errors during startup in the Atlassian logs:

 

2017-06-16 10:25:40,629 ERROR [Caesium-1-4] [atlassian.scheduler.core.JobLauncher] launchAndBuildResponse Scheduled job with ID 'conversionLoader' failed due to binary incompatibilities
java.lang.NoClassDefFoundError: javax/print/PrintService
at asposewobfuscated.zzGC.<init>(Unknown Source)

 

2017-06-16 10:27:24,791 WARN [localhost-startStop-6] [confluence.util.profiling.DurationThresholdWarningTimingHelperFactory] logMessage Execution time for publishing event com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent@ff07e58 took 8233 ms (warning threshold is 5000 ms)
2017-06-16 10:27:24,899 ERROR [localhost-startStop-6] [atlassian.confluence.setup.ConfluenceListableBeanFactory] destroyBean Destroy method on bean with name 'boostingQueryFactory' threw an exception
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Unable to create a tracker when osgi is not running
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)
at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112)

 

In the IntroscopeAgent log, turned to debug, we receive the following style errors:

6/16/17 10:23:23 AM EDT [VERBOSE] [IntroscopeAgent.Agent] Skipping invalid class name:org/hibernate/boot/jaxb/hbm/spi/package-info

 

and have created a skip file with the following directives:

SkipPackagePrefix: com.atlassian.confluence
SkipPackagePrefix: com.atlassian.plugins
SkipPackagePrefix: com.atlassian.plugin
SkipPackagePrefix: org.hibernate.boot
SkipPackagePrefix: com.sun.research.ws.wadl
SkipPackagePrefix: com.google.common.collect
SkipPackagePrefix: bucket.core.persistence.hibernate.schema
SkipPackagePrefix: com.atlassian.crowd
SkipPackagePrefix: com.atlassian.event
SkipPackagePrefix: com.atlassian.hibernate
SkipPackagePrefix: com.atlassian.vcache
SkipPackagePrefix: org.hibernate.internal
SkipPackagePrefix: org.hibernate.metamodel

 

We have tried to adjust the bootloader sequence with the following within the Windows Java service wrapper:

 

-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
-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.*
-Dcom.wily.introscope.agentProfile="e:\\atlassian\\confluence610\\wily\\core\\config\\IntroscopeAgent.profile"
-javaagent:"e:\\atlassian\\confluence610\\wily\\Agent.jar"

 

But we are still getting the Atlassian errors and we are still seeing the following invalid class name errors in the introscopeagent.log

6/16/17 10:23:23 AM EDT [VERBOSE] [IntroscopeAgent.Agent] Skipping invalid class name:org/hibernate/boot/jaxb/hbm/spi/package-info
6/16/17 10:25:47 AM EDT [VERBOSE] [IntroscopeAgent.Agent] Skipping invalid class name:com/sun/research/ws/wadl/package-info

 

Even with both were in the skip directives for package prefix.

 

CA Support Case:

Case Comment 00768835 - Atlassian Confluence - 6.1.0 - "Could not initialize class"

 

 

 

Thank you,

 

Billy

Outcomes