You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org> on 2006/05/07 22:52:21 UTC

[jira] Geschlossen: (XMLRPC-5) We have the problem which is not terminated normally the operation of WebServer service.

     [ 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)
> wishforyou@dreamwiz.com
> 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