Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] IllegalStateException from Session.getCreationTime()

Hi there,

No ideas on the cause of this?

Thanks,
Matt

Matt Doran wrote:
Hi there,

We're currently running Jetty 6.1.22.     Under load we've seen IllegalStateExceptions being thrown out of the following method:
org.mortbay.jetty.servlet.AbstractSessionManager$Session.getCreationTime(AbstractSessionManager.java:815)
The full stack trace is below.


In this case it happens to occur when an error page is being displayed by the Tapestry framework.  It's error page dumps all the Session info to the error page to aid debugging (including the creation time).  We also have seen this error from customer logs .... but I don't have specific info on these at this time.

Looking at the Jetty code, it will raise this if the session is "invalid".     So the question is, does this indicate some sort of bug in Jetty or is it elsewhere (e.g. in the Tapestry framework).

Thanks in advance,
Matt





java.lang.IllegalStateException
org.mortbay.jetty.servlet.AbstractSessionManager$Session.getCreationTime(AbstractSessionManager.java:815)
org.apache.tapestry.request.RequestContext.write(RequestContext.java:751)
org.apache.tapestry.request.RequestContext.render(RequestContext.java:1062)
org.apache.tapestry.components.Delegator.renderComponent(Delegator.java:45)
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:624)
org.apache.tapestry.html.Body.renderComponent(Body.java:269)
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:624)
org.apache.tapestry.html.Shell.renderComponent(Shell.java:124)
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:118)
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:300)
org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:368)
org.apache.tapestry.engine.AbstractEngine.renderResponse(AbstractEngine.java:749)
org.apache.tapestry.engine.AbstractEngine.activateExceptionPage(AbstractEngine.java:476)
biz.papercut.pcng.web.WebEngine.activateExceptionPage(WebEngine.java:93)
org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:931)
biz.papercut.pcng.web.WebEngine.service(WebEngine.java:102)
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:198)
org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:159)
javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
org.mortbay.jetty.Server.handle(Server.java:326)
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)




_______________________________________________ jetty-users mailing list jetty-users@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/jetty-users

Back to the top