From 1f52479f3c9a14d1a4c5f52dca2742130e86b969 Mon Sep 17 00:00:00 2001 From: Will Mooreston Date: Fri, 7 Nov 2025 10:53:25 -0800 Subject: [PATCH] add required add-opens options for 25.11 --- entrypoint.sh | 5 +++++ quickstart_envs.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 400abfa..c62f2cf 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -267,6 +267,9 @@ main() { echo "Creating externalModules directory if it does not already exist..." mkdir -pv $LABKEY_EXTERNAL_MODULES + # set up required add-opens options + JAVA_ADD_OPENS="--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED" + # purge old heap/error directories echo "Purging heap/error log directories older than $PURGE_HEAP_AND_ERROR_LOGS_OLDER_THAN_DAYS days..." find "$LABKEY_HOME/files/" -mindepth 1 -maxdepth 1 -type d -ctime +${PURGE_HEAP_AND_ERROR_LOGS_OLDER_THAN_DAYS} -name "heap*" | xargs rm -rf @@ -324,6 +327,8 @@ main() { \ ${DD_JMX} \ \ + ${JAVA_ADD_OPENS} \ + \ ${JAVA_PRE_JAR_EXTRA} \ \ -jar labkeyServer.jar \ diff --git a/quickstart_envs.sh b/quickstart_envs.sh index 2ff7524..86494ce 100644 --- a/quickstart_envs.sh +++ b/quickstart_envs.sh @@ -3,7 +3,7 @@ # example minimal set of environment variables to get started - see readme for additional envs you may wish to set # embedded tomcat LabKey .jar version to build container with -export LABKEY_VERSION="25.8" +export LABKEY_VERSION="25.11" # minimal SMTP settings export SMTP_HOST="localhost"