Changes for page Tomcat Installation

Last modified by Thomas Mortagne on 2024/04/15

From version 20.1
edited by HoaniCross
on 2013/05/28
Change comment: Added a missing permission to have the macro working properly.
To version 21.1
edited by Vincent Massol
on 2013/06/13
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.HoaniCross
1 +XWiki.VincentMassol
Content
... ... @@ -174,6 +174,19 @@
174 174  org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH
175 175  {{/code}}
176 176  
177 +== NotSerializableException ==
178 +
179 +If you get the following:
180 +
181 +{{code}}
182 +SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.xwiki.model.internal.reference.LocalStringEntityReferenceSerializer
183 +java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.xwiki.model.internal.reference.LocalStringEntityReferenceSerializer
184 + at java.io.ObjectInputStream.readObject0(Unknown Source)
185 + at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
186 +{{/code}}
187 +
188 +This means that on startup Tomcat tries to load saved Sessions and fails to do so. In this case it fails because some non-serializable object was put in the Servlet Session. To work around the issue [[you can tell Tomcat to not save sessions>>http://dev-answers.blogspot.fr/2007/03/how-to-turn-off-tomcat-session.html]].
189 +
177 177  == SEVERE: Error listenerStart ==
178 178  
179 179  If you get this error in your Tomcat logs then you'll need to enable finer-grained logging configuration to see what's the problem. For Tomcat 6.x this involves copying the following content in a ##WEB-INF/classes/logging.properties## file:

Get Connected