Liberty: JAX-WS のモニター
エンドポイント MXBean を使用して、Liberty の JAX-WS のモニターを行うことができます。
JAX-WS アプリケーションの各エンドポイントおよび操作のパフォーマンス・データが使用可能です。各 Web サービス・エンドポイントには独自の MXBean があります。
各エンドポイント MXBean を識別する ObjectName は、次のいずれかの形式である可能性があります。
org.apache.cxf:bus.id=<bus.name>,type=Performance.Counter.Server,service="<NameSpace><ServiceName>",port="<PortName>"
org.apache.cxf:bus.id=<bus.name>,type=Performance.Counter.Client,service="<NameSpace><ServiceName>",port="<PortName>"
以下に例を示します。org.apache.cxf:bus.id=JaxWsLibertyDemo-Server-Bus,type=Performance.Counter.Server,
service="{http://jaxws.samples/}SimpleEchoService",port="SimpleEchoPort"
org.apache.cxf:bus.id=JaxWsLibertyDemo-Server-Bus,type=Performance.Counter.Client,
service="{http://jaxws.samples/}SimpleEchoService",port="SimpleEchoPort"
この MXBean は、各エンドポイントおよび操作の Web サービス状況の報告を担当します。
- カウンター定義 (MXBean の属性)
- AvgResponseTime: 平均応答時間 (ミリ秒)。
- MaxResponseTime: 最大応答時間 (ミリ秒)。
- MinResponseTime: 最小応答時間 (ミリ秒)。
- NumInvocations: このエンドポイントまたは操作への呼び出しの数。
- NumChekedApplicationFaults: 検査されたアプリケーション障害の数。
- NumLogicalRuntimFaluts: 論理実行時障害の数。
- NumRuntimeFaults: 実行時障害の数。
- NumUnCheckedApplicationFaults: 未検査のアプリケーション障害の数。
- TotalHandlingTime: 合計応答処理時間 (ミリ秒)。
- 管理インターフェース
- Web サービス・アプリケーション・モニターの管理インターフェースは、org.apache.cxf.management.counters.ResponseTimeCounterMBean です。管理インターフェースを使用して、プロキシー・オブジェクトを取得できます。『Liberty: MBean 属性および操作にアクセスする例』を参照してください。
- org.apache.cxf.management.counters.ResponseTimeCounterMBean について詳しくは、Apache CXF Javadocを参照してください。