[jboss-user] [JNDI/Naming/Network] - Re: JNDI and DefaultDS

waynebaylor do-not-reply at jboss.com
Thu Aug 16 17:25:11 EDT 2007


the lookup looks good. 

maybe try printing out the contents of 
new InitialContext().getEnvironment();
the context should contain the equivalent of doing this:
Properties p = new Properties(); 
  |         p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");  
  |         p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces");  
  |         p.put(Context.PROVIDER_URL, "localhost:1099");
  | 
  | Context ctx = new InitialContext(p);

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075008#4075008

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075008



More information about the jboss-user mailing list