Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Problem with Jetty >= 9.0.7 and static content

I would enable debug for org.eclipse.jetty and get a log file with
this behavior, that should help indicate if there is some sort of
timeout being triggered that is affecting you.  What java version is
this btw?

cheers,
jesse
--
jesse mcconnell
jesse.mcconnell@xxxxxxxxx


On Fri, Feb 21, 2014 at 9:44 AM, Sebastian Gutierrez <scgm11@xxxxxxxxx> wrote:
> Hello??
>
>
> On February 18, 2014 at 17:53:49, Sebastian Gutierrez (scgm11@xxxxxxxxx)
> wrote:
>
> Anyone any help on this???
>
>
> On February 14, 2014 at 23:45:02, Sebastian Gutierrez (scgm11@xxxxxxxxx)
> wrote:
>
> still the same with the last version
>
> 2014-02-14 23:44:02.982:WARN:oejs.HttpChannel:qtp79704925-54:
> /portal/jfxtras-labs.jar
> java.lang.NullPointerException
>         at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:309)
>         at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:237)
>         at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
>         at
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
>         at java.lang.Thread.run(Thread.java:722)
> 2014-02-14 23:44:02.983:WARN:oejs.HttpChannel:qtp79704925-54: Could not send
> response error 500: java.lang.NullPointerException
> 2014-02-14 23:44:02.983:WARN:oejsh.ResourceHandler:qtp79704925-54:
> org.eclipse.jetty.io.EofException
> 2014-02-14 23:44:02.983:WARN:oejut.QueuedThreadPool:qtp79704925-54:
> java.lang.IllegalStateException: AsyncContext completed
>         at
> org.eclipse.jetty.server.AsyncContextState.state(AsyncContextState.java:47)
>         at
> org.eclipse.jetty.server.AsyncContextState.complete(AsyncContextState.java:92)
>         at
> org.eclipse.jetty.server.handler.ResourceHandler$1.failed(ResourceHandler.java:527)
>         at
> org.eclipse.jetty.util.IteratingNestedCallback.failed(IteratingNestedCallback.java:60)
>         at
> org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB.failed(HttpOutput.java:1033)
>         at
> org.eclipse.jetty.server.HttpConnection$ContentCallback$1.run(HttpConnection.java:730)
>         at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
>         at
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
>         at java.lang.Thread.run(Thread.java:722)
>
>
>
> On February 13, 2014 at 17:47:50, Sebastian Gutierrez (scgm11@xxxxxxxxx)
> wrote:
>
> any idea?
>
>
> On February 10, 2014 at 7:33:38, Sebastian Gutierrez (scgm11@xxxxxxxxx)
> wrote:
>
> Jan,
>
> The log is the same for all versions >= 9.0.7, this particularly log trace
> is from 9.1.0.v20131115
> I attach my Main File that does the basic startup of my server, there is
> nothing particular in it.
> Remember that this works ok with 9.0.3
>
> Thanks!
>
> best regards
>
>
>
> On February 10, 2014 at 2:55:51, Jan Bartel (janb@xxxxxxxxxxx) wrote:
>
> Sebastian,
>
> From what version of jetty is the log trace you sent? Can you also
> paste your configuration of the connectors. Have you tried writing
> just a simple servlet that does the same download?
>
> Jan
>
> On 9 February 2014 23:00, Sebastian Gutierrez <scgm11@xxxxxxxxx> wrote:
>>
>> Hi,
>>
>> I have an embedded Jetty 9.0.3 and hosts a webapp with jersey REST web
>> services, and some javafx apps as static web content, the server start to
>> hang with this error
>>
>> ServerRuntime$Responder.writeResponse] - [SEVERE] - An I/O error has
>> occurred while writing a response message entity to the container output
>> stream.
>>
>> So the WS stop responding, as well as the jetty web server for static
>> content.
>>
>> So I first try to change to the latest stable 9.1 Jetty version, but with
>> this version (and also tested with 9.0.7) when I'm trying to access my
>> javafx app gives me an ioError and stops downloading the application.
>>
>>
>> I've moved to Easyrest from Jersey just in case the WS where hanging
>> jetty,
>> anyway with Jetty 9.0.3 no problem downloading the files of the javafx app
>> that is in browser, but with any version >= 9.0.7 almost always stops
>> downloading the app
>>
>> LOG:
>>
>>
>> 2014-02-09 09:57:44.453:WARN:oejs.HttpChannel:qtp1475847595-27:
>> /portal/IntegraPortalFX.jar
>> java.lang.NullPointerException
>> at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
>> at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:238)
>> at
>>
>> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
>> at
>>
>> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
>> at java.lang.Thread.run(Thread.java:722)
>> 2014-02-09 09:57:44.454:WARN:oejs.HttpChannel:qtp1475847595-27: Could not
>> send response error 500: java.lang.NullPointerException
>> 2014-02-09
>>
>> 09:57:44.454:WARN:oejsh.ResourceHandler:qtp1475847595-17-selector-ServerConnectorManager@6b4807d9/0:
>> org.eclipse.jetty.io.EofException
>> 2014-02-09
>>
>> 09:57:44.455:WARN:oeji.SelectorManager:qtp1475847595-17-selector-ServerConnectorManager@6b4807d9/0:
>> Could not process key for channel
>> java.nio.channels.SocketChannel[connected
>> oshut local=/192.168.1.10:8085 remote=/5.5.8.36:52818]
>> java.lang.IllegalStateException: AsyncContext completed
>> at
>>
>> org.eclipse.jetty.server.AsyncContextState.state(AsyncContextState.java:47)
>> at
>>
>> org.eclipse.jetty.server.AsyncContextState.complete(AsyncContextState.java:92)
>> at
>>
>> org.eclipse.jetty.server.handler.ResourceHandler$1.failed(ResourceHandler.java:527)
>> at
>>
>> org.eclipse.jetty.util.IteratingNestedCallback.failed(IteratingNestedCallback.java:60)
>> at
>>
>> org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB.failed(HttpOutput.java:935)
>> at
>>
>> org.eclipse.jetty.util.IteratingNestedCallback.failed(IteratingNestedCallback.java:60)
>> at
>> org.eclipse.jetty.io.WriteFlusher$PendingState.fail(WriteFlusher.java:259)
>> at
>> org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:427)
>> at
>>
>> org.eclipse.jetty.io.SelectChannelEndPoint.onSelected(SelectChannelEndPoint.java:111)
>> at
>>
>> org.eclipse.jetty.io.SelectorManager$ManagedSelector.processKey(SelectorManager.java:571)
>> at
>>
>> org.eclipse.jetty.io.SelectorManager$ManagedSelector.select(SelectorManager.java:542)
>> at
>>
>> org.eclipse.jetty.io.SelectorManager$ManagedSelector.run(SelectorManager.java:484)
>> at
>>
>> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
>> at
>>
>> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
>> at java.lang.Thread.run(Thread.java:722)
>> 2014-02-09 09:57:44.479:WARN:oejs.HttpChannel:qtp1475847595-27:
>> /portal/jfxtras-labs.jar
>> java.lang.NullPointerException
>> at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
>> at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:238)
>> at
>>
>> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
>> at
>>
>> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
>> at java.lang.Thread.run(Thread.java:722)
>> 2014-02-09 09:57:44.479:WARN:oejs.HttpChannel:qtp1475847595-27: Could not
>> send response error 500: java.lang.NullPointerException
>> 2014-02-09
>>
>> 09:57:44.479:WARN:oejsh.ResourceHandler:qtp1475847595-15-selector-ServerConnectorManager@6b4807d9/2:
>> org.eclipse.jetty.io.EofException
>> 2014-02-09
>>
>> 09:57:44.479:WARN:oeji.SelectorManager:qtp1475847595-15-selector-ServerConnectorManager@6b4807d9/2:
>> Could not process key for channel
>> java.nio.channels.SocketChannel[connected
>> oshut local=/192.168.1.10:8085 remote=/5.5.8.36:52820]
>> java.lang.IllegalStateException: AsyncContext completed
>> at
>>
>> org.eclipse.jetty.server.AsyncContextState.state(AsyncContextState.java:47)
>> at
>>
>> org.eclipse.jetty.server.AsyncContextState.complete(AsyncContextState.java:92)
>> at
>>
>> org.eclipse.jetty.server.handler.ResourceHandler$1.failed(ResourceHandler.java:527)
>> at
>>
>> org.eclipse.jetty.util.IteratingNestedCallback.failed(IteratingNestedCallback.java:60)
>> at
>>
>> org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB.failed(HttpOutput.java:935)
>> at
>>
>> org.eclipse.jetty.util.IteratingNestedCallback.failed(IteratingNestedCallback.java:60)
>> at
>> org.eclipse.jetty.io.WriteFlusher$PendingState.fail(WriteFlusher.java:259)
>> at
>> org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:427)
>> at
>>
>> org.eclipse.jetty.io.SelectChannelEndPoint.onSelected(SelectChannelEndPoint.java:111)
>> at
>>
>> org.eclipse.jetty.io.SelectorManager$ManagedSelector.processKey(SelectorManager.java:571)
>> at
>>
>> org.eclipse.jetty.io.SelectorManager$ManagedSelector.select(SelectorManager.java:542)
>> at
>>
>> org.eclipse.jetty.io.SelectorManager$ManagedSelector.run(SelectorManager.java:484)
>> at
>>
>> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
>> at
>>
>> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
>> at java.lang.Thread.run(Thread.java:722)
>>
>> Any idea?
>>
>> THANKS!!
>>
>>
>>
>>
>> _______________________________________________
>> jetty-users mailing list
>> jetty-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>
>
>
>
> --
> Jan Bartel <janb@xxxxxxxxxxx>
> www.webtide.com
> 'Expert Jetty/CometD developer,production,operations advice'
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
> ________________________________
> - Main.java, 8 KB
>
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>


Back to the top