Hi
Thanks for the quick response wdfink!
RE: But telnet does not understand.
Does this mean that I should not be able to telnet port 1099 on the localhost?
The following is the method I use in the application to get the initialcontext,
what changes need to be made to this code so that I can connect to the naming
server:
public static Context getInitialContext() throws NamingException {
Hashtable<String,String> props = new Hashtable<String,String>();
props.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
props.put(Context.PROVIDER_URL, "jnp://localhost:1099");
props.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
return = new InitialContext(props);
}
Regards
Brian
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967877#3967877
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967877
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user