[ http://issues.apache.org/jira/browse/XMLRPC-5?page=all ] Jochen Wiedmann closed XMLRPC-5: --------------------------------
Resolution: Won't Fix Assign To: (was: rpc-dev mailing list) It is quite likely, that this problem no longer applies with versions 2 and 3. Consequently, I am closing the issue now. If required, please reopen. > We have the problem which is not terminated normally the operation of > WebServer service. > ---------------------------------------------------------------------------------------- > > Key: XMLRPC-5 > URL: http://issues.apache.org/jira/browse/XMLRPC-5 > Project: XML-RPC > Type: Bug > Components: Source > Versions: unspecified > Environment: Operating System: Windows NT/2K > Platform: PC > Reporter: Kim Hee-Yong > > * XML-RPC for JAVA. > We have the problem which is not terminated normally the operation of > WebServer > service.(shutdown method) > This was grasped by the threadpool causing by the reason why the threadpool > is > not initialized. > The problem we are about a version 1.0. > We appended WebServer.java file which is modified to the temporary. > Kim Hee-Yong(Nickname : daffodil) > [EMAIL PROTECTED] > 115-9 Nakwon-dong Chuncheon-si Kangwon-do, Republic of Korea > Mirero C&C Coperation. > * modified WebServer.java > public class WebServer > implements Runnable > { > .... > public void run() > { > .... > } > catch (Exception exception) > { > .... > } > finally > { > System.err.println("Closing XML-RPC server socket."); > try > { > serverSocket.close(); > serverSocket = null; > } > catch (IOException ignore) > {} > releaseThreadPool(); > } > } > public void releaseThreadPool() { > Runner r; > try { > while (true) { > r = (Runner)threadpool.pop(); > if (r.thread.isAlive()) r.thread.interrupt > (); > r.thread = null; > } > } catch (EmptyStackException ex) { } > } > .... > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira