Qpid
  1. Qpid
  2. QPID-168

qpid-server.bat needs updated to support same arguments/features as qpid-server (via qpid-run) bash script

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: M1, M2
    • Fix Version/s: M3
    • Component/s: Java Common
    • Labels:
      None

      Description

      The qpid-server bash script passes it's arguments through to qpid-run, which allows various arguments and options to be set for such things as using external classpaths, setting options required for the management modules etc etc (long list !).

      However, the qpid-server.bat script has not been kept in step and lags behind significantly in terms of features. It needs to be udpated to support the same set of features that the qpid-run script provides. Note that QPID-14 is currently outstanding which would make updating the bat script easier to complete as it'd provide a list of features to match.

      Note that it's been reported that the QPID_OPTS param is not picked up by the qpid-server.bat script. QPID_ARGS works ok, but only useful for passing options to the server's main class.

      1. qpid-server-bat.diff
        6 kB
        Suran Jayathilaka

        Activity

        Hide
        Marnie McCormack added a comment -

        Fix applied for QPID_OPTS issue - users can now set it as per the wiki instructions (http://cwiki.apache.org/confluence/display/qpid/Qpid+Management+Console) and it'll be picked up.

        Script still needs much work to replicate bach equivalent though.

        Show
        Marnie McCormack added a comment - Fix applied for QPID_OPTS issue - users can now set it as per the wiki instructions ( http://cwiki.apache.org/confluence/display/qpid/Qpid+Management+Console ) and it'll be picked up. Script still needs much work to replicate bach equivalent though.
        Hide
        Suran Jayathilaka added a comment -

        Added
        QPID_WORK setting
        -run argument parsing ability
        QPID_JAVA_GC, QPID_JAVA_MEM options etc.

        It would be great if someone could pick this up and give it a good run through.

        Show
        Suran Jayathilaka added a comment - Added QPID_WORK setting -run argument parsing ability QPID_JAVA_GC, QPID_JAVA_MEM options etc. It would be great if someone could pick this up and give it a good run through.
        Hide
        Marnie McCormack added a comment -

        Applied an amended version of Suran's supplied patch, with a couple of fixes:

        • setting classpath to include qpid-incubating.jar as per the qpid-server script
        • some oddity around the use of equals on windows (treated as a delimiter) thus the external-classpath options were not working.
        Show
        Marnie McCormack added a comment - Applied an amended version of Suran's supplied patch, with a couple of fixes: setting classpath to include qpid-incubating.jar as per the qpid-server script some oddity around the use of equals on windows (treated as a delimiter) thus the external-classpath options were not working.

          People

          • Assignee:
            Unassigned
            Reporter:
            Marnie McCormack
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development