Hi,
I've got problem with failover of my ejb-client. The server I'm using is jboss 5.1 ga. The problem is that when first node is down (for example caused by OOM), my tomcats which use internally ejb remoteare still bound to this node and after while the pool of threads exceeds.
I hoped that changeing from jndi to hajndi help me to resolve this issue, but it didn't.
The way I create client is as follow:
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
props.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
props.put(Context.PROVIDER_URL, url);
initialContext = new InitialContext(props);
Which URL do you use and how your code look like?
Is the application EJB marekd as clustered and what server profile did you start?