Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Eliminating java.nio.channels.AsynchronousCloseException in Jetty

Hi Everyone,

I have started recently to work on Restful API using dropwizard which uses embedded jetty as the container.

Implementation-Vendor: Eclipse.org - Jetty
Implementation-Version: 8.1.10.v20130312

I am able to get everything working, but my logs are filled with the following exception.

DEBUG [2014-03-04 22:35:12,373] org.eclipse.jetty.io.nio.ChannelEndPoint: Exception while filling
! java.nio.channels.AsynchronousCloseException: null
! at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:185) ~[na:1.6.0_35]
! at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:272) ~[na:1.6.0_35]
! at org.eclipse.jetty.io.nio.ChannelEndPoint.fill(ChannelEndPoint.java:235) ~[test-service.jar:na]
! at org.eclipse.jetty.server.nio.BlockingChannelConnector$BlockingChannelEndPoint.fill(BlockingChannelConnector.java:242) [test-service.jar:na]
! at org.eclipse.jetty.http.HttpParser.fill(HttpParser.java:1040) [test-service.jar:na]
! at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:280) [test-service.jar:na]
! at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [test-service.jar:na]
! at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72) [test-service.jar:na]
! at org.eclipse.jetty.server.nio.BlockingChannelConnector$BlockingChannelEndPoint.run(BlockingChannelConnector.java:298) [test-service.jar:na]
! at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [test-service.jar:na]
! at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [test-service.jar:na]
! at java.lang.Thread.run(Thread.java:662) [na:1.6.0_35]
DEBUG [2014-03-04 22:35:12,373] org.eclipse.jetty.http.HttpParser: filled -1/0
DEBUG [2014-03-04 22:35:12,374] org.eclipse.jetty.io.nio.ChannelEndPoint: close BCEP@48da7565{l(null)<->r(/3.239.220.142:8079),open=false,ishut=true,oshut=true}-{BlockingHttpConnection@a4cc15e,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=-3},r=1}

the API requests are working properly,but I am concerned about the performance as my Logs are filled with the above exception.
Am I doing something wrong in the configuration, what is causing this error.

Any insight on eliminating the above exception is really appreciated.

Regards
Sathish


Back to the top