| Hashtable env = new Hashtable(); | env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | env.put(Context.PROVIDER_URL, "jnp://localhost:1099"); | env.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); | Context context = new InitialContext(env); |
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906195#3906195 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906195 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
