This content has been marked as final.
Show 3 replies
-
1. Re: socket connection timeouts, HTTP connections made by Htt
dhanaraj Aug 17, 2009 10:35 AM (in response to dashley)u can check with the port u listening on jboss jnpPort=1099
-
2. Re: socket connection timeouts, HTTP connections made by Htt
dashley Aug 17, 2009 10:53 AM (in response to dashley)I thought JNDI naming was at port 1099, not related to outbound sockets called by the JVM?
-
3. Re: socket connection timeouts, HTTP connections made by Htt
dhanaraj Aug 17, 2009 11:05 AM (in response to dashley)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