Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

CXF JMX monitoring

$
0
0
I deployed a JAX-WS service and a Spring controller client to Jetty and hit
it with JConsole.
On a Windows PC, I could see CXF MBeans but not any stats, even though I
configured CounterRepository as per the CXF documentation; my code
CXFJMXConfig.java
<https://github.com/abhijitsarkar/java-ee/blob/master/webservices/jax-ws/jaxws-instrumentation/src/main/java/name/abhijitsarkar/webservices/jaxws/instrumentation/config/CXFJMXConfig.java>

On a Mac, I couldn't even connect using JConsole and, of course, it's the
same code. I'm seeing the following
suspicious messages in the console:

I'm starting to think that CXF does not support client side JMX monitoring
and I've doubts whether it even supports server side stats as claimed in the
docs <http://cxf.apache.org/docs/jmx-management.html> .

[2014-01-18 13:51:03,992] [DEBUG] springframework.jndi.JndiTemplate -
Looking up JNDI object with name [spring.liveBeansView.mbeanDomain]
[2014-01-18 13:51:03,992] [DEBUG] springframework.jndi.JndiPropertySource -
JNDI lookup for name [spring.liveBeansView.mbeanDomain] threw
NamingException with message: null. Returning null.
[2014-01-18 13:51:03,992] [DEBUG] core.env.PropertySourcesPropertyResolver -
Searching for key 'spring.liveBeansView.mbeanDomain' in [systemProperties]
[2014-01-18 13:51:03,993] [DEBUG] core.env.PropertySourcesPropertyResolver -
Searching for key 'spring.liveBeansView.mbeanDomain' in [systemEnvironment]
[2014-01-18 13:51:03,993] [DEBUG] core.env.PropertySourcesPropertyResolver -
Could not find key 'spring.liveBeansView.mbeanDomain' in any property
source. Returning [null]

Viewing all articles
Browse latest Browse all 5648

Trending Articles