Hi,
Are you using a correct user/password combination like mentioned in the
docs?
I did a fresh SMX install and could connect with
service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-root
karaf : karaf
And you should add this in you Spring configuration for the jmx management:
|<!-- OSGi namespace and schemaLocation required -->|
|<||beans| |...|
|||xmlns:osgi="http://www.springframework.org/schema/osgi"
<http://www.springframework.org/schema/osgi%22>|
|||...|
|||xsi:schemaLocation="...|
|||http://www.springframework.org/schema/osgi
<http://www.springframework.org/schema/osgi%C2%A0>
http://www.springframework.org/schema/osgi/spring-osgi.xsd"
<http://www.springframework.org/schema/osgi/spring-osgi.xsd%22>>|
|...|
|<!-- Grab a reference to the current MBeanServer -->|
|<||osgi:reference| |id="mbeanServer"
interface="javax.management.MBeanServer" cardinality="0..1"/>|
|<||bean| |id="org.apache.cxf.management.InstrumentationManager"|
|||class="org.apache.cxf.management.jmx.InstrumentationManagerImpl">|
|||<||property| |name="bus" ref="cxf" />|
|||<||property| |name="enabled" value="true" />|
|||<!-- Unless you really want to open an additional connector, set this
to false -->|
|||<||property| |name="createMBServerConnectorFactory " value="false" />|
|||<!-- Inject the reference to the MBeanServer -->|
|||<||property| |name="server" ref="mbeanServer" />|
|</||bean||>|
Hope it helps!
Regards,
Morgan
On 8/06/2015 19:34, sditlinger wrote:
Thank you for your reply. The page you link confirms that I have been using
the correct URL to link from JConsole. Perhaps that link will start working
once I restore my services deployed through Karaf to their previous working
state.
I am still unclear how to get the Performance.Counter.Server MBean enabled
within ServiceMix 5.4?
This page says that MBean is not enabled by default
http://cxf.apache.org/docs/jmx-management.html
but I am not clear how to enable it. What config file(s) am I to change?
Thanks.
--
View this message in context:
http://karaf.922171.n3.nabble.com/JMX-Karaf-2-4-1-tp4040782p4040812.html
Sent from the Karaf - User mailing list archive at Nabble.com.