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 ([email protected]) 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 <[email protected]> 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  
> [email protected]  
> https://dev.eclipse.org/mailman/listinfo/jetty-users  
>  



--  
Jan Bartel <[email protected]>  
www.webtide.com  
'Expert Jetty/CometD developer,production,operations advice'  
_______________________________________________  
jetty-users mailing list  
[email protected]  
https://dev.eclipse.org/mailman/listinfo/jetty-users  

Attachment: Main.java
Description: Binary data

_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to