org.apache.tomcat.jni.Error: 20005: An invalid socket was returned

apache.org | 9 months 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

    Bug 58104 – APR log error: org.apache.tomcat.jni.Error: 20005: An invalid socket was returned

    apache.org | 9 months ago
    org.apache.tomcat.jni.Error: 20005: An invalid socket was returned

    Root Cause Analysis

    1. org.apache.tomcat.jni.Error

      20005: An invalid socket was returned

      at org.apache.tomcat.jni.Socket.recvbb()
    2. org.apache.tomcat
      Socket.recvbb
      1. org.apache.tomcat.jni.Socket.recvbb(Native Method)
      1 frame
    3. Grizzly HTTP
      AprEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.InternalAprInputBuffer.doReadSocket(InternalAprInputBuffer.java:631)
      2. org.apache.coyote.http11.InternalAprInputBuffer.fill(InternalAprInputBuffer.java:583)
      3. org.apache.coyote.http11.InternalAprInputBuffer.parseRequestLine(InternalAprInputBuffer.java:140)
      4. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1005)
      5. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
      6. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2503)
      7. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2492)
      7 frames
    4. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      2 frames
    5. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame