Name: krT82822 Date: 11/07/99
java version "1.3beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3beta-O)
Java(TM) HotSpot Client VM (build 1.3beta-O, mixed mode)
I am using W3C's Jigsaw web-server. Upon installation of NT SP6 I can no
longer establish web connections. I have upgraded both JRE and Jigsaw
to the latest versions but the problem remains. Below the screen dump
of the error. The problem keeps the web-server from functioning, so a
quick resolution of the problem would be great.
when trying to get data over Netscape I get this error:
java.net.SocketException: JVM_SetSockOpt() TCP_NODELAY (code=10055)
at java.net.PlainSocketImpl.socketSetOption(Native Method)
at java.net.PlainSocketImpl.setOption(Unknown Source)
at java.net.Socket.setTcpNoDelay(Unknown Source)
at org.w3c.jigsaw.http.httpd.run(httpd.java:1546)
at java.lang.Thread.run(Unknown Source)
The code module where the error occured is attached:
public void run () {
// Emit some traces before starting up:
System.out.println(getBanner()+": serving at "+getURL());
System.out.flush() ;
errlog("started at: "+new Date()+".");
// Enter the evil loop:
while ( ( ! finishing) && ( socket != null ) ) {
Socket ns = null ;
try {
ns = socket.accept() ;
ns.setTcpNoDelay(true); <<<<<< this line the exception
occurs (line 1546)
} catch (IOException e) {
if (debug)
e.printStackTrace() ;
errlog ("failed to accept incoming connection on "+socket) ;
// just in case, as it may have been created.
try { ns.close(); } catch (Exception ex) {};
ns = null;
}
if ( (socket != null) && (ns != null) && (factory != null) )
factory.handleConnection (ns) ;
}
// Our socket has been closed, perform associated cleanup.
cleanup(restarting) ;
}
(Review ID: 97566)
======================================================================