Show Table of Contents
23.2.3. 删除 Bean 池
未使用的 Bean 池可以用管理控制台进行删除。
预备条件:
- 您要删除的 Bean 池不能正在被使用。请参考 第 23.2.5 节 “为 Session 和 Message-Driven Bean 分配 Bean 池” 以确保它没有被使用。
过程 23.3. 用管理控制台来删除 Bean 池
- 登录到管理控制台。请参考 第 3.4.2 节 “登录到管理控制台”。
- 点击屏幕顶部的 标签页。展开 菜单并选择 。然后选择 标签页。
- 从列表里选择要删除的 Bean 池。
- 点击 按钮。Remove Item 对话框将会出现。
- 点击 确认。
过程 23.4. 用 CLI 删除 Bean 池
- 登录 CLI 工具并连接到您的服务器。请参考 第 3.5.4 节 “用管理 CLI 连接受管服务器实例”。
- 使用
remove操作和下列语法。/subsystem=ejb3/strict-max-bean-instance-pool=BEANPOOLNAME:remove
- 用 Bean 池的名称替换 BEANPOOLNAME。
例 23.3. 用 CLI 删除 Bean 池
[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.