3 Replies Latest reply on May 9, 2003 3:22 PM by noval

    ClassNotFoundException - HARMIProxy

    ranjithpillai

      Hi there,

      Please answer this..

      I have two JBoss instances running in a single box named JBoss1 and JBoss2 and using default partition.

      1) In JBoss1, HA-JNDI is assigned to port 1100 and in JBoss2 HA-JNDI is assigned to port 1095. Is this right?. I mean is this right to assign two different ports to HA-JNDI in same partition?.

      2) When I give in client application-
      env.put ("java.naming.provider.url", "localhost);
      things are ok. But when I give -
      env.put("java.naming.provider.url", "localhost:1100); ->Communication exception is thrown.
      Exception in thread "main" javax.naming.CommunicationException: Failed to connec
      t to server localhost:1100. Root exception is java.lang.ClassNotFoundExcepti
      on: org.jboss.ha.framework.interfaces.HARMIProxy

      When I gave just localhost(with out port), things are fine and When I gave localhost with port(localhost:1100), communication exception is thrown .What does this indicate or what is wrong here?.


      3)If each server needs a different HA-JNDI port, from my client application how do I target a HA-JNDI in a specific instance? Or Please correct me if my understanding is wrong..

      Thanks in advance for your help,
      Ran