Hi Maik,

Are the WOWorkerThreads still running?  Try getting a thread dump.  Is your 
refactored web service running as a daemon thread?  If that, that could be by 
the app is not stopping.  You will need to tie in application.terminate() to 
stop the web service.

That is the only thing that I can think of that sort-of fits your description.


Chuck

From: Webobjects-dev 
<webobjects-dev-bounces+chill=gevityinc....@lists.apple.com> on behalf of Maik 
Musall <m...@selbstdenker.ag>
Date: Friday, May 4, 2018 at 5:48 AM
To: WebObjects-Dev <webobjects-dev@lists.apple.com>
Subject: Web service disturbs wotaskd communication

Hi all,

we recently refactored a web service running within a WO application. It was 
based on com.sun.net<http://com.sun.net>.httpserver which is of course 
deprecated, and now we use org.apache.http instead. It creates a socket on a 
high port number, waits for requests and serves responses. Nothing special that 
I can see.

Now, whenever we fire up the new implementation, the entire WO app instance 
can't be stopped any more through wotaskd (e.g. by stopping the instance 
manually in WOMonitor). Force Quit still works, and shutting down from within 
through Runtime.exit() works, too. And if I disable that webservice, normal 
stops also work fine again.

The application port (2003 here) is reachable, I can connect to it via curl or 
telnet, I even get an exception in the log when I send some garbage there. It 
just doesn't react to wotaskd commands any more, and I can't figure out why.

Does anyone have a hunch about where to look?

Thanks
Maik

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to