Hi,
I have exactly the same problem when trying to connect to jboss through a
firewall. I configured my jboss 3.2.6 server as mentioned on the Wiki.
Here is my client code:
Hashtable env = new Hashtable();
env.put(Context.PROVIDER_URL, "myServer:1099");
env.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
env.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
Context ctx = new InitialContext(env);
Object obj = ctx.lookup("myObject");
Getting the InitialContext works fine but during the lookup it always tries to
connect to a high random port.
I hope someone can help me.
Sebastian
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860000#3860000
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860000
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user