1 Reply Latest reply on Jan 10, 2007 8:51 AM by unibrew

    RMI in cluster environment

    bartatamas

      Hi!

      I have a problem which is very difficult for me. I have a cluster environment with three nodes. Every node has a local IP and there is a firewall with an IP that is accessible for clients. There are client applications which use the ha-jndi service of the cluster remotely. Without any configuration the server sends one of the local ips back to the client which is absolutely wrong.

      When I set the

      -Djava.rmi.server.useLocalHostname=false
      -Djava.rmi.server.hostname=

      parameters in the cluster nodes, every node send back the remote ip which is corrent in this case. But it isn't good for the nodes because if one of the nodes wants to connect to the others then it will also connect to the remote ip.

      Can anybody help me how to configure the nodes if I would like that RMI and JNDI work well in both cases. Thank you, Tamas

        • 1. Re: RMI in cluster environment
          unibrew

          Hi

          If I were you, I would search for better forum for this question. This forum is for questions about JBoss Forums project, so there is very little chance that someone will help you with clustering problem.

          Regards
          ----------------------
          Ryszard Kozmik
          JBoss Forums Lead
          JBoss Labs Team