Wrong Multicast IP UDP address
hbaxmann Jun 8, 2004 2:59 AMI am starting JBoss 3.2.4 out-of-the-box on WinXP with two NICs.
Want to have JBoss on 192.168.1.102, other NIC is 192.168.1.100.
run -c all -b 192.168.1.102
TcpView says:
java.exe:4120 UDP 192.168.1.100:4570 *:*
java.exe:4120 TCP 192.168.1.102:1098 0.0.0.0:0 LISTENING
java.exe:4120 TCP 192.168.1.102:1099 0.0.0.0:0 LISTENING
java.exe:4120 TCP 192.168.1.102:1100 0.0.0.0:0 LISTENING
java.exe:4120 TCP 192.168.1.102:3528 0.0.0.0:0 LISTENING
java.exe:4120 TCP 192.168.1.102:4444 0.0.0.0:0 LISTENING
java.exe:4120 TCP 192.168.1.102:4445 0.0.0.0:0 LISTENING
java.exe:4120 TCP 192.168.1.102:4571 0.0.0.0:0 LISTENING
java.exe:4120 TCP 192.168.1.102:8009 0.0.0.0:0 LISTENING
java.exe:4120 TCP 192.168.1.102:8080 0.0.0.0:0 LISTENING
java.exe:4120 TCP 192.168.1.102:8083 0.0.0.0:0 LISTENING
java.exe:4120 TCP 192.168.1.102:8090 0.0.0.0:0 LISTENING
java.exe:4120 TCP 192.168.1.102:8092 0.0.0.0:0 LISTENING
java.exe:4120 TCP 192.168.1.102:8093 0.0.0.0:0 LISTENING
Log says:
07:40:06,094 INFO [DefaultPartition] Initializing
07:40:06,325 INFO [UDP] unicast sockets will use interface 192.168.1.100
07:40:06,335 INFO [UDP] socket information:
local_addr=Tabletti:4570 (additional data: 18 bytes), mcast_addr=228.1.2.3:45566, bind_addr=/192.168.1.100, ttl=32
socket: bound to 192.168.1.100:4570, receive buffer size=150000, send buffer size=800000
multicast socket: bound to 192.168.1.100:45566, send buffer size=800000, receive buffer size=150000
07:40:06,335 INFO [STDOUT]
-------------------------------------------------------
GMS: address is Tabletti:4570 (additional data: 18 bytes)
-------------------------------------------------------
07:40:08,388 INFO [DefaultPartition] Number of cluster members: 1
07:40:08,398 INFO [DefaultPartition] New cluster view (id: 0, delta: 0) : [192.168.1.102:1099]
07:40:08,408 INFO [DefaultPartition] Other members: 0
07:40:08,408 INFO [DefaultPartition] Fetching state (will wait for 60000 milliseconds):
07:40:08,438 INFO [DefaultPartition:ReplicantManager] Dead members: 0
07:40:08,708 INFO [HANamingService] Listening on /192.168.1.102:1100
07:40:08,708 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /192.168.1.102:1102, group=230.0.0.4, HA-JNDI address=1
92.168.1.102:1100
I do not expect listening anything on 192.168.1.100.
The Testsuite (build testsuite) has the same expectation ;-)
bax