PDA

View Full Version : Can't store session


jiucai
03-29-2011, 08:20 AM
My application can run at Tomcat , but with resin ,
error like this: anyone can help me out ?


[14:55:05.453] {http://*:8080-3} Can't store session: java.lang.IllegalStateException: SessionImpl[8A243F57605774B6B7D0AF5A339717FD,/business]: can't call getAttribute() when session is no longer valid.
java.lang.IllegalStateException: SessionImpl[8A243F57605774B6B7D0AF5A339717FD,/business]: can't call getAttribute() when session is no longer valid.
at com.caucho.server.session.SessionImpl.getAttribute (SessionImpl.java:301)
at com.caucho.server.webapp.WebApp$WebAppSessionListe ner.sessionDestroyed(WebApp.java:4452)
at com.caucho.server.session.SessionImpl.notifyDestro y(SessionImpl.java:1040)
at com.caucho.server.session.SessionImpl.removeEvent( SessionImpl.java:1017)
at com.caucho.util.LruCache.remove(LruCache.java:618)
at com.caucho.server.session.SessionManager.close(Ses sionManager.java:1758)
at com.caucho.server.webapp.WebApp.stop(WebApp.java:4 267)
at com.caucho.server.webapp.WebApp.destroy(WebApp.jav a:4319)
at com.caucho.env.deploy.DeployController.destroyInst ance(DeployController.java:737)
at com.caucho.env.deploy.DeployController.stopImpl(De ployController.java:722)
at com.caucho.env.deploy.DeployController.restartImpl (DeployController.java:580)
at com.caucho.env.deploy.StartAutoRedeployAutoStrateg y.request(StartAutoRedeployAutoStrategy.java:138)
at com.caucho.env.deploy.DeployController.request(Dep loyController.java:545)
at com.caucho.server.webapp.WebAppVersioningControlle r.startImpl(WebAppVersioningController.java:145)
at com.caucho.server.webapp.WebAppVersioningControlle r.startImpl(WebAppVersioningController.java:45)
at com.caucho.env.deploy.StartAutoRedeployAutoStrateg y.request(StartAutoRedeployAutoStrategy.java:129)
at com.caucho.env.deploy.DeployController.request(Dep loyController.java:545)
at com.caucho.server.webapp.WebAppContainer.getWebApp (WebAppContainer.java:992)
at com.caucho.server.webapp.WebAppContainer.buildInvo cation(WebAppContainer.java:761)
at com.caucho.server.host.Host.buildInvocation(Host.j ava:755)
at com.caucho.server.host.HostContainer.buildInvocati on(HostContainer.java:319)
at com.caucho.server.cluster.Server.buildInvocation(S erver.java:911)
at com.caucho.server.dispatch.InvocationServer.buildI nvocation(InvocationServer.java:247)
at com.caucho.server.dispatch.InvocationServer.buildI nvocation(InvocationServer.java:220)
at com.caucho.server.http.AbstractHttpRequest.buildIn vocation(AbstractHttpRequest.java:1472)
at com.caucho.server.http.AbstractHttpRequest.getInvo cation(AbstractHttpRequest.java:1445)
at com.caucho.server.http.HttpRequest.handleRequest(H ttpRequest.java:779)
at com.caucho.network.listen.TcpSocketLink.dispatchRe quest(TcpSocketLink.java:730)
at com.caucho.network.listen.TcpSocketLink.handleRequ est(TcpSocketLink.java:689)
at com.caucho.network.listen.TcpSocketLink.handleRequ estsImpl(TcpSocketLink.java:669)
at com.caucho.network.listen.TcpSocketLink.handleRequ ests(TcpSocketLink.java:617)
at com.caucho.network.listen.AcceptTask.doTask(Accept Task.java:104)
at com.caucho.network.listen.ConnectionReadTask.runTh read(ConnectionReadTask.java:98)
at com.caucho.network.listen.ConnectionReadTask.run(C onnectionReadTask.java:81)
at com.caucho.network.listen.AcceptTask.run(AcceptTas k.java:67)
at com.caucho.env.thread.ResinThread.runTasks(ResinTh read.java:164)
at com.caucho.env.thread.ResinThread.run(ResinThread. java:130)
[14:55:05.453] {http://*:8080-3} WebApp[production/webapp/default/business,STOPPING] Destroying Spring FrameworkServlet 'mvc'
[14:55:05.468] {http://*:8080-3} WebApp[production/webapp/default/business,STOPPING] Closing Spring root WebApplicationContext

reza
04-01-2011, 09:00 PM
jiucai,

A bug was filed for it here: http://bugs.caucho.com/view.php?id=4471.

Thanks,
Reza