tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evgeny Goldin <evge...@gmail.com>
Subject Re: Running Tomcat as service - is it possible to make "tomcat7.exe" run a batch file each time it starts?
Date Sun, 06 Mar 2011 17:32:37 GMT


Evgeny Goldin wrote:
> 
> I have Tomcat 7.0.8 successfully starting as a service on Windows machine.
> Back when it was running through "startup.bat" we put some code in
> "catalina.bat" which is now ignored by "tomcat7.exe".
> 
> Are there any options to make Tomcat run our batch file somehow before it
> is started by the service?
> 


I can try "--Install" 
http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html service
option  and make service run "myBatch.bat" which in turn will invoke
"tomcat7.exe".
-- 
View this message in context: http://old.nabble.com/Running-Tomcat-as-service---is-it-possible-to-make-%22tomcat7.exe%22-run-a-batch-file-each-time-it-starts--tp31081552p31081596.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message