Hello,
I need to make something like this in standalone.xml:
<
subsystem
xmlns
=
"urn:jboss:domain:ejb3:1.4"
>
. . . . .
<
mdb
>
<
resource-adapter-ref
resource-adapter-name
=
"activemq-rar.rar"
/>
<
bean-instance-pool-ref
pool-name
=
"mdb-strict-max-pool"
/>
</
mdb
>
</
subsystem
>
I tried to translate this section in CLI with :
/subsystem=ejb3/mdb=resource-adapter-ref:add(resource-adapter-name=activemq-rar.rar)
/subsystem=ejb3/mdb=bean-instance-pool-ref:add(pool-name=mdb-strict-max-pool)
But I didn't succeed :
Launching JBoss CLI script [/opt/jboss/wildfly/customization/6_jms.cli]
org.jboss.as.cli.CommandFormatException: Failed to get the list of the operation properties: "WFLYCTL0030: No resource definition is registered for address [
("subsystem" => "ejb3"),
("mdb" => "resource-adapter-ref")
]": Failed to get the list of the operation properties: "WFLYCTL0030: No resource definition is registered for address [
("subsystem" => "ejb3"),
("mdb" => "resource-adapter-ref")
]"
Regards,
GREGOIRE Alain.
Hi,
I think it would be these two commands:
/subsystem=ejb3:write-attribute(name=default-resource-adapter-name, value=activemq-rar.rar)
/subsystem=ejb3:write-attribute(name=default-mdb-instance-pool, value=mdb-strict-max-pool)