[Geoserver-devel] Http Timeout settings

Hi,

I know there is a timeout setting that you can set when you are debugging geoserver so you don't get "java.lang.IllegalStateException: STREAM" errors, but where is this timeout??

--
Kind Regards
Clint Lewis

I tried setting <session-config> <session-timeout>60000</session-timeout> </session-config> in the web.xml of web module but it seems not to use this values. The stacktrace is below.

:WARN: /geoserver/wfs HTTP/1.:
java.lang.IllegalStateException: STREAM
    at org.mortbay.jetty.Response.getWriter(Response.java:459)
    at org.vfny.geoserver.wfs.servlets.TestWfsPost.processRequest(TestWfsPost.java:241)
    at org.vfny.geoserver.wfs.servlets.TestWfsPost.doPost(TestWfsPost.java:73)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:423)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:965)
    at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:956)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:353)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:219)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:542)
    at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:145)
    at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:126)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
    at org.mortbay.jetty.Server.handle(Server.java:245)
    at org.mortbay.jetty.HttpConnection.handlerRequest(HttpConnection.java:365)
    at org.mortbay.jetty.HttpConnection.access$1500(HttpConnection.java:38)
    at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:623)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:610)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:196)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:296)
    at org.mortbay.jetty.nio.SelectChannelConnector$HttpEndPoint.run(SelectChannelConnector.java:740)
    at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:435)
:WARN: /geoserver/wfs HTTP/1.
java.lang.IllegalStateException: STREAM
    at org.mortbay.jetty.Response.getWriter(Response.java:459)
    at org.vfny.geoserver.wfs.servlets.TestWfsPost.processRequest(TestWfsPost.java:241)
    at org.vfny.geoserver.wfs.servlets.TestWfsPost.doPost(TestWfsPost.java:73)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:423)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:965)
    at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:956)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:353)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:219)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:542)
    at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:145)
    at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:126)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
    at org.mortbay.jetty.Server.handle(Server.java:245)
    at org.mortbay.jetty.HttpConnection.handlerRequest(HttpConnection.java:365)
    at org.mortbay.jetty.HttpConnection.access$1500(HttpConnection.java:38)
    at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:623)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:610)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:196)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:296)
    at org.mortbay.jetty.nio.SelectChannelConnector$HttpEndPoint.run(SelectChannelConnector.java:740)
    at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:435)

Kind Regards
Clint Lewis

Clint Lewis wrote:

Hi,

I know there is a timeout setting that you can set when you are debugging geoserver so you don't get "java.lang.IllegalStateException: STREAM" errors, but where is this timeout??