Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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
TAGS
Community showcase
Posted in Industry Groups

🤖 A Jira Senior Developer's thoughts on remote pair programming

Hello, Tech enthusiasts! Are you ready for October to begin 🙀? I wanted to share with you an Article I came across from Work/Life (The Atlassian blog) from  a senior developer on the Jira te...

30 views 1 2
View post

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you