Commons Daemon
  1. Commons Daemon
  2. DAEMON-49

[daemon] numeric and multiple parameter arguments are not read from environment

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.0.2
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: PC

      Description

      prunsrv does not read numeric or multiple parameter arguments from the
      environment properly.

      e.g.
      set PR_STOPPARAMS=stop
      set PR_STOPTIMEOUT=20
      prunsrv //IS//XXX

      will result in the service XXX having neither value set, only ordinary string
      parameters work e.g. set PR_STDERROR=auto

      Such parameters can be set on the command line as a workaround.

        Activity

        Hide
        Robert Longson added a comment -

        Created an attachment (id=15420)
        add code to read numeric variables and correct code which reads multiple string
        variables

        Show
        Robert Longson added a comment - Created an attachment (id=15420) add code to read numeric variables and correct code which reads multiple string variables
        Hide
        Mark Thomas added a comment -

        When this get fixed, remember to remove the associated warning from the Tomcat docs.

        Show
        Mark Thomas added a comment - When this get fixed, remember to remove the associated warning from the Tomcat docs.
        Hide
        Mladen Turk added a comment -

        Applied the provided patch. Thanks

        Show
        Mladen Turk added a comment - Applied the provided patch. Thanks
        Hide
        Greg Knox added a comment -

        If this is fixed, it would be nice if the documentation at http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html no longer referred to this bug.

        Show
        Greg Knox added a comment - If this is fixed, it would be nice if the documentation at http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html no longer referred to this bug.
        Hide
        Juanal added a comment -

        Tomcat 7's documentation still mentions this bug here: http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html. Following Greg Knox's comment, it would be nice to have this removed if it's no longer an issue.

        Show
        Juanal added a comment - Tomcat 7's documentation still mentions this bug here: http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html . Following Greg Knox's comment, it would be nice to have this removed if it's no longer an issue.
        Hide
        Juanal added a comment -

        I've just been told the documentation has been changed on the repository and will be visible on the online documentation on the next release. See https://issues.apache.org/bugzilla/show_bug.cgi?id=53251#add_comment

        Show
        Juanal added a comment - I've just been told the documentation has been changed on the repository and will be visible on the online documentation on the next release. See https://issues.apache.org/bugzilla/show_bug.cgi?id=53251#add_comment

          People

          • Assignee:
            Unassigned
            Reporter:
            Robert Longson
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development