IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException:com.test java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.test
SEVERE: Exception loading sessions from persistent storage
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.test
Cause:
You get this error on restarting tomcat. This is caused by classes that are not serializable. Tomcat tries to serialize objects on shutdown and deserialize on a restart.
Solution:
Make your classes serializable or
Turn off this feature in Tomcat by adding this in your webapp's context.xml
<Manager pathname=""></Manager>
0 comments:
Post a Comment