运行whole_demo 过了一段时间没做任何操作,控制台报错了。能帮看看是什么问题吗

60 views
Skip to first unread message

jason

unread,
Mar 27, 2013, 10:20:10 AM3/27/13
to socketi...@googlegroups.com

C:\SH\whole_demo>set CLASSPATH=.;

C:\SH\whole_demo>java -Xmx1024m -Xms512m -jar server.jar
 INFO [main] (MainServer.java:128) - 2013-03-27 17:03:53,774 - start the SocketI
OServer with port : 9000
 INFO [main] (SocketIOServer.java:71) - 2013-03-27 17:03:53,864 - Server Started
 at port [9000]
 INFO [main] (MainServer.java:133) - 2013-03-27 17:03:53,864 - start the FlashSe
curityServer with port : 10843
 INFO [main] (MainServer.java:139) - 2013-03-27 17:03:53,874 - add ShutDownHook
now ...
java.io.IOException: An established connection was aborted by the software in yo
ur host machine
        at sun.nio.ch.SocketDispatcher.read0(Native Method)
        at sun.nio.ch.SocketDispatcher.read(Unknown Source)
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
        at sun.nio.ch.IOUtil.read(Unknown Source)
        at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
        at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:66)
        at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedK
eys(AbstractNioWorker.java:372)
        at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioW
orker.java:246)
        at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:38)
        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)
java.io.IOException: An established connection was aborted by the software in yo
ur host machine
        at sun.nio.ch.SocketDispatcher.read0(Native Method)
        at sun.nio.ch.SocketDispatcher.read(Unknown Source)
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
        at sun.nio.ch.IOUtil.read(Unknown Source)
        at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
        at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:66)
        at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedK
eys(AbstractNioWorker.java:372)
        at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioW
orker.java:246)
        at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:38)
        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)
 INFO [pool-1-thread-1] (EventClientIO.java:87) - 2013-03-27 17:45:11,723 - now

yongboy

unread,
Mar 27, 2013, 8:52:34 PM3/27/13
to socketi...@googlegroups.com

很抱歉,对此问题(第一次遇到),暂时给不出很好的解答。
是不是你启动了SSL连接?

可能是你的防火墙自动强迫某个长连接断开。

比较靠谱的解释:
http://stackoverflow.com/questions/1477003/an-established-connection-was-aborted-by-the-software-in-your-host-machine
http://www.cnblogs.com/xiami303/archive/2012/12/12/2814172.html




2013/3/27 jason <c.e...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "socketio-netty" group.
To unsubscribe from this group and stop receiving emails from it, send an email to socketio-nett...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

cenjoy

unread,
Mar 28, 2013, 1:15:38 AM3/28/13
to socketi...@googlegroups.com
谢谢你的及时回复,我在电脑上再测试下确认问题能不能重现


2013/3/28 yongboy <yon...@gmail.com>

--
You received this message because you are subscribed to a topic in the Google Groups "socketio-netty" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/socketio-netty/aWCrkkMhKdw/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to socketio-nett...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages