Confluence crashes on startup when trying to integrate with Crowd 2.5.3

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

Upgrading to 3.5 fixed this issue.

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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

301 views 11 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you