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:19:59 GMT
mturk       2004/09/05 00:19:59

  Modified:    catalina/src/bin service.bat
  Log:
  Use return values from procrun.
  Remove tools.jar from classpath.
  Add more verbosing.
  
  Revision  Changes    Path
  1.9       +14 -4     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.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- service.bat	12 Aug 2004 13:39:14 -0000	1.8
  +++ service.bat	5 Sep 2004 07:19:59 -0000	1.9
  @@ -75,11 +75,21 @@
   set PR_DESCRIPTION=Apache Tomcat Server - http://jakarta.apache.org/tomcat
   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
  +set PR_CLASSPATH=%CATALINA_HOME%\bin\bootstrap.jar
  +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