[Event]
Message “Session is already closed.” is displayed suddenly when I am operating.
Below log is output when event occurs.
[WARN] c.c.s.s.SessionImpl - [] java.io.StreamCorruptedException: invalid type code: EA
java.io.StreamCorruptedException: invalid type code: EA
at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2508) ~[na:1.7.0_55]
・
・
・
at com.caucho.server.session.JavaSessionDeserializer.readObject(JavaSessionDeserializer.java:64) ~[resin.jar:4.0.45]
at com.caucho.server.session.SessionImpl.load(SessionImpl.java:810) ~[resin.jar:4.0.45]
at com.caucho.server.session.SessionImpl.load(SessionImpl.java:746) ~[resin.jar:4.0.45]
at com.caucho.server.session.SessionManager.createSession(SessionManager.java:1440) [resin.jar:4.0.45]
at com.caucho.server.http.AbstractCauchoRequest.createSession(AbstractCauchoRequest.java:720) [resin.jar:4.0.45]
at com.caucho.server.http.AbstractCauchoRequest.getSession(AbstractCauchoRequest.java:645) [resin.jar:4.0.45]
[Occurrence Condition]
This event occurs again only when you are using below version of Resin and session store function is valid.
* Resin 4.0.44
* Resin 4.0.45
* Resin 4.0.46
[Cause]
The cause is the bug of below Resin.
http://bugs.caucho.com/view.php?id=5947 (English)
Failed to process of restoring session from internal database of Resin if session size is large.
[Handling method]
Please update Resin to Resin 4.0.47 or later version or invalidate session store function.
Please change “session_store” of resin.properties as follows to invalidate session store function.
------------------------------
session_store : false
------------------------------
[Notes]
Session store function is the session failover function of Resin.
Session information of server which is stopped is not inherited when session store function is invalidated.
-- Target ------------------------------------------------------------------------
iAP/Accel Platform/All Updates
--------------------------------------------------------------------------------
FAQID:597