tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: Tomcat 7.0.39 windows service setenv not used
Date Wed, 24 Apr 2013 20:50:48 GMT
2013/4/25 Satyendra Singh <>:
> I have created multiple windows services and for one of the service, i have
> -Dcatalina.base=C:\servers\applications\service1
> -Dcatalina.home=C:\servers\apache-tomcat-7.0.39
> i have C:\servers\applications\service1\bin\setenv.bat where i have
> set JAVA_HOME= C:\....
> Set JAVA_OPTS=-D......
> set CATALINA_OPTS=-Xms.....
> running service1 does not seem to use these values, it only use those that
> i can see at  tomcat7w.exe on this service.

As documented,
All the environment variables described here and the "setenv" script are
used only if you use the standard scripts to launch Tomcat. For example, if
you have installed Tomcat as a service on Windows, the service wrapper
launches Java directly and does not use the script files.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message