WebSphere Extended Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, z/OS

アプリケーション名とセッション EJB

区画は、アプリケーション名とセッション Enterprise JavaBeans (EJB) 名でグループ化されます。 区画化機能 PMI 統計を購読する際には、アプリケーション名とセッション EJB 名を 指定する必要があります。

wpfadmin.bat|wpfadmin setEJBName EJB_NAME [--a APPLICATION_NAME] --id PMI_SUBSCRIPTION_ID を使用すると、1 つの PMI 購読に対してセッション EJB 名とアプリケーション名を設定できます。 -a は、アプリケーション名を指定するときに使用します。

完全修飾 EJB 名を使用するかどうかを選択できます。 例えば、EJB 名を session2 に変更し、アプリケーション名を app2 に変更する場合は、次のどちらかのコマンドを実行します。
  • ./wpfadmin setEJBName app2#session2 --id 1
  • ./wpfadmin set EJBName session2 --a app2 --id 1

また、Java コード、jacl スクリプト、または jython スクリプトを使用して、 com.ibm.websphere.wpf.jmx.WPFJMX MBean インスタンスを取得し、 MBean を使用して統計タイプを変更することもできます。

  1. wpfadmin setEJBName WPFKeyBasedPartitionSample#NonExistentSessionBean --id 1 を実行します。NonExistentSessionBean EJB はアプリケーションには存在していないことに注意してください。
  2. 60 秒待ってから、wpfadmin getResponseTime --id 1 を実行して、 統計を取得します。しかし、期待通りの統計は得られません。
  3. wpfadmin setEJBName WPFKeyBasedPartitionSample#WPFKeyBasedPartition --id 1 を実行します。
  4. 60 秒待ってから、wpfadmin getResponseTime --id 1 を実行して、 統計を取得します。期待通りの統計が得られます。



Related concepts
区画化機能 PMI 統計パラメーター

Reference topic    

Terms of Use | Feedback Last updated: Mar 20, 2006 12:35:11 PM EST
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r0/index.jsp?topic=?topic=/com.ibm.websphere.xd.doc/info/WPF51/rwpfappejb.html

© Copyright IBM 2005, 2006. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)