1 Reply Latest reply on Jan 7, 2009 3:03 PM by codealchemist

    IOException in ServerSocketAcceptHandler$AcceptHandlerHorse:run

    673675
      Hi,
      there is a webapplication running on an OC4J-standalone, the application is reachable with https and CA Certidicate. Most of the time, the application is running well, but sometimes, users will be throwing out by the server, the session timeout is not reached.
      In the logs the folowing error message appears:

      IOException in ServerSocketAcceptHandler$AcceptHandlerHorse:run
      javax.net.ssl.SSLException: Unexpected end of handshake data
      at com.sun.net.ssl.internal.ssl.HandshakeInStream.read(HandshakeInStream.java:81)
      at java.io.InputStream.read(InputStream.java:85)
      at com.sun.net.ssl.internal.ssl.UnknownExtension.<init>(HelloExtensions.java:204)
      at com.sun.net.ssl.internal.ssl.HelloExtensions.<init>(HelloExtensions.java:69)
      at com.sun.net.ssl.internal.ssl.HandshakeMessage$ClientHello.<init>(HandshakeMessage.java:252)
      at com.sun.net.ssl.internal.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:135)
      at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
      at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)
      at oracle.oc4j.network.ServerSocketAcceptHandler.doSSLHandShaking(ServerSocketAcceptHandler.java:245)
      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:867)
      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      at java.lang.Thread.run(Thread.java:619)


      can anybody tell me: what is the error, and what can I do against it??
      Regards
      Jens
        • 1. Re: IOException in ServerSocketAcceptHandler$AcceptHandlerHorse:run
          codealchemist
          Jens,
          It sounds like you may have certain users with problematic connection to your server. Is there any commonality between users who are kicked out during the SSL handshake? You can analyze the network connection using an open source tool called WireShark available at:
          http://www.wireshark.org/
          Perhaps you have a corrupt\missing\improperly configured keystore. Theere is a relevant thread on the JDeveloper forum at:
          Configuring SSL for JDeveloper 10.1.3.1
          You also may benefit from a review of your SSL-specific configuration settings in the web site configuration file. Please see:
          http://download.oracle.com/docs/cd/B25221_04/web.1013/b14432/confdesc.htm
          There is a table entitled "Table B-21 Web Site Configuration File Attributes" that may prove useful.
          -Michael