【发布时间】:2014-05-26 08:27:37
【问题描述】:
我需要使用 JMX 监控 CXF 服务器并关注 CXF Documentation。我使用tomcat,以下是我的cxf.xml文件的内容,位于/home/kalpa/applications/apache-tomcat-7.0.54/webapps/java_first_jaxws/WEB-INF/classes
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<bean id="org.apache.cxf.management.InstrumentationManager" class="org.apache.cxf.management.jmx.InstrumentationManagerImpl">
<property name="bus" ref="cxf" />
<property name="enabled" value="true" />
<property name="JMXServiceURL " value="service:jmx:rmi:///jndi/rmi://localhost:9914/jmxrmi" />
</bean>
</beans>
但我无法使用jconsole 监控数据。连接没有本地条目。
这可能是什么问题?
【问题讨论】:
标签: java apache tomcat cxf jmx