5 Replies Latest reply on May 7, 2003 6:39 PM by ranjithpillai

    Please help me to solve this JNDI problem.

    ranjithpillai Newbie

      Hi there,

      Please help me to solve this JNDI problem.

      Background: Two instances of JBoss (all1 and all2) running in the same system. One instance listening in port 1100 and the other 1095.

      Here I require to talk to local JNDI's seperately. I mean I need to look up JNDI tree in 1100 as well as 1095 seperately.

      The problem is I am not able to do lookup on the first server I started in the cluster.

      For eg: If I first start instance listening in port 1100 and then instance listening in port 1095, then I can do lookup in 1095, 1100 doesn't do anything(unfortunately I didn't find any thing in error log). If I change the order, ie start 1095 first and then 1100, then lookup is fine with 1100 not with 1095.

      What is this problem? How can I resolve this?

      Note: Though I got two members in my cluster.. In console it display's 3.

      -------------------------------------------------------
      GMS: address is localhost:1369
      -------------------------------------------------------
      15:27:59,910 INFO [DefaultPartition] New cluster view: 179 ([pmi-ntsvr:1172, localhost:1215, localhost:1369])
      15:27:59,910 INFO [ClusterPartition] Starting channel
      15:27:59,910 INFO [DefaultPartition] Number of cluster members: 3
      15:27:59,910 INFO [DefaultPartition] Other members: 2
      15:28:00,010 INFO [ClusterPartition] Started ClusterPartition: DefaultPartition

      Am I doing something wrong?

      Any help will be highly appreciated.
      Thanks,
      Ran