Hello,
In my application the web server is a part from a bigger application and I want 
to add the possibility to start/stop the server in runtime.
In order to do so, I changed my call to Wrun to the code that is shown in the 
documentation, means to start the server by myself.
The problem is that the server aplication runs on different thread and after 
starting the server it waits on waitForShutDown.
When I stop the server manually it doesn't stop because the waitForShutDown  
waits for a ctrl-c signal and the application is stucked because I exit the 
thread and then join it and it doesn't get out of the join.
If I create the signal bymyself I will destroy the whole application and not 
just this thread.

What should I do? Maybe I missed something?

Thank you very much
Hadas


**********************************************************************************************
This message (including any attachments) issued by RAFAEL- ADVANCED DEFENSE 
SYSTEMS LTD. 
(hereinafter "RAFAEL") contains confidential information intended for a 
specific individual and purpose, may 
constitute information that is privileged or confidential or otherwise 
protected from disclosure. If you are not 
the intended recipient, you should contact us immediately and thereafter delete 
this message from your 
system. You are hereby notified that any disclosure, copying, dissemination, 
distribution or forwarding of this 
message, or the taking of any action based on it, is strictly prohibited. If 
you have received this e-mail in error, 
please notify us immediately by e-mail mailto:[email protected] and 
completely delete or destroy any and all 
electronic or other copies of the original message and any attachments thereof.
**********************************************************************************************
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to