You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by BugRat Mail System <to...@cortexity.com> on 2000/11/10 17:23:28 UTC

BugRat Report #369 has been filed.

Bug report #369 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/369>

REPORT #369 Details.

Project: Tomcat
Category: Feature Requests
SubCategory: Enhancement
Class: suggest
State: received
Priority: medium
Severity: non-critical
Confidence: public
Environment: 
   Release: 3.1
   JVM Release: Java 1.2
   Operating System: HP/UX
   OS Release: 11.0
   Platform: HP

Synopsis: 
tomcat.sh needs to handle start_msg and stop_msg args for System V style init scripts

Description:
To make tomcat.sh work in the System V style start/stop script environment, it needs to handle the arguments "start_msg" and "stop_msg" something like this:

if [ "$1" = "start_msg" ]; then
  shift
  echo "Starting Tomcat Servlet Engine"

elif [ "$1" = "stop_msg" ]; then
  shift
  echo "Stopping Tomcat Servlet Engine"

elif [ "$1" = "start" ] ; then
  shift
  echo Using classpath: ${CLASSPATH}

Otherwise, tomcat.sh will see these as invalid arguments and abort. HP/UX's init program passes these arguments to its rc scripts automatically.