xml-rpc-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "EXT-Raiteri, Ashley L" <ashley.l.rait...@boeing.com>
Subject RE: NullPointerException on server close
Date Mon, 24 Jun 2002 17:41:14 GMT
BINGO, there are SEPERATE THREADS, and the each one has to shutdown and
close it socket, in no particular order, meanwhile the keepalive logic is
still active while you are shuttdown and your code could even be trying to
maintain the state of the socket after you have issued the shutdown :)

-----Original Message-----
From: Brian Dobby [mailto:bdobby@nobilis.com]
Sent: Friday, June 21, 2002 7:17 AM
To: rpc-user@xml.apache.org
Subject: RE: NullPointerException on server close


Hi.

> Try just doing the myserver.shutdown() and don't remove the handlers.

I tried that, but had the same problem. It's odd that the message "Closing
XML-RPC server socket" occurs twice; there is only one instance of it in the
source, and that's in the 'finally' clause. I suppose the messages could be
from separate threads.
  Regards
    Brian

Mime
View raw message