New Exception with CR1 preventing a full shutdown

"이희승 (Trustin Lee)" trustin at gmail.com
Tue Jun 23 13:54:06 EDT 2009


Hi Ian,

Thanks for reporting the problem.  This bug has been triggered by the
side effect of AIX bug fix.  Could you post the full thread dump when it
does not shut down? (i.e. two servers in one vm case)


On 2009-06-24 오전 2:29, Ian Swett wrote:
> 
> I get the following exception at a point during startup.  The program runs properly after this exception, but when I got to shutdown, there are threads which don't get shutdown, so the JVM doesn't exit.  Sometimes I do not get this exception, and then everything goes smoothly.  I verified that when I switch back to Beta3, this problem never occurs.  
> 
> I am running two Netty servers in the same JVM.  When I only run one, this exception still occurs, but the JVM shuts down cleanly.
> 
> Exception in thread "pool-1-thread-1" java.nio.channels.ClosedSelectorException
>     at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:66)
>     at sun.nio.ch.SelectorImpl.selectNow(SelectorImpl.java:88)
>     at sun.nio.ch.Util.releaseTemporarySelector(Util.java:135)
>     at sun.nio.ch.ServerSocketAdaptor.accept(ServerSocketAdaptor.java:120)
>     at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.run(NioServerSocketPipelineSink.java:215)
>     at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:110)
>     at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:53)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
>     at java.lang.Thread.run(Thread.java:613)
> 
> This is on MacOSX 10.5.7 with JDK 1.5.
> 
> Thanks, Ian
> 
> 
> 
>       
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20090624/dd1526d8/attachment.bin 


More information about the netty-users mailing list