"hengels" wrote : This is my binding code:
|
| | JMXServiceURL url = new JMXServiceURL("rmi", null, 0);
| | connectorServer =
JMXConnectorServerFactory.newJMXConnectorServer(url, null, getServer());
| | connectorServer.start();
| | bind(jndiName, connectorServer.toJMXConnector(null));
| |
|
Found out myself. The binding was wrong. Don't put the jmx connector into jndi
but the javax.management.remote.rmi.RMIServer:
| JMXServiceURL url = new
JMXServiceURL("service:jmx:rmi:///jndi/JMXConnectorServer");
| connectorServer = JMXConnectorServerFactory.newJMXConnectorServer(url,
null, getServer());
| connectorServer.start();
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860428#3860428
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860428
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user