[EMAIL PROTECTED] wrote:
> 
> These are the properties passed into initial context.
> 
> I get an initial context but when my code looks up the home interface
> I get the exception below.
> 
> final Properties prop = new Properties();
> prop.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
> prop.put(Context.PROVIDER_URL,"63.74.222.154");

Hi John:

Try this, it worked in my clients

prop.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
prop.put(Context.URL_PKG_PREFIXES, "org.jboss.naming");
prop.put(Context.PROVIDER_URL,"63.74.222.154");

Pedro Mota


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to