Qpid
  1. Qpid
  2. QPID-4188

improve MBeanInvocationHandler to allow logging exceptions/errors thrown during JMX operations

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.6, 0.8, 0.10, 0.12, 0.14, 0.16
    • Fix Version/s: 0.19
    • Component/s: Java Broker
    • Labels:
      None

      Description

      In some situations we may not have managed to log any exception in the Broker log before the exception reaches the JMX invocation layer and is sent to the client (where it may or may not be deserialized depending on the type of the exception).

      We should modify MBeanInvocationHandler to allow logging all target exceptions/errors as a fallback.

        Activity

        Hide
        Alex Rudyy added a comment -

        Attached a patch resolving the issue

        Show
        Alex Rudyy added a comment - Attached a patch resolving the issue
        Hide
        Alex Rudyy added a comment -

        Robbie,

        Could you please commit the patch?

        Show
        Alex Rudyy added a comment - Robbie, Could you please commit the patch?
        Hide
        Philip Harvey added a comment -

        code reviewed - looks good to me

        Show
        Philip Harvey added a comment - code reviewed - looks good to me
        Hide
        Robbie Gemmell added a comment -

        Patch applied.

        Show
        Robbie Gemmell added a comment - Patch applied.

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Alex Rudyy
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development