From b3d7d2b719bf896bdedf61644ffdda231ea09220 Mon Sep 17 00:00:00 2001 From: Michiel Meeuwissen Date: Thu, 20 Feb 2025 22:06:43 +0100 Subject: [PATCH] leniency for old jsps. --- Dockerfile | 4 ++-- catalina_base/bin/setenv.sh | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 96043d4..02e0c4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,7 +54,7 @@ WORKDIR $CATALINA_BASE # - netcat: just for debugging. 'nc'. # - apache2-utils: we use rotatelogs to rotate catalina.out # - file: used by mediatools, generally useful -# - unzip: to unzip the ware in on build +# - unzip: to unzip the war on build COPY eu-central-1-bundle.pem /tmp COPY importcerts.sh /tmp @@ -72,7 +72,7 @@ RUN set -eux && \ apt-get -y install less ncal procps curl rsync dnsutils netcat apache2-utils vim-tiny psmisc inotify-tools gawk file unzip && \ rm -rf /var/lib/apt/lists/* && \ mkdir -p /conf && \ - chmod 775 /conf + chmod 755 /conf # Have a workable shell diff --git a/catalina_base/bin/setenv.sh b/catalina_base/bin/setenv.sh index f42b037..06c93bc 100644 --- a/catalina_base/bin/setenv.sh +++ b/catalina_base/bin/setenv.sh @@ -71,6 +71,9 @@ if [ "$ENVIRONMENT" == "test" ] ; then CATALINA_OPTS="$CATALINA_OPTS -ea" fi +# mmbase sometimes +export CATALINA_OPTS="$CATALINA_OPTS -Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true" + # JPDA debugger is arranged in catalina.sh export JPDA_ADDRESS=8000