Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correctly compose JAVA_OPTS in catalina.bat so that escape sequences are preserved.
Patch by Lucas Theisen.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1622263 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
markt-asf committed Sep 3, 2014
1 parent a6bf3ee commit 6200d9b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/catalina.bat
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,12 @@ set LOGGING_CONFIG=-Dnop
if not exist "%CATALINA_BASE%\conf\logging.properties" goto noJuliConfig
set LOGGING_CONFIG=-Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties"
:noJuliConfig
set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%
set "JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%"

if not "%LOGGING_MANAGER%" == "" goto noJuliManager
set LOGGING_MANAGER=-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
:noJuliManager
set JAVA_OPTS=%JAVA_OPTS% %LOGGING_MANAGER%
set "JAVA_OPTS=%JAVA_OPTS% %LOGGING_MANAGER%"

rem ----- Execute The Requested Command ---------------------------------------

Expand Down
9 changes: 9 additions & 0 deletions webapps/docs/changelog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,15 @@
</fix>
</changelog>
</subsection>
<subsection name="Other">
<changelog>
<fix>
<bug>56895</bug>: Correctly compose <code>JAVA_OPTS</code> in
<code>catalina.bat</code> so that escape sequences are preserved. Patch
by Lucas Theisen. (markt)
</fix>
</changelog>
</subsection>
</section>
<section name="Tomcat 8.0.12 (markt)" rtext="2014-09-03">
<subsection name="Catalina">
Expand Down

0 comments on commit 6200d9b

Please sign in to comment.