[jboss-user] [JNDI/Naming/Network] - Re: Converting code from BEA WebLogic to JBoss

jaikiran do-not-reply at jboss.com
Wed Feb 7 17:23:28 EST 2007


But if you still want to pass those properties through code, you can use:

if (props == null) {
props = new Properties();
props.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
props.setProperty(Context.PROVIDER_URL, "jnp://localhost:1099");
} 

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

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



More information about the jboss-user mailing list