[jboss-user] [Clustering/JBoss] - Detect ip of cluster

ruhe do-not-reply at jboss.com
Fri Apr 18 09:44:38 EDT 2008


Hi.
Is there any way to detect IP of cluster node from bean?
Here is simple example:


  | InitialContext ctx = new InitialContext();
  | Chunky chunky = (Chunky) ctx.lookup("ChunkyBean/remote");
  | 

I'm using Round-Robin method for load-balance. Each call to chunky  stub calls new node from cluster.  I need to detect IP of that cluster each time stub is called. Maybe I can do that from bean?

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

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



More information about the jboss-user mailing list