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.