tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/bin service.bat
Date Sun, 05 Sep 2004 07:57:57 GMT
mturk       2004/09/05 00:57:57

  Modified:    catalina/src/bin Tag: TOMCAT_5_0 service.bat
  Log:
  Backport from HEAD preserving tools.jar in classpath.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.5.2.2   +13 -3     jakarta-tomcat-catalina/catalina/src/bin/service.bat
  
  Index: service.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/bin/service.bat,v
  retrieving revision 1.5.2.1
  retrieving revision 1.5.2.2
  diff -u -r1.5.2.1 -r1.5.2.2
  --- service.bat	23 Aug 2004 22:54:32 -0000	1.5.2.1
  +++ service.bat	5 Sep 2004 07:57:57 -0000	1.5.2.2
  @@ -76,10 +76,20 @@
   set PR_INSTALL=%EXECUTABLE%
   set PR_LOGPATH=%CATALINA_HOME%\logs
   set PR_CLASSPATH=%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar
  -rem Set the server jvm frrom JAVA_HOME
  +rem Set the server jvm from JAVA_HOME
   set PR_JVM=%JAVA_HOME%\jre\bin\server\jvm.dll
  -rem You can use the 'set PR_JVM=auto' for default JVM
  +if exist "%PR_JVM%" goto foundJvm
  +rem Set the client jvm from JAVA_HOME
  +set PR_JVM=%JAVA_HOME%\jre\bin\client\jvm.dll
  +if exist "%PR_JVM%" goto foundJvm
  +set PR_JVM=auto
  +:foundJvm
  +echo Using JVM:              %PR_JVM%
   "%EXECUTABLE%" //IS//%SERVICE_NAME% --StartClass org.apache.catalina.startup.Bootstrap
--StopClass org.apache.catalina.startup.Bootstrap --StartParams start --StopParams stop
  +if not errorlevel 1 goto installed
  +echo Failed installing '%SERVICE_NAME%' service
  +goto end
  +:installed
   rem Clear the environment variables. They are not needed any more.
   set PR_DISPLAYNAME=
   set PR_DESCRIPTION=
  
  
  

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


Mime
View raw message