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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to