-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello,
we are using ZK 7.0.3 for this project and (sometimes, not always) get this error when restarting tomcat, which leads to the session being lost, which is quite annoying.
It seems to be that something (zk?) puts a ResetableInputStream into the session attributes, but I have no idea when and where? Does anyone have a good idea how this could happen and how to prevent it?
10:43:26.777 [localhost-startStop-1] ERROR org.apache.catalina.session.StandardManager.doLoad (305) - IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.zkoss.io.RepeatableInputStream$ResetableInputStream java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.zkoss.io.RepeatableInputStream$ResetableInputStream at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1354) ~[?:1.7.0_45]
To explain what is happening :
You are trying to write something away (the WriteAbortedException) but some of your objects are not fully serializable.
What does this mean :
Some of the classes (or field of that class) does not implement the serializable
interface.
Greetz Chill.
Asked: 2015-08-20 12:26:10 +0800
Seen: 16 times
Last updated: Aug 20 '15