From 859300cfb654ac8ddd818ed6cb4019075b7ed540 Mon Sep 17 00:00:00 2001 From: Radoslav Husar Date: Tue, 17 Dec 2024 11:58:40 +0100 Subject: [PATCH] MODCLUSTER-779 Remove or fix broken links in logs pointing to jboss.org --- .../main/java/org/jboss/modcluster/ModClusterLogger.java | 2 +- .../advertise/impl/DatagramChannelFactoryImpl.java | 2 +- .../advertise/impl/DatagramChannelFactoryImplTestCase.java | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/core/src/main/java/org/jboss/modcluster/ModClusterLogger.java b/core/src/main/java/org/jboss/modcluster/ModClusterLogger.java index 201d3b58..5e2d425d 100644 --- a/core/src/main/java/org/jboss/modcluster/ModClusterLogger.java +++ b/core/src/main/java/org/jboss/modcluster/ModClusterLogger.java @@ -118,7 +118,7 @@ public interface ModClusterLogger { // void createMulticastSocketWithUnicastAddress(InetAddress address); @LogMessage(level = WARN) - @Message(id = 31, value = "Could not bind multicast socket to %s (%s address): %s; make sure your multicast address is of the same type as the IP stack (IPv4 or IPv6). Multicast socket will not be bound to an address, but this may lead to cross talking (see https://developer.jboss.org/docs/DOC-9469 for details).") + @Message(id = 31, value = "Could not bind multicast socket to %s (%s address): %s; make sure your multicast address is of the same type as the IP stack (IPv4 or IPv6). Multicast socket will not be bound to an address, but this may lead to crosstalking.") void potentialCrossTalking(InetAddress address, String addressType, String message); @LogMessage(level = INFO) diff --git a/core/src/main/java/org/jboss/modcluster/advertise/impl/DatagramChannelFactoryImpl.java b/core/src/main/java/org/jboss/modcluster/advertise/impl/DatagramChannelFactoryImpl.java index c28b0d55..380211ba 100755 --- a/core/src/main/java/org/jboss/modcluster/advertise/impl/DatagramChannelFactoryImpl.java +++ b/core/src/main/java/org/jboss/modcluster/advertise/impl/DatagramChannelFactoryImpl.java @@ -22,7 +22,7 @@ /** * On Linux-like systems, we attempt to avoid cross-talk problem by binding the DatagramChannel to the multicast * address, if possible. If not possible, default to binding only to the port. See - * {@link JGRP-777}. + * {@link JGRP-777}. *

* On Windows-like systems, we do not attempt to bind the socket to the multicast address, we only bind to the port. *

diff --git a/core/src/test/java/org/jboss/modcluster/advertise/impl/DatagramChannelFactoryImplTestCase.java b/core/src/test/java/org/jboss/modcluster/advertise/impl/DatagramChannelFactoryImplTestCase.java index d5d695eb..c4ffafc3 100644 --- a/core/src/test/java/org/jboss/modcluster/advertise/impl/DatagramChannelFactoryImplTestCase.java +++ b/core/src/test/java/org/jboss/modcluster/advertise/impl/DatagramChannelFactoryImplTestCase.java @@ -48,9 +48,11 @@ public void testDatagramChannelRead() throws Exception { } /** - * Verify that cross-talking problem does not happen any more. + * Verify that cross-talking problem does not happen anymore. * - * @see Cross-talking wiki + * @see Cross talking between clusters with same multicast ports but different multicast addresses + * @see JGRP-777 Revisit multicast socket creation code + * @see JGRP-836 Eliminate Linux cross-talk in MPING */ @Test public void testDatagramChannelNoCrossTalking() throws Exception {