16.2.3. Remove a Bean Pool
Prerequisites:
- The bean pool that you want to remove cannot be in use. Refer to Section 16.2.5, “Assign Bean Pools for Session and Message-Driven Beans” to ensure that it is not being used.
Procedure 16.3. Remove a bean pool using the Management Console
- Login to the Management Console. Refer to Section 3.2.2, “Log in to the Management Console”.
- Click on in the top right, expand the item in the Profile panel on the left and select . Then select the tab from the main panel.

Figure 16.3. EJB3 Bean Pools Panel
- Select the bean pool to remove in the list.
- Click the button. The Remove Item dialog appears.
- Click the button to confirm deletion or click the link to abort the operation.If you click the button, the dialog will close and the bean pool will be deleted and removed from the list.If you click Cancel, the dialog will close and no changes will be made.
Procedure 16.4. Remove a bean pool using the CLI
- Launch the CLI tool and connect to your server. Refer to Section 3.3.4, “Connect to a Managed Server Instance Using the Management CLI”.
- Use the
removeoperation with the following syntax./subsystem=ejb3/strict-max-bean-instance-pool=BEANPOOLNAME:remove
- Replace BEANPOOLNAME with the required name for the bean pool.
Example 16.3. Removing a Bean Pool using the CLI
[standalone@localhost:9999 /] /subsystem=ejb3/strict-max-bean-instance-pool=ACCTS_BEAN_POOL:remove
{"outcome" => "success"}
[standalone@localhost:9999 /]
Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.