tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52750] New: daemon.sh does not allow to pass more than one option
Date Thu, 23 Feb 2012 17:31:19 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52750

             Bug #: 52750
           Summary: daemon.sh does not allow to pass more than one option
           Product: Tomcat 7
           Version: 7.0.26
          Platform: Macintosh
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Packaging
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: jeffmaury@jeffmaury.com
    Classification: Unclassified


The daemon.sh that is packaged with 7.0.26 does not allow to pass more than one
option (through the -- switch).
It appears that the shift statement inside a loop build from the command line
parameter does not work as the list has been build before.

Ex:
daemon.sh --catalina-pid /tmp/c.pid --tomcat-user x start

leads to the following error:

Usage: daemon.sh ( commands ... )
commands:
  run               Start Tomcat without detaching from console
  start             Start Tomcat
  stop              Stop Tomcat
  version           What version of commons daemon and Tomcat
                    are you running?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message