Mantis - Resin
Viewing Issue Advanced Details
1854 major always 07-05-07 14:30 07-12-07 11:37
remilon  
ferg  
normal  
closed 3.1.2  
fixed  
none    
none 3.1.2  
0001854: Cluster persistent store fails to deserialize sessions after server restart
We are currently trying out the latest Resin snapshot. We've got it currently configured use clusterstore as shown in the documentation. It fails when we do the following:

1. Start resin
2. Hit web page -> new session
3. Restart resin
4. Hit same web page -> exception -> new session

The exact same conf file works fine in resin 3.1.1. That is, the session is deserialized normally in step 4 above. Here is the exception we get:

 com.caucho.hessian.io.HessianProtocolException: unknown code:117 u
[16:56:06.030] at com.caucho.hessian.io.Hessian2Input.error(Hessian2Input.java:2439)
[16:56:06.030] at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1808)
[16:56:06.030] at com.caucho.hessian.io.MapDeserializer.readMap(MapDeserializer.java:114)
[16:56:06.030] at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1462)
[16:56:06.030] at com.caucho.hessian.io.JavaDeserializer$ObjectFieldDeserializer.deserialize(JavaDeserializer.java:375)
[16:56:06.030] at com.caucho.hessian.io.JavaDeserializer.readObject(JavaDeserializer.java:228)
[16:56:06.030] at com.caucho.hessian.io.JavaDeserializer.readObject(JavaDeserializer.java:152)
[16:56:06.030] at com.caucho.hessian.io.SerializerFactory.readObject(SerializerFactory.java:358)
[16:56:06.030] at com.caucho.hessian.io.Hessian2Input.readObjectInstance(Hessian2Input.java:1855)
[16:56:06.030] at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1779)
[16:56:06.030] at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1771)
[16:56:06.030] at com.caucho.hessian.io.CollectionDeserializer.readList(CollectionDeserializer.java:105)
[16:56:06.030] at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1501)
[16:56:06.030] at com.caucho.hessian.io.JavaDeserializer$ObjectFieldDeserializer.deserialize(JavaDeserializer.java:375)
[16:56:06.030] at com.caucho.hessian.io.JavaDeserializer.readObject(JavaDeserializer.java:228)
[16:56:06.030] at com.caucho.hessian.io.JavaDeserializer.readObject(JavaDeserializer.java:152)
[16:56:06.030] at com.caucho.hessian.io.Hessian2Input.readObjectInstance(Hessian2Input.java:1852)
[16:56:06.030] at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1485)
[16:56:06.030] at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1476)
[16:56:06.030] at com.caucho.hessian.io.JavaDeserializer$ObjectFieldDeserializer.deserialize(JavaDeserializer.java:375)
[16:56:06.030] at com.caucho.hessian.io.JavaDeserializer.readObject(JavaDeserializer.java:228)
[16:56:06.030] at com.caucho.hessian.io.JavaDeserializer.readObject(JavaDeserializer.java:152)
[16:56:06.030] at com.caucho.hessian.io.Hessian2Input.readObjectInstance(Hessian2Input.java:1852)
[16:56:06.030] at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1485)
[16:56:06.030] at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1476)
[16:56:06.030] at com.caucho.hessian.io.JavaDeserializer$ObjectFieldDeserializer.deserialize(JavaDeserializer.java:375)
[16:56:06.030] at com.caucho.hessian.io.JavaDeserializer.readObject(JavaDeserializer.java:228)
[16:56:06.030] at com.caucho.hessian.io.JavaDeserializer.readObject(JavaDeserializer.java:152)
[16:56:06.030] at com.caucho.hessian.io.SerializerFactory.readObject(SerializerFactory.java:358)
[16:56:06.030] at com.caucho.hessian.io.Hessian2Input.readObjectInstance(Hessian2Input.java:1855)
[16:56:06.030] at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1779)
[16:56:06.030] at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1771)
[16:56:06.030] at com.caucho.server.session.SessionImpl.load(SessionImpl.java:959)
[16:56:06.030] at com.caucho.server.session.SessionManager.load(SessionManager.java:1518)
[16:56:06.030] at com.caucho.server.cluster.ClusterObject.load(ClusterObject.java:299)
[16:56:06.030] at com.caucho.server.cluster.FileBacking.loadSelf(FileBacking.java:299)
[16:56:06.030] at com.caucho.server.cluster.ClusterStore.load(ClusterStore.java:417)
[16:56:06.030] at com.caucho.server.cluster.ClusterStore.load(ClusterStore.java:372)
[16:56:06.030] at com.caucho.server.cluster.ClusterObject.load(ClusterObject.java:268)
[16:56:06.030] at com.caucho.server.session.SessionImpl.load(SessionImpl.java:738)
[16:56:06.030] at com.caucho.server.session.SessionManager.load(SessionManager.java:1453)
[16:56:06.030] at com.caucho.server.session.SessionManager.getSession(SessionManager.java:1312)
[16:56:06.030] at com.caucho.server.connection.AbstractHttpRequest.createSession(AbstractHttpRequest.java:1463)
[16:56:06.030] at com.caucho.server.connection.AbstractHttpRequest.getSession(AbstractHttpRequest.java:1278)
[16:56:06.030] at com.caucho.server.connection.AbstractHttpRequest.getSession(AbstractHttpRequest.java:1256)
[16:56:06.030] at com.remilon.filters.SessionLoggingFilter.doFilter(SessionLoggingFilter.java:183)
[16:56:06.030] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73)
[16:56:06.030] at com.remilon.filters.ExceptionHandlingFilter.doFilter(ExceptionHandlingFilter.java:33)
[16:56:06.030] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73)
[16:56:06.030] at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:159)
[16:56:06.030] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175)
[16:56:06.030] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240)
[16:56:06.030] at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:424)
[16:56:06.030] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:481)
[16:56:06.030] at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:685)
[16:56:06.030] at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:607)
[16:56:06.030] at java.lang.Thread.run(Thread.java:619)
RedHat Enterprise 4
JDK 1.6
 test.conf-2.xml [^] (6,541 bytes) 07-05-07 14:30

Notes
(0002109)
ferg   
07-12-07 11:37   
hessian/3b1a