[jboss-user] [JNDI/Naming/Network] - Re: Could not obtain connection to a url

rodosa do-not-reply at jboss.com
Mon Mar 3 13:12:15 EST 2008


I've solved it with:


  | Properties props = new Properties();
  | 		 props.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
  | 		 props.put(Context.PROVIDER_URL, "jnp://x.x.x.x:1099");
  | 		 props.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");

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

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



More information about the jboss-user mailing list