tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r795348 - /tomcat/trunk/webapps/docs/windows-service-howto.xml
Date Sat, 18 Jul 2009 11:53:41 GMT
Author: markt
Date: Sat Jul 18 11:53:41 2009
New Revision: 795348

URL: http://svn.apache.org/viewvc?rev=795348&view=rev
Log:
Fixed https://issues.apache.org/bugzilla/show_bug.cgi?id=41564
Updated Tomcat6 to Tomcat 7
I couldn't see anything obviously obsolete so I removed the warning.

Modified:
    tomcat/trunk/webapps/docs/windows-service-howto.xml

Modified: tomcat/trunk/webapps/docs/windows-service-howto.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/windows-service-howto.xml?rev=795348&r1=795347&r2=795348&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/windows-service-howto.xml (original)
+++ tomcat/trunk/webapps/docs/windows-service-howto.xml Sat Jul 18 11:53:41 2009
@@ -29,19 +29,14 @@
 
 <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>
@@ -305,22 +300,32 @@
 </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 @@
 </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 @@
 </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 @@
 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>



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


Mime
View raw message