2 Replies Latest reply on Aug 19, 2002 7:36 PM by Sudhakar

    Clustering Issue

    Sudhakar Newbie

      Hi Sacha,
      I'm running 2 instances of JBoss3.0.0 in 2 different machines. And my client is talking to the instance that joined the cluster partition last.

      Also i get the following exception while running the client
      12:26:51,031 ERROR [HANamingService$AutomaticDiscovery] HA-JNDI AutomaticDiscovery stopped
      java.net.SocketException: socket closed
      at java.net.PlainDatagramSocketImpl.receive(Native Method)
      at java.net.DatagramSocket.receive(DatagramSocket.java:392)
      at org.jboss.ha.jndi.HANamingService$AutomaticDiscovery.run(HANamingService.java:370)
      at java.lang.Thread.run(Thread.java:484)

      Pls help me out on this.

      sudhakar

        • 1. Re: Clustering Issue
          Sacha Labourey Master

          Hello Karansudha,

          > Hi Sacha,
          > I'm running 2 instances of JBoss3.0.0 in 2 different
          > machines. And my client is talking to the instance
          > that joined the cluster partition last.

          OK. But this is not a problem, right?

          > Also i get the following exception while running the
          > client
          > 12:26:51,031 ERROR
          > [HANamingService$AutomaticDiscovery] HA-JNDI
          > AutomaticDiscovery stopped
          > java.net.SocketException: socket closed
          > at
          > at
          > at java.net.PlainDatagramSocketImpl.receive(Native
          > e Method)
          > at
          > at
          > at
          > t
          > java.net.DatagramSocket.receive(DatagramSocket.java:39
          > )
          > at
          > at
          > at
          > t
          > org.jboss.ha.jndi.HANamingService$AutomaticDiscovery.r
          > n(HANamingService.java:370)
          > at java.lang.Thread.run(Thread.java:484)

          That's strange at first. What is your JDK? What is your OS? Are you using DHCP or do you have a static IP address? etc.

          Cheers,


          sacah

          • 2. Re: Clustering Issue
            Sudhakar Newbie

            Hi Sacha,
            JDK Version : java version "1.3.1"
            Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
            Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)
            OS : Windows 2000 & DHCP

            I get the above said exception when any one of my instance tries to look for the other.
            Sudhakar