-
1. Re: Configuración UDP
rhusar Nov 13, 2012 12:14 PM (in response to reynierg89)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 Nov 13, 2012 12:16 PM (in response to 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 Nov 13, 2012 3:47 PM (in response to rhusar)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 Nov 13, 2012 3:45 PM (in response to rhusar)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 Nov 13, 2012 8:33 PM (in response to reynierg89)Not sure if it really is just a JDK issue, in case it was:
-Djava.net.preferIPv4Stack=true
-Djava.net.preferIPv6Addresses=false