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

Error in win9x ServerSocket port binding behaviour

XMLWordPrintable

    • generic, x86
    • windows_95, windows_nt

      at java.net.Socket.getInputStream(Socket.java:336)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_012(SocketFactory002.java:356)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       java.net.BindException: Address in use: no further information
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:316)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:129)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:116)
        at java.net.Socket.<init>(Socket.java:277)
        at java.net.Socket.<init>(Socket.java:181)
        at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:203)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SetupSockets(SocketFactory002.java:102)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_013(SocketFactory002.java:377)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       java.net.BindException: Address in use: no further information
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:316)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:129)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:116)
        at java.net.Socket.<init>(Socket.java:277)
        at java.net.Socket.<init>(Socket.java:181)
        at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:203)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SetupSockets(SocketFactory002.java:102)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_014(SocketFactory002.java:397)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       SocketFactory2_001: Passed.
       SocketFactory2_002: Failed. java.net.SocketException: Socket closed
       SocketFactory2_003: Failed. Initialization error: java.net.BindException: Address in use: no further information
       SocketFactory2_004: Failed. java.net.SocketException: Socket closed
       SocketFactory2_005: Failed. java.net.SocketException: Socket closed
        Failed. Timeout default was 1000
       SocketFactory2_006: Failed.
       SocketFactory2_007: Failed. java.net.SocketException: Socket closed
       SocketFactory2_008: Failed. Initialization error: java.net.BindException: Address in use: no further information
       SocketFactory2_009: Failed. java.io.IOException: Socket Closed
       SocketFactory2_010: Failed. Initialization error: java.net.BindException: Address in use: no further information
       SocketFactory2_011: Failed. Initialization error: java.net.BindException: Address in use: no further information
       SocketFactory2_012: Failed. java.io.IOException: Socket Closed
       SocketFactory2_013: Failed. Initialization error: java.net.BindException: Address in use: no further information
       SocketFactory2_014: Failed. Initialization error: java.net.BindException: Address in use: no further information
       STATUS:Failed.tests: 14; passed: 1; failed: 13; first test case failure: SocketFactory2_002
      meenakshi.ramachandran@eng 2000-03-15

      file location:
      /net/sqesvr/vsn/users/IndiaSecurity/jcksource/jsse/partjssetck/partjsse/src/jsse/tests/api/javax/net/SocketFactory/SocketFactory002.java

      These Exception were intermittent in JSSE version 1.0 and JSSE version1.0.1
      failed in Domestic and Global build.


      [Brad Wetmore adds...this information comes from the JSSE JCK tests for
      JSSE 1.0.1. During the run of this, there was some intermittent errors
      which maybe due to the way the underlying JDK is written. See
      Jdn's email in the evaluation section.]


      when we run two tests consecutively and both try to bind to the same port, the
      first java process isn't cleaned up completely by the OS(windows 95 and windows 98) before the second one is started. It works fine with other platforms such as Windows NT and Solaris.
       
      java.net.BindException: Address in use: no further information
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:316)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:129)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:116)
        at java.net.Socket.<init>(Socket.java:277)
        at java.net.Socket.<init>(Socket.java:181)
        at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:203)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SetupSockets(SocketFactory002.java:102)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_002(SocketFactory002.java:134)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       java.net.SocketException: Socket closed
        at java.net.PlainSocketImpl.socketSetOption(Native Method)
        at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:179)
        at java.net.Socket.setTcpNoDelay(Socket.java:381)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_002(SocketFactory002.java:137)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       java.net.BindException: Address in use: no further information
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:316)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:129)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:116)
        at java.net.Socket.<init>(Socket.java:277)
        at java.net.Socket.<init>(Socket.java:181)
        at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:203)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SetupSockets(SocketFactory002.java:102)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_003(SocketFactory002.java:158)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       java.net.BindException: Address in use: no further information
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:316)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:129)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:116)
        at java.net.Socket.<init>(Socket.java:277)
        at java.net.Socket.<init>(Socket.java:181)
        at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:203)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SetupSockets(SocketFactory002.java:102)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_004(SocketFactory002.java:182)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       java.net.SocketException: Socket closed
        at java.net.PlainSocketImpl.socketSetOption(Native Method)
        at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:179)
        at java.net.Socket.setSoLinger(Socket.java:413)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_004(SocketFactory002.java:185)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       java.net.BindException: Address in use: no further information
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:316)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:129)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:116)
        at java.net.Socket.<init>(Socket.java:277)
        at java.net.Socket.<init>(Socket.java:181)
        at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:203)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SetupSockets(SocketFactory002.java:102)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_005(SocketFactory002.java:206)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       java.net.SocketException: Socket closed
        at java.net.PlainSocketImpl.socketGetOption(Native Method)
        at java.net.PlainSocketImpl.getOption(PlainSocketImpl.java:186)
        at java.net.Socket.getTcpNoDelay(Socket.java:394)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_005(SocketFactory002.java:208)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       java.net.BindException: Address in use: no further information
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:316)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:129)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:116)
        at java.net.Socket.<init>(Socket.java:277)
        at java.net.Socket.<init>(Socket.java:181)
        at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:203)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SetupSockets(SocketFactory002.java:102)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_006(SocketFactory002.java:226)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       java.net.BindException: Address in use: no further information
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:316)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:129)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:116)
        at java.net.Socket.<init>(Socket.java:277)
        at java.net.Socket.<init>(Socket.java:181)
        at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:203)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SetupSockets(SocketFactory002.java:102)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_007(SocketFactory002.java:248)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       java.net.SocketException: Socket closed
        at java.net.PlainSocketImpl.socketGetOption(Native Method)
        at java.net.PlainSocketImpl.getOption(PlainSocketImpl.java:186)
        at java.net.Socket.getSoLinger(Socket.java:437)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_007(SocketFactory002.java:250)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       java.net.BindException: Address in use: no further information
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:316)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:129)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:116)
        at java.net.Socket.<init>(Socket.java:277)
        at java.net.Socket.<init>(Socket.java:181)
        at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:203)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SetupSockets(SocketFactory002.java:102)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_008(SocketFactory002.java:268)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       java.net.BindException: Address in use: no further information
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:316)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:129)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:116)
        at java.net.Socket.<init>(Socket.java:277)
        at java.net.Socket.<init>(Socket.java:181)
        at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:203)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SetupSockets(SocketFactory002.java:102)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_009(SocketFactory002.java:288)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       java.io.IOException: Socket Closed
        at java.net.PlainSocketImpl.getOutputStream(PlainSocketImpl.java:441)
        at java.net.Socket$2.run(Socket.java:359)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.Socket.getOutputStream(Socket.java:356)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_009(SocketFactory002.java:291)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       java.net.BindException: Address in use: no further information
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:316)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:129)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:116)
        at java.net.Socket.<init>(Socket.java:277)
        at java.net.Socket.<init>(Socket.java:181)
        at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:203)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SetupSockets(SocketFactory002.java:102)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_010(SocketFactory002.java:312)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       java.net.BindException: Address in use: no further information
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:316)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:129)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:116)
        at java.net.Socket.<init>(Socket.java:277)
        at java.net.Socket.<init>(Socket.java:181)
        at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:203)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SetupSockets(SocketFactory002.java:102)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_011(SocketFactory002.java:333)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       java.net.BindException: Address in use: no further information
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:316)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:129)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:116)
        at java.net.Socket.<init>(Socket.java:277)
        at java.net.Socket.<init>(Socket.java:181)
        at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:203)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SetupSockets(SocketFactory002.java:102)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.SocketFactory2_012(SocketFactory002.java:353)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
        at javasoft.sqe.tests.api.javax.net.SocketFactory.SocketFactory002.main(SocketFactory002.java:70)

       java.io.IOException: Socket Closed
        at java.net.PlainSocketImpl.getInputStream(PlainSocketImpl.java:425)
        at java.net.Socket$1.run(Socket.java:339)
        at java.security.AccessController.doPrivileged(Native Method)
       

            jccollet Jean-Christophe Collet (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: