source: nutchez-0.1/tomcat/webapps/docs/windows-service-howto.html @ 186

Last change on this file since 186 was 66, checked in by waue, 16 years ago

NutchEz - an easy way to nutch

File size: 22.8 KB
Line 
1<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 - Windows service HOW-TO</title><meta value="Mladen Turk" name="author"><meta value="mturk@apache.org" name="email"></head><body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff"><table cellspacing="0" width="100%" border="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img border="0" alt="
2      The Apache Tomcat Servlet/JSP Container
3    " align="right" src="./images/tomcat.gif"></a></td><td><font face="arial,helvetica,sanserif"><h1>Apache Tomcat 6.0</h1></font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img border="0" alt="Apache Logo" align="right" src="./images/asf-logo.gif"></a></td></tr></table><table cellspacing="4" width="100%" border="0"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade></td></tr><tr><!--LEFT SIDE NAVIGATION--><td nowrap="true" valign="top" width="20%"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td align="left" valign="top" width="80%"><table cellspacing="4" width="100%" border="0"><tr><td valign="top" align="left"><h1>Apache Tomcat 6.0</h1><h2>Windows service HOW-TO</h2></td><td nowrap="true" valign="top" align="right"><small><a href="printer/windows-service-howto.html"><img alt="Printer Friendly Version" border="0" src="./images/printer.gif"><br>print-friendly<br>version
4                    </a></small></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="NOTICE"><strong>NOTICE</strong></a></font></td></tr><tr><td><blockquote>
5<p>
6    <b>This section of the documentation applies to procrun 1.0, and is now obsolete.</b>
7</p>
8</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Tomcat6 service application"><strong>Tomcat6 service application</strong></a></font></td></tr><tr><td><blockquote>
9<p>
10    <b>Tomcat6</b> is a service application for running Tomcat6 as NT service.
11</p>
12</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Tomcat6w monitor application"><strong>Tomcat6w monitor application</strong></a></font></td></tr><tr><td><blockquote>
13<p>
14    <b>Tomcat6w</b> is a GUI application for monitoring and configuring Tomcat
15    services.
16</p>   
17    <p>The available command line options are:</p>
18<p> 
19    <table>
20    <tr><th>//ES//</th>
21        <td>Edit service configuration</td>
22        <td>This is the default operation. It is called if the no option is
23            provided but the executable is renamed to <b>servicenameW.exe</b></td>
24    </tr>
25    <tr><th>//MS//</th>
26        <td>Monitor service</td>
27        <td>Put the icon in the system try</td>
28    </tr>
29    </table>
30</p>
31</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Command line arguments"><strong>Command line arguments</strong></a></font></td></tr><tr><td><blockquote>
32<p>
33    Each command line directive is in the form of <b>//XX//ServiceName</b>
34</p>
35    <p>The available command line options are:</p>
36<p> 
37    <table>
38    <tr><th>//TS//</th>
39        <td>Run the service as console application</td>
40        <td>This is the default operation. It is called if the no option is
41            provided. The ServiceName is the name of the executable without
42            exe sufix, meaning Tomcat6</td>
43    </tr>
44    <tr><th>//RS//</th>
45        <td>Run the service</td>
46        <td>Called only from ServiceManager</td>
47    </tr>
48    <tr><th>//SS//</th>
49        <td>Stop the service</td>
50        <td></td>
51    </tr>
52    <tr><th>//US//</th>
53        <td>Update service parameters</td>
54        <td></td>
55    </tr>
56    <tr><th>//IS//</th>
57        <td>Install service</td>
58        <td></td>
59    </tr>
60    <tr><th>//DS//</th>
61        <td>Delete service</td>
62        <td>Stops the service if running</td>
63    </tr>       
64    </table>
65</p> 
66</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Command line parameters"><strong>Command line parameters</strong></a></font></td></tr><tr><td><blockquote>
67<p>
68    Each command parameter is prefixed with <b>--</b>.
69    If the command line is prefixed with <b>++</b> then it's value will
70    be appended to the existing option.
71    If the environment variable with the same name as command line parameter but
72    prefixed with <code>PR_</code> exists it will take precedence.
73    For example:
74<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>set PR_CLASSPATH=xx.jar</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
75</p>   
76<p>is equivalent to providing
77<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>--Classpath=xx.jar</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
78</p>
79<p> as command line parameter.</p>
80<p> 
81    <table>
82    <tr>
83    <th>ParameterName</th>
84  <th>Default</th>
85  <th>Description</th>
86  </tr> 
87    <tr>
88    <td>--Description</td>
89    <td></td>
90    <td>Service name description (maximum 1024 characters)</td>
91    </tr>
92    <tr>
93    <td>--DisplayName</td>
94    <td>ServiceName</td>
95    <td>Service display name</td>
96    </tr>
97    <tr>
98    <td>--Install</td>
99    <td>procrun.exe //RS//ServiceName</td>
100    <td>Install image</td>
101    </tr>
102    <tr>
103    <td>--Startup</td>
104    <td>manual</td>
105    <td>Service startup mode can be either <b>auto</b> or <b>manual</b></td>
106    </tr>
107    <tr>
108    <td>--DependsOn</td>
109    <td></td>
110    <td>List of services that this service depend on. Dependent services
111        are separated using either <b>#</b> or <b>;</b> characters</td>
112    </tr>
113    <tr>
114    <td>--Environment</td>
115    <td></td>
116    <td>List of environment variables that will be provided to the service
117        in the form <b>key=value</b>. They are separated using either
118        <b>#</b> or <b>;</b> characters</td>
119    </tr>
120    <tr>
121    <td>--User</td>
122    <td></td>
123    <td>User account used for running executable. It is used only for
124      StartMode <b>java</b> or <b>exe</b> and enables running applications
125      as service under account without LogonAsService privilege.</td>
126    </tr>
127    <tr>
128    <td>--Password</td>
129    <td></td>
130    <td>Password for user account set by --User parameter</td>
131    </tr>
132    <tr>
133    <td>--JavaHome</td>
134    <td>JAVA_HOME</td>
135    <td>Set a different JAVA_HOME then defined by JAVA_HOME environment
136        variable</td>
137    </tr>
138    <tr>
139    <td>--Jvm</td>
140    <td>auto</td>
141    <td>Use either <b>auto</b> or specify the full path to the <b>jvm.dll</b>.
142        You can use the environment variable expansion here.</td>
143    </tr>
144    <tr>
145    <td>--JvmOptions</td>
146    <td>-Xrs</td>
147    <td>List of options in the form of <b>-D</b> or <b>-X</b> that will be
148        passed to the JVM. The options are separated using either
149        <b>#</b> or <b>;</b> characters.</td>
150    </tr>
151    <tr>
152    <td>--Classpath</td>
153    <td></td>
154    <td>Set the Java classpath</td>
155    </tr>
156    <tr>
157    <td>--JvmMs</td>
158    <td></td>
159    <td>Initial memory pool size in MB</td>
160    </tr>
161    <tr>
162    <td>--JvmMx</td>
163    <td></td>
164    <td>Maximum memory pool size in MB</td>
165    </tr>
166    <tr>
167    <td>--JvmSs</td>
168    <td></td>
169    <td>Thread stack size in KB</td>
170    </tr>
171    <tr>
172    <tr>
173    <td>--StartImage</td>
174    <td></td>
175    <td>Executable that will be run.</td>
176    </tr>
177    <tr>
178    <td>--StartPath</td>
179    <td></td>
180    <td>Working path for the start image executable.</td>
181    </tr>
182    <tr>
183    <td>--StartClass</td>
184    <td></td>
185    <td>Class that will be used for startup.</td>
186    </tr>
187    <tr>
188    <td>--StartParams</td>
189    <td></td>
190    <td>List of parameters that will be passed to either StartImage or
191        StartClass. Parameters are separated using either <b>#</b> or
192        <b>;</b> character.</td>
193    </tr>
194    <tr>
195    <td>--StartMethod</td>
196    <td>Main</td>
197    <td>Method name if differs then main</td>
198    </tr>
199    <tr>
200    <td>--StartMode</td>
201    <td>executable</td>
202    <td>Can one of <b>jvm</b> <b>java</b> or <b>exe</b></td>
203    </tr>
204    <td>--StopImage</td>
205    <td></td>
206    <td>Executable that will be run on Stop service signal.</td>
207    </tr>
208    <tr>
209    <td>--StopPath</td>
210    <td></td>
211    <td>Working path for the stop image executable.</td>
212    </tr>
213    <tr>
214    <td>--StopClass</td>
215    <td></td>
216    <td>Class that will be used on Stop service signal.</td>
217    </tr>
218    <tr>
219    <td>--StopParams</td>
220    <td></td>
221    <td>List of parameters that will be passed to either StopImage or
222        StopClass. Parameters are separated using either <b>#</b> or
223        <b>;</b> character.</td>
224    </tr>
225    <tr>
226    <td>--StopMethod</td>
227    <td>Main</td>
228    <td>Method name if differs then main</td>
229    </tr>
230    <tr>
231    <td>--StopMode</td>
232    <td>executable</td>
233    <td>Can one of <b>jvm</b> <b>java</b> or <b>exe</b></td>
234    </tr>
235    <tr>
236    <td>--StopTimeout</td>
237    <td>No Timeout</td>
238    <td>Defines the timeout in seconds that procrun waits for service to
239        exit gracefully.</td>
240    </tr>
241    <tr>
242    <td>--LogPath</td>
243    <td>working path</td>
244    <td>Defines the path for logging</td>
245    </tr>
246    <tr>
247    <td>--LogPrefix</td>
248    <td>jakarta_service</td>
249    <td>Defines the service log filename</td>
250    </tr>
251    <tr>
252    <td>--LogLevel</td>
253    <td>INFO</td>
254    <td>Defines the logging level and can be either <b>error</b>,
255        <b>info</b>, <b>warn</b> or <b>debug</b></td>
256    </tr>
257    <tr>
258    <td>--StdOutput</td>
259    <td></td>
260    <td>Redirected stdout filename</td>
261    </tr>
262    <tr>
263    <td>--StdError</td>
264    <td></td>
265    <td>Redirected stderr filename</td>
266    </tr>   
267    </table>
268</p> 
269</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Installing services"><strong>Installing services</strong></a></font></td></tr><tr><td><blockquote>
270<p>
271The safest way to manually install the service is to use the provided <b>service.bat</b> script.
272</p>
273<p>
274<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>
275Install the service named 'Tomcat6'
276C:\&gt; service.bat install
277</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
278</p>
279<p>
280If using tomcat6.exe, you need to use the <b>//IS//</b> parameter.
281</p>
282<p>
283<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>
284Install the service named 'Tomcat6'
285C:\&gt; tomcat6 //IS//Tomcat6 --DisplayName="Apache Tomcat 6" \
286C:\&gt; --Install="C:\Program Files\Tomcat\bin\tomcat6.exe" --Jvm=auto \
287C:\&gt; --StartMode=jvm --StopMode=jvm \
288C:\&gt; --StartClass=org.apache.catalina.startup.Bootstrap --StartParams=start \
289C:\&gt; --StopClass=org.apache.catalina.startup.Bootstrap --StopParams=stop
290</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
291</p>
292</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Updating services"><strong>Updating services</strong></a></font></td></tr><tr><td><blockquote>
293<p>
294To update the service parameters, you need to use the <b>//US//</b> parameter.
295</p>
296<p>
297<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>
298Update the service named 'Tomcat6
299C:\&gt; tomcat6 //US//Tomcat6 --Description="Apache Tomcat Server - http://tomcat.apache.org/ " \
300C:\&gt; --Startup=auto --Classpath=%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar
301</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
302</p>
303</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Removing services"><strong>Removing services</strong></a></font></td></tr><tr><td><blockquote>
304<p>
305To remove the service, you need to use the <b>//DS//</b> parameter.<br>
306If the service is running it will be stopped and then deleted.
307</p>
308<p>
309<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>
310Remove the service named 'Tomcat6'
311C:\&gt; tomcat6 //DS//Tomcat6
312</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
313</p>
314</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Debugging services"><strong>Debugging services</strong></a></font></td></tr><tr><td><blockquote>
315<p>
316To run the service in console mode, you need to use the <b>//TS//</b> parameter.
317The service shutdown can be initiated by pressing <b>CTRL+C</b> or
318<b>CTRL+BREAK</b>.
319If you rename the tomcat6.exe to testservice.exe then you can just execute the
320testservice.exe and this command mode will be executed by default.
321</p>
322<p>
323<div align="left"><table border="0" cellpadding="0" cellspacing="4"><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#ffffff"><pre>
324Run the service named 'Tomcat6' in console mode
325C:\&gt; tomcat6 //TS//Tomcat6 [additional arguments]
326Or simply execute:
327C:\&gt; tomcat6
328</pre></td><td width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr><tr><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td><td height="1" width="1" bgcolor="#023264"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./images/void.gif"></td></tr></table></div>
329</p>
330</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font size="-1" color="#525D76"><em>
331        Copyright &copy; 1999-2008, Apache Software Foundation
332        </em></font></div></td></tr></table></body></html>
Note: See TracBrowser for help on using the repository browser.