tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Hunt" <robert-h...@comcast.net>
Subject RE: Server JVM with service startup
Date Wed, 18 Aug 2004 18:45:57 GMT
You could use SRVANY.exe (typically found in the WinNT/2K/XP Resource Kit)
as it provides the "shell" (and I use the term loosely) to run any .bat,
.cmd or .exe as an NT/2K/XP service.  You'd also like to use SRVINSTW.exe
(also a ResKit item) to define the service via GUI.  Unfortunately, then it
takes a little manual work in the Registry to supply the parameters to
SRVANY, but it's fairly easy to do.

While using an .exe that's built specifically as a Windows service is
cleaner, the advantage SRVANY gives you is the ability to define a
drive/directory location where the service runs (like the "Start in" option
for a shortcut).

-- RH


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message