Hi

sounds normal since the app is not deployed you can't use session scope
beans (session handling is probably not yet here)

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/7/29 zmirc <[email protected]>

> Great! That doesn't appear anymore, but with build 29.07 it seems to be a
> new
> error.
>
> Scenario:
> 1 - Tomee is closed.
> 2 - Deploy app and start Tomee.
> 3 - Before deployment is 100% done (probably around 80% from a time
> perspective), a request is made to the app (a HTTP url is accessed)
> 4 - The request doesn't return anything. It's normal, the container didn't
> finish starting.
> 5 - Container & app are 100% ready.
> 6 - I remake the same request and I get the following error. The error
> appears just once. (If I repeat all steps, I can get it again, but it
> happens just once after Tomee & app are 100% ready)
>
> I hope my description helps...
>
> Jul 29, 2013 10:06:17 AM org.apache.openejb.cdi.CdiAppContextsService
> endRequest
> SEVERE: getAttribute: Session already invalidated
> java.lang.IllegalStateException: getAttribute: Session already invalidated
>         at
>
> org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:1165)
>         at
>
> org.apache.tomee.catalina.cdi.SessionNormalScopeBeanHandler$UpdateInfo.updateBean(SessionNormalScopeBeanHandler.java:99)
>         at
>
> org.apache.tomee.catalina.cdi.SessionNormalScopeBeanHandler$1$1.run(SessionNormalScopeBeanHandler.java:52)
>         at
>
> org.apache.openejb.cdi.CdiAppContextsService.endRequest(CdiAppContextsService.java:109)
>         at
>
> org.apache.openejb.cdi.CdiAppContextsService.destroyRequestContext(CdiAppContextsService.java:266)
>         at
>
> org.apache.openejb.cdi.CdiAppContextsService.endContext(CdiAppContextsService.java:159)
>         at
>
> org.apache.openejb.server.httpd.EndWebBeansListener.requestDestroyed(EndWebBeansListener.java:109)
>         at
>
> org.apache.catalina.core.StandardContext.fireRequestDestroyEvent(StandardContext.java:6137)
>         at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:207)
>         at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
>         at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>         at
>
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
>         at
>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>         at
>
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
>         at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:722)
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/TomEE-StandardSession-expire-tp4659384p4664414.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to