New Exception with CR1 preventing a full shutdown
Ian Swett
iswett at yahoo.com
Tue Jun 23 13:29:14 EDT 2009
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
More information about the netty-users
mailing list