4 Replies Latest reply on Sep 17, 2007 1:11 PM by Richard Song

    Remote JNDI lookup fails with JBoss4.2.1GA, while it works w

    Richard Song Newbie

      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.