Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence crashes on startup when trying to integrate with Crowd 2.5.3

Sam Kenny
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 4, 2013

We have followed the steps online to integrate Crowd 2.5.3 and Confluence 3.3. When try and restart Confluence it crashes with the exceptions below. We've traced it through and it appears to happen as soon as we copy crowd-integration-client-2.5.3.jar into CONFLUENCE confluence WEB-INF lib

Any ideas on what could be the cause of this?

INFO: Initialization processed in 1295 ms

Jan 4, 2013 5:29:33 PM org.apache.catalina.core.StandardService start

INFO: Starting service Tomcat-Standalone

Jan 4, 2013 5:29:33 PM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/6.0.14

2013-01-04 17:29:39,380 INFO main com.atlassian.confluence.lifecycle context

Initialized Starting Confluence 3.3 (build #1911)

2013-01-04 17:29:45,786 INFO main atlassian.plugin.manager.DefaultPluginManag

er init Initialising the plugin system

2013-01-04 17:29:46,255 INFO main atlassian.plugin.manager.DefaultPluginManag

er init Plugin system started in 0:00:00.469

2013-01-04 17:29:46,973 ERROR main atlassian.confluence.setup.ConfluenceConfi

gurationListener contextInitialized An error was encountered while bootstrappin

g Confluence (see below):

Error creating bean with name 'com.atlassian.confluence.setup.webwork.XWorkConfi

gurationInitialiser' defined in class path resource bootstrapContext.xml : Invo

cation of init method failed; nested exception is java.lang.NoClassDefFoundError

: org/springframework/beans/factory/Aware

org.springframework.beans.factory.BeanCreationException: Error creating bean wit

h name 'com.atlassian.confluence.setup.webwork.XWorkConfigurationInitialiser' de

fined in class path resource bootstrapContext.xml : Invocation of init method f

ailed; nested exception is java.lang.NoClassDefFoundError: org/springframework/b

eans/factory/Aware

Caused by: java.lang.NoClassDefFoundError: org/springframework/beans/factory/Awa

re

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)

at java.lang.ClassLoader.defineClass(ClassLoader.java:616)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14

1)

at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp

ClassLoader.java:1817)

at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa

der.java:872)

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa

der.java:1325)

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa

der.java:1204)

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)

at java.lang.ClassLoader.defineClass(ClassLoader.java:616)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14

1)

at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp

ClassLoader.java:1817)

at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa....

2 answers

1 accepted

0 votes
Answer accepted
Sam Kenny
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 13, 2013

Upgrading to 3.5 fixed this issue.

3 votes
JohnA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2013

Hi Sam,

I believe the problem here is that Confluence 3.3 isn't compatible with Crowd 2.5.x because the Spring versions changed, which I believe would explain the error "Caused by: java.lang.NoClassDefFoundError: org/springframework/beans/factory/Aware" as this is certainly suggesting that there is a missing Spring-related class. Therefore I would suggest trying to hook up your Confluence to Crowd 2.4.x as these are still running on the same Spring version.

All the best,
John

Sam Kenny
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 9, 2013

Thanks. Its much asier to actually upgrade Confluence to 3.5(.13) - so we're going to do that.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events