Qpid
  1. Qpid
  2. QPID-4801

No error reported on failure to open a configuration file

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.20
    • Fix Version/s: 0.23
    • Component/s: C++ Client
    • Labels:
      None

      Description

      A critical example of this is when a client app attempts to connect to the broker using SSL. If the qpidc.conf file is unreadable (the file permissions deny reading) then the Connection attempts to connect and fails. But rather than reporting the cause of the failure (that it was unable to load the connection configuration) it just repeatedly attempts to establish the connection.

        Activity

        Hide
        Justin Ross added a comment -
        Show
        Justin Ross added a comment - Released in Qpid 0.24, http://qpid.apache.org/releases/qpid-0.24/index.html
        Hide
        Chuck Rolke added a comment -

        Be careful adding QPID_LOG statements in the Options processing. Depending on where you are in configuring the logging itself QPID_LOG may produce core files. Maybe Alan can recall more specific restrictions or suggest another way out like writing to stderr. It's a circular issue when you can't read the file that describes where you want the logs written.

        Show
        Chuck Rolke added a comment - Be careful adding QPID_LOG statements in the Options processing. Depending on where you are in configuring the logging itself QPID_LOG may produce core files. Maybe Alan can recall more specific restrictions or suggest another way out like writing to stderr. It's a circular issue when you can't read the file that describes where you want the logs written.

          People

          • Assignee:
            Darryl L. Pierce
            Reporter:
            Darryl L. Pierce
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development