java.io.IOException: Connection closed

Oracle Community | iceandfire | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Glassfish v4 sends sometimes empty response to "curl -o testin.txt "my.server.com" under load / access.log shows http OK

    Oracle Community | 4 years ago | iceandfire
    java.io.IOException: Connection closed

    Root Cause Analysis

    1. java.lang.Exception

      Close stack trace

      at org.glassfish.grizzly.nio.NIOConnection.close0()
    2. Grizzly
      WorkerThreadIOStrategy$WorkerThreadRunnable.run
      1. org.glassfish.grizzly.nio.NIOConnection.close0(NIOConnection.java:425)
      2. org.glassfish.grizzly.nio.transport.TCPNIOConnection.close0(TCPNIOConnection.java:291)
      3. org.glassfish.grizzly.nio.transport.TCPNIOTransport.read(TCPNIOTransport.java:938)
      4. org.glassfish.grizzly.nio.transport.TCPNIOTransportFilter.handleRead(TCPNIOTransportFilter.java:75)
      5. org.glassfish.grizzly.filterchain.TransportFilter.handleRead(TransportFilter.java:173)
      6. org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      7. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
      8. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
      9. org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
      10. org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
      11. org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
      12. org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)
      13. org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
      14. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
      15. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
      16. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
      16 frames