[JBoss-user] [Management, JMX/JBoss] - Re: MBean always uses local bean despite a lookup on a remot

2004-11-12 Thread wagemono
I've sussed it now.  You need to call the MBeanServer I was treating it like an 
EJB.  Thanks for the pointer.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854978#3854978

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854978


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: MBean always uses local bean despite a lookup on a remot

2004-11-12 Thread wagemono
private SearcherService getSearcherService(String serverName) throws 
NamingException {
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
props.put(Context.URL_PKG_PREFIXES, 
"jboss.naming:org.jnp.interfaces");
props.put(Context.PROVIDER_URL, serverName + ":1099");
InitialContext ic = new InitialContext(props);
return (SearcherService) ic.lookup(SearcherService.JNDINAME);
}

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854972#3854972

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854972


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: MBean always uses local bean despite a lookup on a remot

2004-11-11 Thread [EMAIL PROTECTED]
You have to connect to the remote server via a different url to access the 
remote mbean server and your mbean. Show the code your using to do this.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854911#3854911

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854911


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user