StandardWrapperValve[default]: Servlet.service() for servlet default threw exception
java.io.IOException: java.io.IOException: Connection closed
at org.glassfish.grizzly.http.io.OutputBuffer.blockAfterWriteIfNeeded(OutputBuffer.java:969)
at org.glassfish.grizzly.http.io.OutputBuffer.write(OutputBuffer.java:686)
.....other stuff
Caused by: java.io.IOException: An established connection was aborted by the software in your host machine
at sun.nio.ch.SocketDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
即使我使用完全相同的Web服务,直接从Netbeans运行程序也不会发生这种情况。有什么想法吗?