讨论区 » AAS-V10企业版 »
由 黄 俊睿 在 超过 3 年 之前添加
异常信息:
java.io.IOException: Connection is closed
at org.glassfish.grizzly.nio.NIOConnection.assertOpen(NIOConnection.java:514)
at org.glassfish.grizzly.nio.transport.TCPNIOConnectionWrapper.assertOpen(TCPNIOConnectionWrapper.java:256)
at org.glassfish.grizzly.http.io.OutputBuffer.flush(OutputBuffer.java:749)
...
Caused by: java.io.IOException: 连接被对方重设
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:377)
at org.glassfish.grizzly.nio.transport.TCPNIOUtils.readSimpleByteBuffer(TCPNIOUtils.java:321)
at org.glassfish.grizzly.nio.transport.TCPNIOUtils.allocateAndReadBuffer(TCPNIOUtils.java:214)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.read(TCPNIOTransport.java:607)
版本号:
解决时间:2021-09-09
解决方案:jvm参数里加上-DconnectionReuse=false
界面现象:
日志截图:
解决操作: