This content has been marked as final.
Show 1 reply
-
1. Re: Limited-scope Client classpath?
rob.stryker Jun 28, 2007 12:38 PM (in response to rob.stryker)I suppose the easiest way to do this with fewest dependencies is to not use JNDI but rather use JMX only.
I think once I get an MBeanServerConnection I should be ok, so I guess my question is now, how do I discover the URL for such a connection?
I'm currently reading a tutorial that includes the following:
JMXServiceURL url = new JMXServiceURL(
"service:jmx:rmi:///jndi/rmi://localhost:9999/server");
JMXConnector jmxc = JMXConnectorFactory.connect(url, null);
But that's a sun tutorial and not jboss-specific, so now my task is to figure out the service url.