by Jonathan >> Mon, 19 Dec 2005 1:38:28 GMT
We have a situation that we seem to have hit a blank wall with, any ideas on how to progress will be most welcome.
The situation is as follows: We have a web enabled application which we want to run as a service.
The Web App can be started from a link and the user can log in via a browser. The Web App can be stopped from the Web App Manger (if GUI) or through the JADE Monitor (if non GUI) restarted through the link and the user can log in via the browser again - no problems. This part of the equation works fine.
Now for the (non JADE) user defined service. Referencing Microsoft a User Defined Service can be created using the Instrsrv.exe & Srvany.exe executables available from the resource kit. Indeed the Web App can be set up to run as a service in this way and as a service it can be started and stopped - no issues in this regard.
The issue arises when the Web App is run a as a service and the service is stopped and restarted (using the Microsoft "service") Upon restarting when the user tries to log in via the browser they get the "Service Unavailable" error. In order for them to log in successfully to the Web App (running as a service) the jadrap needs to be stopped and restarted and also the Web App (using the Microsoft "service") needs to be retarted then the user can log in via the browser with no problems, but if the Web App (using the Microsoft "service") is stopped and restarted again (without the jadrap being reset) "Service Unavailable" error is returned.
Any ideas as to what the issue here is or an alternative to using the Instrsrv.exe & Srvany.exe to run the user defined service?