Show Table of Contents
23.2.4. Bean プールの編集
管理コンソールを使用して Bean プールを編集することが可能です。
手順23.5 管理コンソールを使用した Bean プールの編集
- 管理コンソールへログインします。「管理コンソールへのログイン」 を参照してください。
- 画面上部にある タブをクリックします。 メニューを展開し、 を選択します。 タブを選択します。
- 編集する Bean プールを選択します。
- をクリックします。
- 変更する詳細を編集します。Max Pool Size、Timeout の値、および Timeout Unit が変更可能です。
- をクリックして終了します。
手順23.6 CLI を使用した Bean プールの編集
- CLI ツールを起動し、サーバーに接続します。「管理 CLI を使用した管理対象サーバーインスタンスへの接続」を参照してください。
- Bean プールの各属性を変更するために、次の構文で
write-attribute操作を使用します。/subsystem=ejb3/strict-max-bean-instance-pool=BEANPOOLNAME:write-attribute(name="ATTRIBUTE", value="VALUE")
- BEANPOOLNAME を Bean プールの必要な名前に置き換えます。
- ATTRIBUTE を、編集する属性の名前に置き換えます。このように編集できる属性は、
max-pool-size、timeout、およびtimeout-unitです。 - VALUE を属性の必要な値に置き換えます。
read-resource操作を使用して Bean プールの変更を確認します。/subsystem=ejb3/strict-max-bean-instance-pool=BEANPOOLNAME:read-resource
例23.4 CLI を使用した Bean プールのタイムアウト値の設定
[standalone@localhost:9999 /] /subsystem=ejb3/strict-max-bean-instance-pool=HSBeanPool:write-attribute(name="timeout", value="1500")
{"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.