From 8b2cb147c6c5967ae439a33faa0fda9a8baae5c3 Mon Sep 17 00:00:00 2001
From: AmshikaH <66556626+AmshikaH@users.noreply.github.com>
Date: Wed, 26 Jun 2024 12:09:48 +0530
Subject: [PATCH] Move TenantContextRewriteValve after the custom valves
---
.../templates/repository/conf/tomcat/catalina-server.xml.j2 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/distribution/src/repository/resources/conf/templates/repository/conf/tomcat/catalina-server.xml.j2 b/modules/distribution/src/repository/resources/conf/templates/repository/conf/tomcat/catalina-server.xml.j2
index 2a63987303f..cbe87f5589d 100644
--- a/modules/distribution/src/repository/resources/conf/templates/repository/conf/tomcat/catalina-server.xml.j2
+++ b/modules/distribution/src/repository/resources/conf/templates/repository/conf/tomcat/catalina-server.xml.j2
@@ -131,7 +131,6 @@
-
{% for valve in catalina.valves %}
@@ -141,6 +140,7 @@
{% endfor %}
/>
{% endfor %}
+