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

Cannot modify default-mdb-instance-pool through CLI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 21.0.0.Final
    • EJB
    • None
    • closing it as dupliate of WFLY-13973.
    • ---
    • ---

      W're using the CLI to configure the messaging system. As of WF21 we're getting the following error:

      [standalone@localhost:9990 /] /subsystem=ejb3:write-attribute(name="default-mdb-instance-pool", value="mdb-strict-max-pool")
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0158: Operation handler failed: java.lang.IllegalStateException: WFLYCTL0365: Capability 'org.wildfly.ejb3.pool-config.mdb-default' is unknown in context 'global'.",
          "rolled-back" => true
      }
      

      This should append the bean-instance-pool-ref element:

                  <mdb>
                      <resource-adapter-ref resource-adapter-name="${ejb.resource-adapter-name:activemq-ra.rar}"/>
                      <bean-instance-pool-ref pool-name="mdb-strict-max-pool"/>
                  </mdb>
      

      According to the docs the api has not changed: https://docs.wildfly.org/21/wildscribe/subsystem/ejb3/index.html#attr-default-mdb-instance-pool

              cfang@redhat.com Cheng Fang
              rjd.vandenbogaard Robin van den Bogaard (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: