persistence ioexceptions during tomcat confluence startup

Thursday, 14 August 2008 at 12:05 UTC 1 comment

i just upgraded my wiki to the new confluence 2.9 from Atlassian.

Great software!

i got several runtime exception with confluence at tomcat startup:

first tomcat restart


INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Aug 14, 2008 10:58:32 AM org.apache.catalina.session.StandardManager doLoad
SEVERE: ClassNotFoundException while loading persisted sessions: java.lang.ClassNotFoundException: com.atlassian.plugin.repository.model.TransferStatus
java.lang.ClassNotFoundException: com.atlassian.plugin.repository.model.TransferStatus
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604)
at org.apache.catalina.util.CustomObjectInputStream.resolveClass(CustomObjectInputStream.java:78)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1441)

second tomcat restart


INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Aug 14, 2008 11:31:31 AM org.apache.catalina.session.StandardManager doLoad
SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.atlassian.bonnie.search.SearchWordsLister
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.atlassian.bonnie.search.SearchWordsLister
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1333)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1441)

Found a note in confluence documentation to prevent session persistance:

Set org.apache.catalina.session.PersistentManager to false between Context tomcat server.xml:


Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false"

Now startup exception are gone.

Advertisements

Entry filed under: programming. Tags: , .

Gorbatchev about the war in South Ossetia Updated: Netbeans 6.5 beta now available

1 Comment Add your own

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Categories


%d bloggers like this: