Here is my jndi.properties on the client-side. Should auto-discover the
servers... Am I missing something in these settings?
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
jnp.discoveryGroup=230.0.0.4
jnp.disc
It looks like you're using the non-clustered naming context to lookup your EJB.
Try this:
| ...
| Properties props = new Properties();
| props.setProperty(javax.naming.Context.PROVIDER_URL,
"jnp://localhost:1100");
| InitialContext ic = new InitialContext(props);
| ...
|
View the