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()

It could be either, so it is best to open a JIRA ticket even if it would later turn out to be problem with underlying framework, so that Jetty could track the issue as well... If you could create a simple test application that we could use to reproduce the issue, and attach it to the JIRA ticket you would create, it would be much easier to determine.

Michael Gorovoy | mgorovoy@xxxxxxxxxxx | http://www.intalio.com |


On Sun, Jun 20, 2010 at 11:54 PM, Matt Doran <matt.doran@xxxxxxxxxxxx> wrote:

Michael Gorovoy wrote:
Hi Matt,

Please open a JIRA ticket at http://jira.codehaus.org/browse/JETTY for this issue.
I can do that.... so it looks like a Jetty issue?   I wanted to confirm this first ... i.e. that it's not a bug in the web framework (i.e. Tapestry in this case).

So you think it's Jetty bug?   If so I can raise an issue.



Thanks,
Michael

Michael Gorovoy | mgorovoy@xxxxxxxxxxx | http://www.intalio.com |


On Thu, Jun 17, 2010 at 6:59 PM, Matt Doran <matt.doran@xxxxxxxxxxxx> wrote:
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

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



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

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



Back to the top