NotSerializableException on Shutdown

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

Logs contain exceptions similar to this:

StandardManager[/confluence]: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException: bucket.search.lucene.SearchWordsLister
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: bucket.search.lucene.SearchWordsLister
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)

原因

This is because Confluence's HTTP sessions may contain objects which cannot be serialized to disk. Tomcat tries to serialize existing sessions by default during shutdown.

ソリューション

You can add the following configuration parameter into Tomcat's server.xml file between the <Context> tags to disable this:

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

For more information regarding the saveOnRestart parameter, please refer to the Server Configuration Reference for the Manager Component.

 

 

 

 

 

 

 

 

 

 

 

 

 

   

 

 

 

 

 

 

 

 

 

 

 

 

 

最終更新日 2016 年 3 月 30 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.