Netty close the channel internally, I can't figure out why
"이희승 (Trustin Lee)"
trustin at gmail.com
Mon Nov 8 23:38:02 EST 2010
If there is no exception logged, I suspect the peer is just closing the
connection according to the stack trace. Could you confirm? Otherwise
you could provide a simple test application that reproduces the problem.
王福强 wrote:
> I Add a stack trace printing in channel's Closefuture, and get such stack
> trace below:
>
>
> atXXX.ErosaWorkingChannelRunnable$1.operationComplete(ErosaWorkingChannelRunnable.java:64)
> at
> org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:366)
> at
> org.jboss.netty.channel.DefaultChannelFuture.notifyListeners(DefaultChannelFuture.java:357)
> at
> org.jboss.netty.channel.DefaultChannelFuture.setSuccess(DefaultChannelFuture.java:303)
> at
> org.jboss.netty.channel.AbstractChannel.setClosed(AbstractChannel.java:166)
> at
> org.jboss.netty.channel.socket.oio.OioSocketChannel.setClosed(OioSocketChannel.java:107)
> at org.jboss.netty.channel.socket.oio.OioWorker.close(OioWorker.java:187)
> at org.jboss.netty.channel.socket.oio.OioWorker.run(OioWorker.java:107)
> at
> org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
> at
> org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
>
> It indicates that netty's class close the channel internally, can someone
> help me on this?
>
--
Trustin Lee - http://gleamynode.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 290 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20101109/204a5031/attachment.bin
More information about the netty-users
mailing list