Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-6690

Read-resource(include-runtime=true) fais on jms-bridge in domain mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 11.0.0.Alpha1
    • 10.0.0.Final
    • JMS
    • None

      /profile=full/subsystem=messaging-activemq/jms-bridge=bridge-mane-3:read-resource(include-runtime=true)
      {
      "outcome" => "failed",
      "rolled-back" => true
      }

      The server log

      [Host Controller] 15:30:49,150 ERROR
      [org.jboss.as.controller.management-operation]
      (management-handler-thread - 9) WFLYCTL0013: Operation
      ("read-attribute") failed - address: ([
      [Host Controller] ("profile" => "full"),
      [Host Controller] ("subsystem" => "messaging-activemq"),
      [Host Controller] ("jms-bridge" => "bridge-mane-3")
      [Host Controller] ]) - failure description: "WFLYCTL0216: Management resource '[
      [Host Controller] (\"profile\" => \"full\"),
      [Host Controller] (\"subsystem\" => \"messaging-activemq\"),
      [Host Controller] (\"jms-bridge\" => \"bridge-mane-3\")
      [Host Controller] ]' not found"

      Remove the include-runtime=true, it works.

      The issue lies with the "paused" and "started" runtime attributes whose read handler throws an exception if the bridge is not available in the runtime (that is the case in the profile).

              jmesnil1@redhat.com Jeff Mesnil
              jmesnil1@redhat.com Jeff Mesnil
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: