[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlrpc-user
Subject:    RE: NullPointerException on server close
From:       "EXT-Raiteri, Ashley L" <ashley.l.raiteri () boeing ! com>
Date:       2002-06-24 17:41:14
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic