Yes, they can be in separate partitions. But, your client on node 1 will not be able to query it's own HA-JNDI to find the EJB, because its HA-JNDI will not have visibility to 2/3/4.
Simplest way to deal with this is to pass environment properties to your InitialContext to tell it how to find HA-JNDI on the 2/3/4 partition. E.g. | Hashtable env = new Hashtable(); | // We want to discover the 234Partition | env.put("jnp.partitionName", "234Partition"); | // The 234Partition is using a different mcast address than we are | env.put("jnp.discoveryGroup", getMulticastAddressFor234Partition()); | Context ctx = new InitialContext(env); | You could also encapsulate the above 2 properties in a .properties file and load them from the file. Don't call that file jndi.properties though!! See http://wiki.jboss.org/wiki/Wiki.jsp?page=NamingContextFactory for more on these properties. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087354#4087354 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087354 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user