MissingSessionException

From: Andrey Razumovsky (razumovsky.andre..mail.com)
Date: Wed Jul 23 2008 - 04:58:37 EDT

  • Next message: Andrey Razumovsky: "Re: How to get dbEntityName from a transient object?"

    Hello!

    Part of me says that I've seen the same issue before, but I can't find it
    now.
    I'm using ROP, Tomcat, Postgresql 8. I get MissingSessionException [No
    session associated with request.] in two cases:
    1. When I restart a server and continue work with client -- that's expected.
    2. When client (context) stays free without any requests for some time. I
    don't know how much time this timeout is, but I think 1 hour is enough.

    I want to get rid of #2 issue, because it's quite irritating and can often
    occur to
    end user. Probably that can be fixed by setting some properties to postres?

    Thanks in advance,
    Andrey

    Caused by: org.apache.cayenne.remote.service.MissingSessionException:
    [v.3.0M4 May 18 2008 16:32:02] [v.3.0M4 May 18 2008 16:32:02] No session
    associated with request.
    at
    org.apache.cayenne.remote.service.BaseRemoteService.processMessage(BaseRemoteService.java:146)
    at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
    com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:157)
    at com.caucho.hessian.server.HessianServlet.service(HessianServlet.java:365)
    at nic.cayenne.service.NicHessianServlet.service(NicHessianServlet.java:42)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
    at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)



    This archive was generated by hypermail 2.0.0 : Wed Jul 23 2008 - 04:59:07 EDT