Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Http Request processing twice

Hi, i was using jetty-7.6.0-RC3 and the http request is getting processed
twice whenever i get the following exception:

org.eclipse.jetty.io.RuntimeIOException: org.eclipse.jetty.io.EofException
        at
org.eclipse.jetty.io.UncheckedPrintWriter.setError(UncheckedPrintWriter.java:107)
        at
org.eclipse.jetty.io.UncheckedPrintWriter.write(UncheckedPrintWriter.java:280)
        at
org.eclipse.jetty.io.UncheckedPrintWriter.write(UncheckedPrintWriter.java:295)
        at
org.eclipse.jetty.io.UncheckedPrintWriter.print(UncheckedPrintWriter.java:460)
        at
org.eclipse.jetty.io.UncheckedPrintWriter.println(UncheckedPrintWriter.java:642)
        at
org.directwebremoting.dwrp.PlainCallHandler.sendOutboundScriptPrefix(PlainCallHandler.java:49)
        at
org.directwebremoting.dwrp.BaseCallHandler.marshallOutbound(BaseCallHandler.java:317)
        at
org.directwebremoting.dwrp.BaseCallHandler.handle(BaseCallHandler.java:105)
        at
org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:120)
        at
org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:141)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
        at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)
        at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
        at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
        at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
        at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
        at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
        at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
        at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
        at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
        at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
        at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
        at org.eclipse.jetty.server.Server.handle(Server.java:346)
        at
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
        at
org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1065)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823)
        at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220)
        at
org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
        at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
        at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
        at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.eclipse.jetty.io.EofException
        at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:149)
        at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:96)
        at java.io.ByteArrayOutputStream.writeTo(Unknown Source)
        at org.eclipse.jetty.server.HttpWriter.write(HttpWriter.java:283)
        at org.eclipse.jetty.server.HttpWriter.write(HttpWriter.java:107)
        at
org.eclipse.jetty.io.UncheckedPrintWriter.write(UncheckedPrintWriter.java:271)
        ... 32 more
Nov 15, 2011 4:43:18 PM org.directwebremoting.servlet.ExceptionHandler
handle
WARNING: Error: org.eclipse.jetty.io.RuntimeIOException:
org.eclipse.jetty.io.EofException

after upgrading to jetty-7.6.0 the exception is not shown in the jetty log,
but the request is invoked twice.
Can some one help me, what can cause this kind of behavior?

Thanks in advance 

--
View this message in context: http://jetty.4.n6.nabble.com/Http-Request-processing-twice-tp4467648p4467648.html
Sent from the Jetty User mailing list archive at Nabble.com.


Back to the top