Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4680423

Running SSL clients using jdk1.4 result in exception upon termination

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 1.4.0
    • security-libs
    • None

      We are running SSL clients using JDK1.4 and frequently receive this exception when closing the SSL connection that the client holds with the broker. Both the client and the broker (server side) are using JRE1.4.

      However, we do not see this (have not so far) when the same client is run using JRE1.2 or 1.3 with JSSE 1.0.2. The broker side continues to use JRE1.4.

      Did not find any such bugs in the jsse category


      # java -DimqConnectionType=TLS -Dimq.debug HelloWorldMessage
      Sending Message: Hello World
      Read Message: Hello World
      java.net.SocketException: Socket closed
              at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
              at
      com.sun.net.ssl.internal.ssl.AppOutputStream.flush(DashoA6275)
              at
      java.io.BufferedOutputStream.flush(BufferedOutputStream.java:128)
              at
      com.sun.messaging.jmq.io.ReadOnlyPacket.writePacket(ReadOnlyPacket.java:401)

              at
      com.sun.messaging.jmq.io.ReadWritePacket.writePacket(ReadWritePacket.java:72)

              at
      com.sun.messaging.jmq.jmsclient.ProtocolHandler.writePacketNoAck(ProtocolHandler.java:199)

              at
      com.sun.messaging.jmq.jmsclient.ProtocolHandler.writePacketWithAck(ProtocolHandler.java:387)

              at
      com.sun.messaging.jmq.jmsclient.ProtocolHandler.writePacketWithAck(ProtocolHandler.java:347)

              at
      com.sun.messaging.jmq.jmsclient.ProtocolHandler.writePacketWithAckStatus(ProtocolHandler.java:321)

              at
      com.sun.messaging.jmq.jmsclient.ProtocolHandler.writePacketWithAck(ProtocolHandler.java:300)

              at
      com.sun.messaging.jmq.jmsclient.ProtocolHandler.goodBye(ProtocolHandler.java:1102)

              at
      com.sun.messaging.jmq.jmsclient.ConnectionImpl.close(ConnectionImpl.java:1319)

              at HelloWorldMessage.main(HelloWorldMessage.java:120)
      Exception occurred : javax.jms.JMSException: [C4001]: Write packet
      failed. - caught java.net.SocketException

      ###@###.### 2002-05-06
      ==================================

            andreas Andreas Sterbenz
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: