This content has been marked as final.
Show 1 reply
-
1. Re: finding an ejb from a remote server
marcosmaia Dec 7, 2001 3:29 PM (in response to marcosmaia)Hi,
I´ve solve the problem just did:
Properties env = new Properties();
env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
env.setProperty(Context.URL_PKG_PREFIXES, "org.jnp.interfaces");
env.setProperty(Context.PROVIDER_URL, "localhost:1099");
System.out.println("debug_1");
InitialContext jndiContext = new InitialContext(env);