Non-Gui Web Service Termination
Posted: Fri Aug 07, 2009 1:00 pm
by Reagan Tukapua >> Mon, 19 Jun 2006 23:47:11 GMT
We are currently running our Jade Web Service as a Non-Gui App which is working well. We can terminate the web service process either through the Jade Monitor or through a bit of code "process.node.forceOffUser()", which seems to work fine except upon restarting the web service it doesn't accept any new requests. I believe we are not shuting down the web service correctly to begin with therefore when restarting it the old process is somehow locking a port or something else so the new process cant use it. If I restart the Jade App Server then everything seems to work again.
Any ideas on the correct way of shutting down a Non-Gui Web Service App?
We are currently running our Jade Web Service as a Non-Gui App which is working well. We can terminate the web service process either through the Jade Monitor or through a bit of code "process.node.forceOffUser()", which seems to work fine except upon restarting the web service it doesn't accept any new requests. I believe we are not shuting down the web service correctly to begin with therefore when restarting it the old process is somehow locking a port or something else so the new process cant use it. If I restart the Jade App Server then everything seems to work again.
Any ideas on the correct way of shutting down a Non-Gui Web Service App?