This content has been marked as final.
Show 3 replies
-
1. Re: Remote access to MBeans
peterj Mar 6, 2007 5:30 PM (in response to colomb)I have not been able to get a connection using JMXServiceURL. Instead, I use the RMI adaptor. See http://docs.jboss.com/jbossas/guides/j2eeguide/r2/en/html_single/#d0e2207
-
2. Re: Remote access to MBeans
colomb Mar 6, 2007 5:55 PM (in response to colomb)"PeterJ" wrote:
I have not been able to get a connection using JMXServiceURL. Instead, I use the RMI adaptor. See http://docs.jboss.com/jbossas/guides/j2eeguide/r2/en/html_single/#d0e2207
Where do you specify the target server and port? My guess is the jndi.properties file, but I have no idea how to format it. Any pointers? -
3. Re: Remote access to MBeans
peterj Mar 6, 2007 6:18 PM (in response to colomb)I use this jndi.properties file:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=jnp://localhost:1099 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
For the gory details, see http://docs.jboss.com/jbossas/guides/j2eeguide/r2/en/html_single/#ch3.factories.