How to configure the ejb3 bean instance pool from the JBoss CLI and admin console in EAP 6?
Environment
- Red Hat JBoss Enterprise Application Platform(EAP)
- 6.x
Issue
- Unable to configure the ejb3 bean instance pool from the JBoss EAP admin console:
<subsystem xmlns="urn:jboss:domain:ejb3:1.4">
:
<mdb>
<resource-adapter-ref resource-adapter-name="activemq.rar"/>
<bean-instance-pool-ref pool-name="mdb-strict-max-pool"/>
</mdb>
:
</subsystem>
Resolution
- Below command helps to modify the bean-instance pool through JBoss CLI:
/subsystem=ejb3:write-attribute(name=default-resource-adapter-name,value="activemq.rar")
/subsystem=ejb3:write-attribute(name=default-mdb-instance-pool,value="mdb-strict-max-pool")
- There is an issue with the JBoss EAP 6.3.x admin console in configuring the bean instance pool. This is fixed in JBoss EAP 6.4.0Beta version
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
