Exception after moving from WebSphere to Tomcat

I have moved the Confluence system from a WebSphere Environment to one with Tomcat. In WebSphere however the version is 2.10.2, which is no longer available. Thus on Tomcat I installed/configured 2.10.4.

The pages seem to load fine except for images on the pages. When trying to render them I see the following exception:

Apr 23, 2013 3:32:43 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet action threw exception
java.lang.ClassCastException: com.atlassian.confluence.user.PersonalInformation cannot be cast to com.atlassian.confluence.pages.AbstractPage
at com.atlassian.confluence.spaces.DefaultSpaceManager.getSpaceFromPageId(DefaultSpaceManager.java:590)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)

I have to reupload the images from the new 2.10.4 version and then they render fine (but then they fail with the same exception when viewed from the old 2.10.2 environment.

I do have a confluence-2.10.2.war file for the old version, but when downloading the new verions zip file there are binaries included which I don't have in the war file.

My questions are:

1) Is there a step I am missing which is causing this exception to occur? I have looked over

the steps for migrating from 2.10.2 to 2.10.3/4 but I don't see anything which could alleviate the exception.

2) Is it possible to deploy just the 2.10.2 war file without the binaries into Tomcat?

Thank you for your time.

1 answer

This widget could not be displayed.

If you still have your Websphere environment available you can first update it to 2.10.4 and then move it to the Tomcat environment, maybe that will help.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

132 views 0 9
Read article

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