5 Replies Latest reply on Nov 13, 2012 8:33 PM by rhusar

    Configuración UDP

    reynierg89

      Hola, hace dias estoy realizando un trabajo de cluster entre dos nodos, es decir, dos maquinas con el servidor JBoss AS 4.2.2.GA instalado, una maquina virtual con Windows XP con 1 GB de memoria RAM y la otra maquina con Windows 7 de 64 bits y 4 GB de memoria RAM, ademas de que en Windows XP tengo instalada la maquina virtual de java(JDK) con la version 1.6.0_25 y en Windows 7 igual la JDK 1.6.0_25. Para que se conectaran los dos nodos utilice la configuración UDP multicast, entonces cuando los inicie los dos servidores me aparecio este error:

      00:38:39,240 WARN  [UDP] failed to join /224.0.0.75:7500 on eth5: java.net.SocketException: Unrecognized Windows Sockets error: 0: no Inet4Address associated with interface

      00:38:39,240 WARN  [UDP] failed to join /224.0.0.75:7500 on net5: java.net.SocketException: Unrecognized Windows Sockets error: 0: no Inet4Address associated with interface

      00:38:39,240 WARN  [UDP] failed to join /224.0.0.75:7500 on net6: java.net.SocketException: Unrecognized Windows Sockets error: 0: no Inet4Address associated with interface

      00:38:39,240 WARN  [UDP] failed to join /224.0.0.75:7500 on net8: java.net.SocketException: Unrecognized Windows Sockets error: 0: no Inet4Address associated with interface

      00:38:39,240 WARN  [UDP] failed to join /224.0.0.75:7500 on net11: java.net.SocketException: Unrecognized Windows Sockets error: 0: no Inet4Address associated with interface

      00:38:39,241 INFO  [STDOUT]

       

      Quisiera ver si alguien me pudiera ayudar con este error y me ayude a ver si pudiera resolver este problema, gracias de antemano

        • 1. Re: Configuración UDP
          rhusar

          Hello, for days I'm doing work between two nodes cluster, ie two machines with JBoss AS 4.2.2.GA server installed, a virtual machine running Windows XP with 1GB of RAM and another machine with Windows 7 64-bit and 4 GB of RAM, besides that I have installed Windows XP virtual machine java (JDK) version 1.6.0_25 with Windows 7 and the JDK 1.6.0_25 equal. So that would connect the two nodes use multicast UDP settings, then when I start the two servers appeared this error:

          00:38:39,240 WARN [UDP] failed to join / 224.0.0.75:7500 on eth5: java.net.SocketException: Unrecognized Windows Sockets error: 0: no Inet4Address Associated with interface

          00:38:39,240 WARN [UDP] failed to join / 224.0.0.75:7500 on net5: java.net.SocketException: Unrecognized Windows Sockets error: 0: no Inet4Address Associated with interface

          00:38:39,240 WARN [UDP] failed to join / 224.0.0.75:7500 on net6: java.net.SocketException: Unrecognized Windows Sockets error: 0: no Inet4Address Associated with interface

          00:38:39,240 WARN [UDP] failed to join / 224.0.0.75:7500 on net8: java.net.SocketException: Unrecognized Windows Sockets error: 0: no Inet4Address Associated with interface

          00:38:39,240 WARN [UDP] failed to join / 224.0.0.75:7500 on net11: java.net.SocketException: Unrecognized Windows Sockets error: 0: no Inet4Address Associated with interface

          00:38:39,241 INFO [STDOUT]

           

          I would like to see if someone could help me with this error and help me to see if I could solve this problem, thanks in advance

          Please use english as the official forum language...

          • 2. Re: Configuración UDP
            rhusar

            It looks like you are trying to use IPv6 on Windows? I suspect this is in error, configure your machine to use IPv4.

            • 3. Re: Configuración UDP
              reynierg89

              Hello, sorry but I do not know much English, could you keep writing in Spanish or everything has to be in English?

              • 4. Re: Configuración UDP
                reynierg89

                In my case I use IPv4, but it seems that the Java Virtual Machine (JDK) uses IPv6 by default, how could tell the JDK that uses IPv4 instead of IPv6?, What would be the code to use?

                • 5. Re: Configuración UDP
                  rhusar

                  Not sure if it really is just a JDK issue, in case it was:

                   

                  -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false