2 Replies Latest reply on Jul 15, 2002 7:38 AM by fred_soulier

    Cannot connect to the HA-JNDI...

    fred_soulier

      Hi

      I have an application (ear) deployed in Jboss 3.0.0/Tomcat4.0.3 server(all) with clustering enabled.

      My client tries to lookup an EJB and the lookup fails with the following error message:
      Failed to connect to server 192.168.20.210:55555

      jndi.properties (in client path)
      --------------------------------
      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.provider.url=
      java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

      The empty URL is ok because client and server runs on different machine on same LAN and the auto discovery works (the server runs on 192.168.20.210 and the HA-JNDI port is 55555 which is what appear in the error message).

      To make sure, my setup was ok, I deployed the same application (ear) with False in jboss.xml using server(default) and:
      java.naming.provider.url=192.168.20.210:1099
      and bingo the lookup worked.

      What can stop the client to connect to the HA-JNDI in clustered mode?