From f2e9b3418ba19afd12b7d8f31c916790b313f58d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Chlup?= Date: Mon, 25 Sep 2023 11:12:44 +0200 Subject: [PATCH] Fix getPortWithOffset for tomcat-8.5 --- .../jboss/modcluster/container/tomcat/SingleServiceServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container/tomcat-8.5/src/main/java/org/jboss/modcluster/container/tomcat/SingleServiceServer.java b/container/tomcat-8.5/src/main/java/org/jboss/modcluster/container/tomcat/SingleServiceServer.java index 522421de6..b78efdb06 100644 --- a/container/tomcat-8.5/src/main/java/org/jboss/modcluster/container/tomcat/SingleServiceServer.java +++ b/container/tomcat-8.5/src/main/java/org/jboss/modcluster/container/tomcat/SingleServiceServer.java @@ -100,7 +100,7 @@ public void setPortOffset(int i) { @Override public int getPortWithOffset() { - return this.service.getServer().getPort(); + return this.service.getServer().getPortWithOffset(); } @Override