ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ryan.cup...@kodak.com
Subject Exception on server shutdown
Date Wed, 01 May 2002 20:05:35 GMT
From: Ryan D. Cuprak

When I go to shutdown the xml-rpc webserver I get the following exception:
Closing XML-RPC server socket.
Exception in XML-RPC listener loop (java.net.SocketException: Socket
closed).
Closing XML-RPC server socket.
java.lang.NullPointerException
     at org.apache.xmlrpc.WebServer.run(WebServer.java)
     at java.lang.Thread.run(Thread.java:484)

Code to start the server (interface thread)
mServer = new WebServer(mClientPort);
mServer.addHandler("partylineclient",new RPCHandler() );
Thread thrd = new Thread(mServer);
 thrd.start();

Code to shutdown the server (interface thread)
mServer.shutdown();

Any idea why I am getting this exception?

Thanks,
-Ryan




Mime
View raw message