Author: kkolinko Date: Mon Apr 14 18:21:44 2014 New Revision: 1587272 URL: http://svn.apache.org/r1587272 Log: Print a warning in case if neither server nor client jvm is found by service.bat. Fix comments (addresses sebb's note in "Re: r1000718").
Modified: tomcat/trunk/bin/service.bat tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/bin/service.bat URL: http://svn.apache.org/viewvc/tomcat/trunk/bin/service.bat?rev=1587272&r1=1587271&r2=1587272&view=diff ============================================================================== --- tomcat/trunk/bin/service.bat (original) +++ tomcat/trunk/bin/service.bat Mon Apr 14 18:21:44 2014 @@ -128,12 +128,13 @@ echo Using CATALINA_BASE: "%CATALINA_ echo Using JAVA_HOME: "%JAVA_HOME%" echo Using JRE_HOME: "%JRE_HOME%" -rem Set the server jvm from JAVA_HOME +rem Try to use the server jvm set "JVM=%JRE_HOME%\bin\server\jvm.dll" if exist "%JVM%" goto foundJvm -rem Set the client jvm from JAVA_HOME +rem Try to use the client jvm set "JVM=%JRE_HOME%\bin\client\jvm.dll" if exist "%JVM%" goto foundJvm +echo Warning: Neither 'server' nor 'client' jvm.dll was found at JRE_HOME. set JVM=auto :foundJvm echo Using JVM: "%JVM%" Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1587272&r1=1587271&r2=1587272&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Mon Apr 14 18:21:44 2014 @@ -204,7 +204,8 @@ </scode> <fix> Align DisplayName of Tomcat installed by <code>service.bat</code> with - one installed by the *.exe installer. (kkolinko) + one installed by the *.exe installer. Print a warning in case if neither + server nor client jvm is found by <code>service.bat</code>. (kkolinko) </fix> </changelog> </subsection> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org