I took a look at tomcat.exe, it is a renamed service wrapper from common daemon (http://jakarta.apache.org/commons/daemon/procrun.html) It is invoked with //IS// parameter to install the service. Parameters that are given to this installation command are memorized 'somewhere' and used to run the service.
To know what parameter are given to service, you have 3 options 1- download source code of tomcat windows installer and look how it invoke this service wrapper 2- dive in registry (probably using the common daemon docs) to find out where it store invocation parameters 3- wait for an expert to answer your question Sorry for not diving myself further, am not using windows, i just took a look at source code out of curiosity. Good luck [EMAIL PROTECTED] a écrit : > Ok....so back to my original question! ;-) > > Any idea what's hidden in tomcat5.exe that is different from running > startup.bat, and prevents Cobertura from recognizing when the server is > shutdown? > > cheers, > > David > x54680 > > > > "Caldarale, > Charles R" > <Chuck.Caldarale@ To > unisys.com> "Tomcat Users List" > <users@tomcat.apache.org> > 02/20/2007 11:59 cc > AM > Subject > RE: Tomcat & Cobertura > Please respond to > "Tomcat Users > List" > <[EMAIL PROTECTED] > che.org> > > > > > > >> From: Sheets, Jerald [mailto:[EMAIL PROTECTED] >> Subject: RE: Tomcat & Cobertura >> >> Startup.bat calls catalina.bat which calls tomcat5.exe >> > > You apparently haven't actually looked at the scripts. The catalina.bat > script does not use tomcat5.exe; it starts up Tomcat with the standard > Java launcher. > > The tomcat5.exe program is normally used only to run Tomcat as a > service, although there's nothing that stops it from being used from the > command prompt as an alternative launcher. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail > and its attachments from all computers. > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]