Author: markt Date: Wed Jan 17 15:15:27 2018 New Revision: 1821381 URL: http://svn.apache.org/viewvc?rev=1821381&view=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=62006 Document the new JvmOptions9 command line parameter for tomcat9.exe
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=1821381&r1=1821380&r2=1821381&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Wed Jan 17 15:15:27 2018 @@ -81,6 +81,14 @@ </add> </changelog> </subsection> + <subsection name="Web applications"> + <changelog> + <fix> + <bug>62006</bug>: Document the new <code>JvmOptions9</code> command line + parameter for <code>tomcat9.exe</code>. (markt) + </fix> + </changelog> + </subsection> </section> <section name="Tomcat 9.0.3 (markt)" rtext="release in progress"> <subsection name="Catalina"> Modified: tomcat/trunk/webapps/docs/windows-service-howto.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/windows-service-howto.xml?rev=1821381&r1=1821380&r2=1821381&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/windows-service-howto.xml (original) +++ tomcat/trunk/webapps/docs/windows-service-howto.xml Wed Jan 17 15:15:27 2018 @@ -97,9 +97,9 @@ </section> <section name="Command line parameters"> <p> - Each command parameter is prefixed with <b>--</b>. - If the command line is prefixed with <b>++</b> then it's value will - be appended to the existing option. + Each command line parameter is prefixed with <b>--</b>. If the command line + parameter is prefixed with <b>++</b> then it's value will be appended to the + existing option. If the environment variable with the same name as command line parameter but prefixed with <code>PR_</code> exists it will take precedence. For example:</p> @@ -136,13 +136,13 @@ <td>Service startup mode can be either <b>auto</b> or <b>manual</b></td> </tr> <tr> - <td>++DependsOn</td> + <td>--DependsOn</td> <td></td> <td>List of services that this service depend on. Dependent services are separated using either <b>#</b> or <b>;</b> characters</td> </tr> <tr> - <td>++Environment</td> + <td>--Environment</td> <td></td> <td>List of environment variables that will be provided to the service in the form <b>key=value</b>. They are separated using either @@ -176,11 +176,22 @@ You can use the environment variable expansion here.</td> </tr> <tr> - <td>++JvmOptions</td> + <td>--JvmOptions</td> <td>-Xrs</td> <td>List of options in the form of <b>-D</b> or <b>-X</b> that will be passed to the JVM. The options are separated using either - <b>#</b> or <b>;</b> characters. (Not used in <b>exe</b> mode.)</td> + <b>#</b> or <b>;</b> characters. If you need to embed either <b>#</b> or + <b>;</b> characters, put them inside single quotes. (Not used in + <b>exe</b> mode.)</td> + </tr> + <tr> + <td>--JvmOptions9</td> + <td></td> + <td>List of options in the form of <b>-D</b> or <b>-X</b> that will be + passed to the JVM when running on Java 9 or later. The options are + separated using either <b>#</b> or <b>;</b> characters. If you need to + embed either <b>#</b> or <b>;</b> characters, put them inside single + quotes. (Not used in <b>exe</b> mode.)</td> </tr> <tr> <td>--Classpath</td> @@ -239,7 +250,7 @@ <td>Method name if differs then main</td> </tr> <tr> - <td>++StartParams</td> + <td>--StartParams</td> <td></td> <td>List of parameters that will be passed to either StartImage or StartClass. Parameters are separated using either <b>#</b> or @@ -275,7 +286,7 @@ <td>Method name if differs then main</td> </tr> <tr> - <td>++StopParams</td> + <td>--StopParams</td> <td></td> <td>List of parameters that will be passed to either StopImage or StopClass. Parameters are separated using either <b>#</b> or --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org