Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006048 [Resin] major always 03-31-17 03:31 05-31-17 09:55
Reporter gattu View Status public  
Assigned To ferg
Priority normal Resolution open Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.52 Product Version 4.0.50
  Product Build
Summary 0006048: Session persistence and deserialization
Description I am trying to achieve fault tolerance using session persistence for my app. The setup is nginx -> resin(with 3 serveres). I login to my app and gets connected to one of the server, on successful login I bounce the app and just refresh the page.. and I see I am logged out with exception pasted in additional information below. In short it says :

java.io.StreamCorruptedException: invalid type code: 00
Steps To Reproduce
Additional Information [14:38:25.536] {resin-port-dev:8081-93} java.io.StreamCorruptedException: invalid type code: 00
                                                            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1563)
                                                            at java.io.ObjectInputStream.readObject(ObjectInputStream.java:422)
                                                            at com.caucho.server.session.JavaSessionDeserializer.readObject(JavaSessionDeserializer.java:68)
                                                            at com.caucho.server.session.SessionImpl.load(SessionImpl.java:810)
                                                            at com.caucho.server.session.SessionImpl.load(SessionImpl.java:747)
                                                            at com.caucho.server.session.SessionManager.createSession(SessionManager.java:1444)
                                                            at com.caucho.server.http.AbstractCauchoRequest.createSession(AbstractCauchoRequest.java:720)
                                                            at com.caucho.server.http.AbstractCauchoRequest.getSession(AbstractCauchoRequest.java:645)
                                                            at com.caucho.server.http.AbstractCauchoRequest.getSession(AbstractCauchoRequest.java:620)
                                                            at org.apache.struts.action.ActionServlet.processLocale(ActionServlet.java:1759)
                                                            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1499)
                                                            at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
                                                            at javax.servlet.http.HttpServlet.service(HttpServlet.java:120)
                                                            at javax.servlet.http.HttpServlet.service(HttpServlet.java:97)
                                                            at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:109)
                                                            at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:156)
                                                            at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:95)
                                                            at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:290)
                                                            at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:838)
                                                            at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1353)
                                                            at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1309)
                                                            at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1293)
                                                            at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1201)
                                                            at com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:997)
                                                            at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:117)
                                                            at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:93)
                                                            at com.caucho.network.listen.SocketLinkThreadLauncher.handleTasks(SocketLinkThreadLauncher.java:169)
                                                            at com.caucho.network.listen.TcpSocketAcceptThread.run(TcpSocketAcceptThread.java:61)
                                                            at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
                                                            at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
Attached Files

- Relationships

- Notes
(0006746)
gattu
04-12-17 23:41

Any update?
 
(0006756)
ferg
05-31-17 09:55

This should be resolved with the database fixes in 4.0.52.
 

- Issue History
Date Modified Username Field Change
03-31-17 03:31 gattu New Issue
04-12-17 23:41 gattu Note Added: 0006746
05-31-17 09:55 ferg Note Added: 0006756
05-31-17 09:55 ferg Assigned To  => ferg
05-31-17 09:55 ferg Status new => closed
05-31-17 09:55 ferg Fixed in Version  => 4.0.52


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker