This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new 6c76c62957 Leftovers 6c76c62957 is described below commit 6c76c62957281057d19a7b708bf9ef6065fe3b3c Author: remm <r...@apache.org> AuthorDate: Mon Feb 12 13:54:56 2024 +0100 Leftovers --- java/org/apache/catalina/tribes/membership/McastServiceImpl.java | 2 +- java/org/apache/catalina/tribes/transport/nio/LocalStrings.properties | 1 + java/org/apache/catalina/tribes/transport/nio/NioReplicationTask.java | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/java/org/apache/catalina/tribes/membership/McastServiceImpl.java b/java/org/apache/catalina/tribes/membership/McastServiceImpl.java index 045e8af68e..a255866515 100644 --- a/java/org/apache/catalina/tribes/membership/McastServiceImpl.java +++ b/java/org/apache/catalina/tribes/membership/McastServiceImpl.java @@ -633,7 +633,7 @@ public class McastServiceImpl extends MembershipProviderBase { if (errorCounter==0) { log.warn(sm.getString("mcastServiceImpl.send.failed"),x); } else { - log.debug("Unable to send mcast message.",x); + log.debug(sm.getString("mcastServiceImpl.send.failed"),x); } if ( (++errorCounter)>=recoveryCounter ) { errorCounter=0; diff --git a/java/org/apache/catalina/tribes/transport/nio/LocalStrings.properties b/java/org/apache/catalina/tribes/transport/nio/LocalStrings.properties index 31fda7d8d0..bb138b1d0d 100644 --- a/java/org/apache/catalina/tribes/transport/nio/LocalStrings.properties +++ b/java/org/apache/catalina/tribes/transport/nio/LocalStrings.properties @@ -27,6 +27,7 @@ nioReceiver.stop.threadRunning=The NioReceiver thread did not stop in a timely m nioReceiver.threadpool.fail=ThreadPool cannot be initialized. Listener not started. nioReceiver.threadsExhausted=Channel key is registered, but has had no interest ops for the last [{0}] ms. (cancelled: [{1}]):[{2}] last access:[{3}] Possible cause: all threads used, perform thread dump +nioReplicationTask.disconnect=Channel closed on the remote end, disconnecting nioReplicationTask.error.register.key=Error registering key for read:[{0}] nioReplicationTask.exception.drainChannel=Exception caught in TcpReplicationThread.drainChannel. nioReplicationTask.process.clusterMsg.failed=Processing of cluster message failed. diff --git a/java/org/apache/catalina/tribes/transport/nio/NioReplicationTask.java b/java/org/apache/catalina/tribes/transport/nio/NioReplicationTask.java index 7fd5ecbe1a..f28648c3b9 100644 --- a/java/org/apache/catalina/tribes/transport/nio/NioReplicationTask.java +++ b/java/org/apache/catalina/tribes/transport/nio/NioReplicationTask.java @@ -261,7 +261,7 @@ public class NioReplicationTask extends AbstractRxTask { private void remoteEof(SelectionKey key) { // close channel on EOF, invalidates the key if ( log.isDebugEnabled() ) { - log.debug("Channel closed on the remote end, disconnecting"); + log.debug(sm.getString("nioReplicationTask.disconnect")); } cancelKey(key); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org