Liberty:JAX-WS 监视

您可使用 Liberty 的用于 JAX-WS 监视的端点 MXBean 。

JAX-WS 应用程序中的每个端点和操作都具有性能数据。每个 Web Service 端点都具有其自己的 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 Service 状态。

计数器定义(MXBean 的属性)
  • AvgResponseTime:平均响应时间(毫秒)。
  • MaxResponseTime:最大响应时间(毫秒)。
  • MinResponseTime:最小响应时间(毫秒)。
  • NumInvocations:对此端点或操作的调用次数。
  • NumChekedApplicationFaults:已检查应用程序故障数目。
  • NumLogicalRuntimFaluts:逻辑运行时故障数目。
  • NumRuntimeFaults:运行时故障数目。
  • NumUnCheckedApplicationFaults:未检查应用程序故障数目。
  • TotalHandlingTime:总响应处理时间(毫秒)。
.
管理接口
用于 Web Service 应用程序监视的管理接口是 org.apache.cxf.management.counters.ResponseTimeCounterMBean您可以使用管理接口来获取代理对象。请参阅Liberty:访问 MBean 属性和操作的示例
有关 org.apache.cxf.management.counters.ResponseTimeCounterMBean 的更多信息,请参阅 Apache CXF Javadoc

用于指示主题类型的图标 参考主题



时间戳记图标 最近一次更新时间: Tuesday, 6 December 2016
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rwlp_mon_webservice
文件名:rwlp_mon_webservice.html