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

Solaris/solx86/linux clients cannot connect to webserver in non-blocking mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • core-libs
    • beta2
    • generic
    • generic
    • Verified


      Adding sleeps, using up to a 5 minute socket timeout, a loop of 300
      finishConnects, a Solaris client could not connect to a webserver
      on the same subnet. The clients throw java.lang.IllegalStateException:
      Connect not yet invoked. The webservers are accessible via http and telnet.
      A Javaweb server on solaris as well as windows was tested.

       
      In non-blocking mode, only win98 clients pass. In blocking mode, the
      test completes from all client platforms.Here are the test results.

      3 webservers:

      Server1 - Solaris - 129.144.250.131 jws2.0
      Server2 - Win98 - 129.144.250.222 jws2.0
      Server3 - Win98 - 129.144.98.118 jws2.0

      -----------------------------------------------------------
      non-blocking test result p/f
      -----------------------------------------------------------
      Client S1 S2 S3
      -----------------------------------------------------------
      sol 129.144.250.131 P F F
      win98 129.144.250.222 P P P
      x86 10.7.130.11 F F F
      Linux 10.7.130.51 F F F
      win98 10.7.130.12 P P P





      test3.java is set up by default for a solaris webserver, default port
      of 8080, and blocking set false (non-blocking). Override with
      -webServer 'name', -port 'number' and -b respectively:

      invoke the test with these (or other) webservers:

      java test3 -webServer vmnightly8.eng.sun.com -port 80 -b
      java test3 -webServer vmnightly8.eng.sun.com -port 80

      java test3 -webServer 129.144.250.222 -b
      java test3 -webServer 129.144.250.222

      java test3 -b
      java test3



      Note: the test output (in blocking mode) will vary because not all servers
      have an index.html file. The test makes only one GET request.

            mmcclosksunw Michael Mccloskey (Inactive)
            kpolomsksunw Krystyna Polomski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: