Author: kkolinko Date: Sun Feb 16 16:09:49 2014 New Revision: 1568786 URL: http://svn.apache.org/r1568786 Log: Fixing https://issues.apache.org/bugzilla/show_bug.cgi?id=56143 Update documentation and changelog.
Modified: tomcat/trunk/webapps/docs/changelog.xml tomcat/trunk/webapps/docs/windows-service-howto.xml Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1568786&r1=1568785&r2=1568786&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Sun Feb 16 16:09:49 2014 @@ -73,20 +73,29 @@ <subsection name="Other"> <changelog> <fix> - Use a single call to <code>tomcat8.exe</code> to install the Windows - service from <code>service.bat</code> rather than three calls. This is - preparatory work for fixing <bug>56079</bug> as each time - <code>tomcat8.exe</code> is called, a UAC dialog is displayed if UAC is - enabled. (markt) - </fix> - <fix> <bug>56115</bug>: Expose the <code>httpusecaches</code> property of Ant's <code>get</code> task as some users may need to change the default. Based on a suggestion by Anthony. (markt) </fix> + <fix> + <bug>56143</bug>: Improve <code>service.bat</code> so that it can be + launched from a non-UAC console. This includes using a single call to + <code>tomcat8.exe</code> to install the Windows service rather than + three calls, and using command line arguments instead of environment + variables to pass the settings. (markt/kkolinko) + </fix> <update> - Update Commons DBCP 2 to snapshot 173 dated 11 Feb 2014. (markt) + Update Commons DBCP 2 to snapshot 182 dated 14 Feb 2014. (markt) </update> + <scode> + Simplify Windows *.bat files: remove %OS% checks, as current java does + not run on ancient non-NT operating systems. (kkolinko) + </scode> + <fix> + Pass explicit value for log directory path when uninstalling Windows + service with "<code>service.bat remove</code>", avoiding default value + for that option. (kkolinko) + </fix> </changelog> </subsection> </section> Modified: tomcat/trunk/webapps/docs/windows-service-howto.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/windows-service-howto.xml?rev=1568786&r1=1568785&r2=1568786&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/windows-service-howto.xml (original) +++ tomcat/trunk/webapps/docs/windows-service-howto.xml Sun Feb 16 16:09:49 2014 @@ -308,18 +308,16 @@ script. If necessary, you can use the <c a user to use for the installation of the service. </p> <p> -<strong>NOTE:</strong> On Windows Vista or any other operating system with User -Account Control (UAC) enabled you must -<!-- either disable UAC or [NOTE: Disabling UAC is mostly not a good idea, -except on Windows Server OSes] --> -right-click on cmd.exe and -select "Run as administrator" in order to run this script. On Windows 8 (or later) or +<strong>NOTE:</strong> On Windows Vista or any later operating system with User +Account Control (UAC) enabled you will be asked for additional priviledges +when 'Tomcat<version-major/>.exe' is launched by the script.<br/> +If you want to pass additional options to service installer as +<code>PR_*</code> environment variables, you have to either configure them +globally in OS, or launch the program that sets them with elevated priviledges +(e.g. right-click on cmd.exe and select "Run as administrator"; on Windows 8 (or later) or Windows Server 2012 (or later), you can open an elevated command prompt for the current directory from the explorer -by clicking on the "File" menu bar.<br/> -If UAC is enabled, -neither being logged on with an Administrator account nor using the -<code>/user</code> switch is sufficient. +by clicking on the "File" menu bar). See issue <bug>56143</bug> for details. </p> <source>Install the service named 'Tomcat<version-major/>' --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org