Layer7 Access Management

Expand all | Collapse all

java.net.SocketException: Socket is closed

  • 1.  java.net.SocketException: Socket is closed

    Posted 01-17-2017 09:55 PM

     [ERROR] - java.net.SocketException: Socket is closed
     [ERROR] - at com.rsa.sslj.x.ap.k(Unknown Source)
    [ERROR] - at com.rsa.sslj.x.ap.b(Unknown Source)
    [ERROR] - at com.rsa.sslj.x.ap.b(Unknown Source)
    [ERROR] - at com.rsa.sslj.x.al.read(Unknown Source)
     [ERROR] - at org.apache.http.impl.io.AbstractSessionInputBuffer.read(AbstractSessionInputBuffer.java:187)
     [ERROR] - at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:176)
     [ERROR] - at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:197)
    [ERROR] - at org.apache.http.impl.io.ContentLengthInputStream.close(ContentLengthInputStream.java:105)
     [ERROR] - at org.apache.http.conn.BasicManagedEntity.streamClosed(BasicManagedEntity.java:152)
    [ERROR] - at org.apache.http.conn.EofSensorInputStream.checkClose(EofSensorInputStream.java:237)
    [ERROR] - at org.apache.http.conn.EofSensorInputStream.close(EofSensorInputStream.java:186)
     [ERROR] - at org.apache.http.util.EntityUtils.consume(EntityUtils.java:67)
     [ERROR] - at org.tigris.noodle.NoodleData.clear(NoodleData.java:645)
     [ERROR] - at org.tigris.noodle.Noodle.doGet(Noodle.java:787)
     [ERROR] - at org.tigris.noodle.Noodle.service(Noodle.java:394)
     [ERROR] - at javax.servlet.http.HttpServlet.service(Unknown Source)
     [ERROR] - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
    [ERROR] - at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
    [ERROR] - at org.apache.catalina.core.ApplicationDispatcher.invoke(Unknown Source)
    [ERROR] - at org.apache.catalina.core.ApplicationDispatcher.processRequest(Unknown Source)
     [ERROR] - at org.apache.catalina.core.ApplicationDispatcher.doForward(Unknown Source)
     [ERROR] - at org.apache.catalina.core.ApplicationDispatcher.forward(Unknown Source)
    [ERROR] - at com.netegrity.proxy.ProxyServlet.service(ProxyServlet.java:70)
     [ERROR] - at javax.servlet.http.HttpServlet.service(Unknown Source)
    [ERROR] - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
     [ERROR] - at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
     [ERROR] - at com.netegrity.proxy.service.SmProxyRules.doFilter(SmProxyRules.java:240)
     [ERROR] - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
    [ERROR] - at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
    [ERROR] - at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
     [ERROR] - at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
     [ERROR] - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Unknown Source)
    [ERROR] - at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
     [ERROR] - at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
    [ERROR] - at com.netegrity.proxy.ProxyValve.processRequest(ProxyValve.java:819)
     [ERROR] - at com.netegrity.proxy.ProxyValve.invoke(ProxyValve.java:492)
     [ERROR] - at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
    [ERROR] - at org.apache.catalina.connector.CoyoteAdapter.service(Unknown Source)
    [ERROR] - at org.apache.coyote.ajp.AjpProcessor.process(Unknown Source)
    [ERROR] - at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Unknown Source)
     [ERROR] - at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(Unknown Source)
     [ERROR] - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
     [ERROR] - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    [ERROR] - at java.lang.Thread.run(Thread.java:744)

     

    This error is recorded in server.log in CA access gateway. Did any one experienced this error what will be cause for this message.

     

    Thanks!!!



  • 2.  Re: java.net.SocketException: Socket is closed

    Posted 01-18-2017 10:35 PM

    Hi,

     

    It's a bit difficult to conclude what went wrong here. Socket is closed seems the backend server close the socket and therefore SPS tomcat server log report the issue.

     

    Enable following logs will give us more hints on what happen

    - httpclient log

    - nohup.out

    - web agent log

    - web agent trace log

    - mod_jk.log

    - apache error log, apache access log

     

    Thanks.

     

    Regards,

    Kar Meng