Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6372

Prevent qpid-server.bat modifying the environment of its calling command shell

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.18, 0.22, 0.30
    • Fix Version/s: 0.31
    • Component/s: Broker-J
    • Labels:
      None

      Description

      Running qpid-server.bat currently has side effects on the environment of its caller. The changes it makes to environment variables such as QPID_HOME, CLASSPATH etc become visible in the environment of the caller. This can cause surprising results when the user later tries to run other programs including other versions of Qpid within the same command window.

      The batch file should use SETLOCAL to localise environment changes.

        Attachments

          Activity

            People

            • Assignee:
              kwall Keith Wall
              Reporter:
              kwall Keith Wall
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: