Author: schultz
Date: Wed Sep 28 21:05:48 2016
New Revision: 1762710
URL: http://svn.apache.org/viewvc?rev=1762710&view=rev
Log:
Add startup script documentation clarifying the (non) use of enviroment
variables when Tomcat is launched as a Windows Service.
Modified:
tomcat/trunk/bin/catalina.bat
tomcat/trunk/webapps/docs/changelog.xml
Modified: tomcat/trunk/bin/catalina.bat
URL:
http://svn.apache.org/viewvc/tomcat/trunk/bin/catalina.bat?rev=1762710&r1=1762709&r2=1762710&view=diff
==============================================================================
--- tomcat/trunk/bin/catalina.bat (original)
+++ tomcat/trunk/bin/catalina.bat Wed Sep 28 21:05:48 2016
@@ -22,6 +22,16 @@ rem
rem Do not set the variables in this script. Instead put them into a script
rem setenv.bat in CATALINA_BASE/bin to keep your customizations separate.
rem
+rem WHEN RUNNING TOMCAT AS A WINDOWS SERVICE:
+rem Note that the environment variables that affect the behavior of this
+rem script will have no effect at all on Windows Services. As such, any
+rem local customizations made in a CATALINA_BASE/bin/setenv.bat script
+rem will also have no effect on Tomcat when launched as a Windows Service.
+rem The configuration that controls Windows Services is stored in the Windows
+rem Registry, and is most conveniently maintained using the "tomcatXw.exe"
+rem maintenance utility, where "X" is the major version of Tomcat you are
+rem running.
+rem
rem CATALINA_HOME May point at your Catalina "build" directory.
rem
rem CATALINA_BASE (Optional) Base directory for resolving dynamic portions
Modified: tomcat/trunk/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1762710&r1=1762709&r2=1762710&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Wed Sep 28 21:05:48 2016
@@ -174,6 +174,12 @@
<code>log4j-web*.jar</code> since it is <code>log4j-web*.jar</code>
that
contains the <code>ServletContainerInitializer</code>. (markt)
</fix>
+ <add>
+ Add documentation to the bin/catalina.bat script to remind users that
+ environment variables don't affect the configuration of Tomcat when
+ run as a Windows Service. Based upon a documentation patch by
+ James H.H. Lampert. (schultz)
+ </add>
</changelog>
</subsection>
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]