Unexpected exception in the selector loop. java.lang.Error: java.net.SocketException: Socket operation on nonsocket: getsockname ...

Trustin Lee trustin at gleamynode.net
Wed Feb 4 00:02:00 EST 2009


I believe this exception is unrelated with Netty but related with
Windows NIO implementation again because I have never seen this case.
I think you are just safe to ignore this exception if the server can
continue to accept incoming connections.  Let me know if it fails to
accept more connections.

— Trustin Lee, http://gleamynode.net/



On Wed, Feb 4, 2009 at 1:40 PM, Wesly smith <weslysmith0 at gmail.com> wrote:
>
> I saw this exception....
>
> osgi> Exception in thread "pool-3-thread-1"
> java.nio.channels.ClosedSelectorException
>        at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
>        at sun.nio.ch.SelectorImpl.selectNow(Unknown Source)
>        at sun.nio.ch.Util.releaseTemporarySelector(Unknown Source)
>        at sun.nio.ch.ServerSocketAdaptor.accept(Unknown Source)
>        at
> org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.run(NioServerSocketPipelineSink.java:204)
>        at
> org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:72)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> Source)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)
>        at java.lang.Thread.run(Unknown Source)
>
>
> --
> View this message in context: http://n2.nabble.com/Unexpected-exception-in-the-selector-loop.-java.lang.Error%3A-java.net.SocketException%3A-Socket-operation-on-nonsocket%3A-getsockname-...-tp2266877p2267158.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>




More information about the netty-users mailing list