This content has been marked as final.
Show 2 replies
-
1. Re: Please help, emergency!!!
jaime Sep 11, 2002 10:21 AM (in response to hsteven29)Hi,
Do you have set the Context.INITIAL_CONTEXT_FACTORY and the Context.PROVIDER_URL properties for get an InitialContex?
If no:
Hashtable c = new Hashtable( );
c.put( Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory" );
c.put( Context.PROVIDER_URL,"jnp://localhost:1099" );
Context ctx = new InitialContext( c );
Object ref = ctx.lookup( "SomeXXX" );
JaimeS -
2. Re: Please help, emergency!!!
davidjencks Sep 12, 2002 12:42 PM (in response to hsteven29)What would induce you to look around a little bit to find that the answer to this question has been posted maybe 100 times? What would induce you to use an informative subject line?