From 5a65537edb1f95a9b00c1d07ca586ceab37a7e63 Mon Sep 17 00:00:00 2001 From: Yavor16 Date: Tue, 1 Sep 2026 16:47:25 +0300 Subject: [PATCH 1/2] Adopt Tomcat 11 runtime for CF MTA Deploy Service Bump JBP_CONFIG_TOMCAT from 10.+ to 11.+ in the CF manifest. The application already compiles and runs against the Jakarta namespace and Servlet 6.1 API, so this is a runtime configuration-only change. LMCROSSITXSADEPLOY-3627 --- multiapps-controller-web/manifests/manifest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multiapps-controller-web/manifests/manifest.yml b/multiapps-controller-web/manifests/manifest.yml index fd5e11285d..1f1311d3aa 100644 --- a/multiapps-controller-web/manifests/manifest.yml +++ b/multiapps-controller-web/manifests/manifest.yml @@ -17,7 +17,7 @@ applications: DB_TYPE: POSTGRESQL CATALINA_OPTS: "-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true" JBP_CONFIG_SAP_MACHINE_JRE: '{ jre: { version: "25.+" } }' - JBP_CONFIG_TOMCAT: '{ tomcat: { version: 10.+ } }' + JBP_CONFIG_TOMCAT: '{ tomcat: { version: 11.+ } }' JBP_CONFIG_COMPONENTS: '{jres: ["JavaBuildpack::Jre::SapMachineJRE"]}' JAVA_OPTS: '-XX:+HeapDumpOnOutOfMemoryError -XX:MaxDirectMemorySize=192m -Xshare:off -XX:MaxMetaspaceSize=300m -XX:+ErrorFileToStdout -XX:TrimNativeHeapInterval=10000 -Dio.netty.noPreferDirect=true -Dio.netty.maxDirectMemory=0' PLATFORM: > From a1425ffb560562d053afa0b34804d955e4347df5 Mon Sep 17 00:00:00 2001 From: Yavor16 Date: Thu, 3 Sep 2026 16:30:55 +0300 Subject: [PATCH 2/2] Replace removed ALLOW_ENCODED_SLASH property with connector config The org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH system property was removed in Tomcat 11 and has no effect. Enable encoded forward slash decoding via the connector encodedSolidusHandling=decode attribute so the behavior is preserved on the Tomcat 11 runtime. --- multiapps-controller-web/manifests/manifest.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/multiapps-controller-web/manifests/manifest.yml b/multiapps-controller-web/manifests/manifest.yml index 1f1311d3aa..1f769ad872 100644 --- a/multiapps-controller-web/manifests/manifest.yml +++ b/multiapps-controller-web/manifests/manifest.yml @@ -15,7 +15,10 @@ applications: VERSION: ${project.version} XS_TYPE: CF DB_TYPE: POSTGRESQL - CATALINA_OPTS: "-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true" + # Encoded forward slashes (%2F) are enabled via the Tomcat connector attribute + # encodedSolidusHandling="decode"; the org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH + # system property was removed in Tomcat 11 and has no effect. + JBP_CONFIG_RESOURCE_CONFIGURATION: "['tomcat/conf/server.xml': {'connector.encodedSolidusHandling': 'decode'}]" JBP_CONFIG_SAP_MACHINE_JRE: '{ jre: { version: "25.+" } }' JBP_CONFIG_TOMCAT: '{ tomcat: { version: 11.+ } }' JBP_CONFIG_COMPONENTS: '{jres: ["JavaBuildpack::Jre::SapMachineJRE"]}'