Fixed https://issues.apache.org/bugzilla/show_bug.cgi?id=41564
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 18 Jul 2009 11:53:41 +0000 (11:53 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 18 Jul 2009 11:53:41 +0000 (11:53 +0000)
Updated Tomcat6 to Tomcat 7
I couldn't see anything obviously obsolete so I removed the warning.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@795348 13f79535-47bb-0310-9956-ffa450edef68

webapps/docs/windows-service-howto.xml

index ed87566..c50d5c0 100644 (file)
 
 <body>
  
-<section name="NOTICE">
+<section name="Tomcat7 service application">
 <p>
-    <b>This section of the documentation applies to procrun 1.0, and is now obsolete.</b>
+    <b>Tomcat7</b> is a service application for running Tomcat7 as NT service.
 </p>
 </section>
-<section name="Tomcat6 service application">
+<section name="Tomcat7w monitor application">
 <p>
-    <b>Tomcat6</b> is a service application for running Tomcat6 as NT service.
-</p>
-</section>
-<section name="Tomcat6w monitor application">
-<p>
-    <b>Tomcat6w</b> is a GUI application for monitoring and configuring Tomcat
+    <b>Tomcat7w</b> is a GUI application for monitoring and configuring Tomcat
     services.
 </p>    
     <p>The available command line options are:</p>
@@ -70,7 +65,7 @@
         <td>Run the service as console application</td>
         <td>This is the default operation. It is called if the no option is
             provided. The ServiceName is the name of the executable without
-            exe suffix, meaning Tomcat6</td>
+            exe suffix, meaning Tomcat7</td>
     </tr>
     <tr><th>//RS//</th>
         <td>Run the service</td>
 </section>
 <section name="Installing services">
 <p>
-The safest way to manually install the service is to use the provided <b>service.bat</b> script.
+The safest way to manually install the service is to use the provided
+<b>service.bat</b> script. Administrator privileges are required to run this
+script. If necessary, you can use the <code>/user</code> switch to specify
+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) you must either disable UAC or right-click on cmd.exe and
+select "Run as administrator" in order to run this script. If UAC is enabled
+neither being logged on with an Administrator account, nor using the
+<code>/user</code> switch is sufficient.  
 </p>
 <p>
 <source>
-Install the service named 'Tomcat6'
+Install the service named 'Tomcat7'
 C:\> service.bat install
 </source>
 </p>
 <p>
-If using tomcat6.exe, you need to use the <b>//IS//</b> parameter.
+If using tomcat7.exe, you need to use the <b>//IS//</b> parameter.
 </p>
 <p>
 <source>
-Install the service named 'Tomcat6'
-C:\> tomcat6 //IS//Tomcat6 --DisplayName="Apache Tomcat 6" \
-C:\> --Install="C:\Program Files\Tomcat\bin\tomcat6.exe" --Jvm=auto \
+Install the service named 'Tomcat7'
+C:\> tomcat7 //IS//Tomcat7 --DisplayName="Apache Tomcat 7" \
+C:\> --Install="C:\Program Files\Tomcat\bin\tomcat7.exe" --Jvm=auto \
 C:\> --StartMode=jvm --StopMode=jvm \
 C:\> --StartClass=org.apache.catalina.startup.Bootstrap --StartParams=start \
 C:\> --StopClass=org.apache.catalina.startup.Bootstrap --StopParams=stop
@@ -333,8 +338,8 @@ To update the service parameters, you need to use the <b>//US//</b> parameter.
 </p>
 <p>
 <source>
-Update the service named 'Tomcat6
-C:\> tomcat6 //US//Tomcat6 --Description="Apache Tomcat Server - http://tomcat.apache.org/ " \
+Update the service named 'Tomcat7'
+C:\> tomcat7 //US//Tomcat7 --Description="Apache Tomcat Server - http://tomcat.apache.org/ " \
 C:\> --Startup=auto --Classpath=%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar
 </source>
 </p>
@@ -346,8 +351,8 @@ If the service is running it will be stopped and then deleted.
 </p>
 <p>
 <source>
-Remove the service named 'Tomcat6'
-C:\> tomcat6 //DS//Tomcat6
+Remove the service named 'Tomcat7'
+C:\> tomcat7 //DS//Tomcat7
 </source>
 </p>
 </section>
@@ -356,15 +361,15 @@ C:\> tomcat6 //DS//Tomcat6
 To run the service in console mode, you need to use the <b>//TS//</b> parameter.
 The service shutdown can be initiated by pressing <b>CTRL+C</b> or
 <b>CTRL+BREAK</b>.
-If you rename the tomcat6.exe to testservice.exe then you can just execute the
+If you rename the tomcat7.exe to testservice.exe then you can just execute the
 testservice.exe and this command mode will be executed by default.
 </p>
 <p>
 <source>
-Run the service named 'Tomcat6' in console mode
-C:\> tomcat6 //TS//Tomcat6 [additional arguments]
+Run the service named 'Tomcat7' in console mode
+C:\> tomcat7 //TS//Tomcat7 [additional arguments]
 Or simply execute:
-C:\> tomcat6
+C:\> tomcat7
 </source>
 </p>
 </section>