[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: socket connection timeouts, HTTP connections made by Htt
dhanaraj
do-not-reply at jboss.com
Mon Aug 17 11:05:23 EDT 2009
public InitialContext getInitialContext() throws NamingException
{
Hashtable environment = new Hashtable();
environment.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
//environment.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
environment.put(Context.PROVIDER_URL, "jnp://localhost:1099/");
return new InitialContext(environment);
}
ck this code it can help u
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249978#4249978
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249978
More information about the jboss-user
mailing list