[jboss-user] [JNDI/Naming/Network] - Remote JNDI lookup fails with JBoss4.2.1GA, while it works w

ecrxs do-not-reply at jboss.com
Wed Sep 12 20:56:14 EDT 2007


I am working on upgrade our JBoss from 4.0.5GA to 4.2.1GA.  Knowing the port binding change of 4.2.1GA, I am using run.sh -b 0.0.0.0 option to enable remote access.  I can access the web console, JMX console from the web without problem.  But my remote jndi lookup always fails with Exception as follows:
[Root exception is java.net.ConnectException: Connection refused: connect]]]
        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1416)
        at org.jnp.interfaces.NamingContext.listBindings(NamingContext.java:830)
        at org.jnp.interfaces.NamingContext.listBindings(NamingContext.java:823)
        at javax.naming.InitialContext.listBindings(Unknown Source)

When I switch to my JBoss4.0.5GA server, it works fine.  

Any idea?  Thanks in advance.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083725#4083725

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083725



More information about the jboss-user mailing list