cvs commit: jakarta-commons-sandbox/daemon/src/native/unix/native Tomcat.sh

2003-06-20 Thread billbarker
billbarker2003/06/20 21:25:49

  Modified:daemon/src/native/unix/native Tomcat.sh
  Log:
  Have the sample Tomcat script use the new outfile and errfile options.
  
  Revision  ChangesPath
  1.4   +2 -0  jakarta-commons-sandbox/daemon/src/native/unix/native/Tomcat.sh
  
  Index: Tomcat.sh
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/daemon/src/native/unix/native/Tomcat.sh,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Tomcat.sh 15 Jan 2003 11:10:01 -  1.3
  +++ Tomcat.sh 21 Jun 2003 04:25:49 -  1.4
  @@ -34,6 +34,8 @@
   -home $JAVA_HOME \
   -Dcatalina.home=$CATALINA_HOME \
   -Djava.io.tmpdir=$TMP_DIR \
  +-outfile $CATALINA_HOME/logs/catalina.out \
  +-errfile '&1' \
   $CATALINA_OPTS \
   -cp $CLASSPATH \
   org.apache.catalina.startup.BootstrapService
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/daemon/src/native/unix/native Tomcat.sh

2002-02-26 Thread jfclere

jfclere 02/02/26 14:30:30

  Modified:daemon/src/native/unix/native Tomcat.sh
  Log:
  Argh - Fix a typo -
  
  Revision  ChangesPath
  1.2   +1 -1  jakarta-commons-sandbox/daemon/src/native/unix/native/Tomcat.sh
  
  Index: Tomcat.sh
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/daemon/src/native/unix/native/Tomcat.sh,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Tomcat.sh 26 Feb 2002 22:22:04 -  1.1
  +++ Tomcat.sh 26 Feb 2002 22:30:30 -  1.2
  @@ -33,7 +33,7 @@
   -home $JAVA_HOME \
   -Dcatalina.home=$CATALINA_HOME \
   -Djava.io.tmpdir=$TMP_DIR \
  --cp $CLASSPATH
  +-cp $CLASSPATH \
   org.apache.catalina.startup.BootstrapService
   #
   # To get a verbose JVM
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-commons-sandbox/daemon/src/native/unix/native Tomcat.sh

2002-02-26 Thread jfclere

jfclere 02/02/26 14:22:04

  Added:   daemon/src/native/unix/native Tomcat.sh
  Log:
  rc like shell script to demonstrate the jsvc features.
  
  Revision  ChangesPath
  1.1  jakarta-commons-sandbox/daemon/src/native/unix/native/Tomcat.sh
  
  Index: Tomcat.sh
  ===
  #!/bin/sh
  #
  # Small shell script to show how to start/stop Tomcat using jsvc
  # If you want to have Tomcat running on port 80 please modify the server.xml
  # file:
  #
  #
  #
  #
  # You need a developement version of Tomcat (Apache Tomcat/4.1-dev)
  #
  # Adapt the following lines to your configuration
  JAVA_HOME=/usr/java/jdk1.3.1
  CATALINA_HOME=/home1/jakarta/jakarta-tomcat-4.1/build
  DAEMON_HOME=/home1/jakarta/jakarta-commons-sandbox/daemon
  TOMCAT_USER=jakarta
  TMP_DIR=/var/tmp
  CLASSPATH=\
  $JAVA_HOME/lib/tools.jar:\
  $DAEMON_HOME/dist/commons-daemon.jar:\
  $CATALINA_HOME/bin/bootstrap.jar
  
  case "$1" in
start)
  #
  # Start Tomcat
  #
  $DAEMON_HOME/dist/jsvc \
  -user $TOMCAT_USER \
  -home $JAVA_HOME \
  -Dcatalina.home=$CATALINA_HOME \
  -Djava.io.tmpdir=$TMP_DIR \
  -cp $CLASSPATH
  org.apache.catalina.startup.BootstrapService
  #
  # To get a verbose JVM
  #-verbose \
  # To get a debug of jsvc.
  #-debug \
  ;;
  
stop)
  #
  # Stop Tomcat
  #
  PID=`cat /var/run/jsvc.pid`
  kill $PID
  ;;
  
*)
  echo "Usage tomcat.sh start/stop"
  exit 1;;
  esac
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: