[jboss-user] [Clustering/JBoss] - Re: How to get the server being used in HA-JNDI

jin.peng@yahoo.ca do-not-reply at jboss.com
Thu May 15 15:31:08 EDT 2008


Thanks for the reply.

If I really want to know, can I register an object into clustered JNDI and the object return the local server name.
String getServerName().

This way by looking up the object from JNDI and query getServerName(), I can know what server I am connecting to.

Will this work?

Thanks,

Jin

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

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



More information about the jboss-user mailing list