You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2026/10/01 16:48:57 UTC

(tomcat) branch 11.0.x updated: Further fix for CI faiures

This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/11.0.x by this push:
     new d4763c2b20 Further fix for CI faiures
d4763c2b20 is described below

commit d4763c2b20559cf5e4f2a4d4be92a100a64522f0
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Oct 1 15:34:40 2026 +0100

    Further fix for CI faiures
---
 test/org/apache/catalina/ant/jmx/TestJMXAccessorTask.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/org/apache/catalina/ant/jmx/TestJMXAccessorTask.java b/test/org/apache/catalina/ant/jmx/TestJMXAccessorTask.java
index ce56274a92..25424de64f 100644
--- a/test/org/apache/catalina/ant/jmx/TestJMXAccessorTask.java
+++ b/test/org/apache/catalina/ant/jmx/TestJMXAccessorTask.java
@@ -107,6 +107,8 @@ public class TestJMXAccessorTask {
      */
     @Test
     public void testAccessJMXConnectionReuseAndMismatch() throws Exception {
+        // Force the use of localhost to resolve CI failures
+        System.setProperty("java.rmi.server.hostname", "127.0.0.1");
         int port = getAvailablePort();
         Registry registry = LocateRegistry.createRegistry(port);
         MBeanServer mbeanServer = ManagementFactory.getPlatformMBeanServer();


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org