I have a problem, I want to access the method proposed by MBeans in JBoss. The problem is that I can not, I think I took the wrong url.
here is my code:
Code:
Url = new JMXServiceURL JMXServiceURL ("service: jmx: rmi: / / / jndi / rmi: / / localhost: 8080/jmx-console");
JMXConnector jmxc JMXConnectorFactory.connect = (url, null);
MBeanServerConnection jmxc.getMBeanServerConnection MBSC = ();
String domain = "org.servicemix";
ObjectName = new stdMBeanName ObjectName (domain + ": type = org.servicemix.jbi.container.JBIContainer, index = 1");
mbsc.invoke (stdMBeanName, "start", null, null);
Any idea?
Bookmarks