i have a jboss cluster running in one subnet and a client running in another subnet. multicast is enabled on the router. i am using client auto-discovery by setting provider url to null.
my client failed to find the cluster. debugging info from the router showed that the ttl of the datagram socket is 1, therefore dropped by the router. i am reading the code of org/jnp/interfaces/NamingContext and found out it's using a DatagramSocket, not a MulticastSocket. why is that? any way i can set ttl for the DatagramSocket. to make the client discover the servers in another subnet?
thanks in advance.