Skip to content

Commit 1f52479

Browse files
committed
add required add-opens options for 25.11
1 parent 59f4f4f commit 1f52479

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

entrypoint.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,9 @@ main() {
267267
echo "Creating externalModules directory if it does not already exist..."
268268
mkdir -pv $LABKEY_EXTERNAL_MODULES
269269

270+
# set up required add-opens options
271+
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"
272+
270273
# purge old heap/error directories
271274
echo "Purging heap/error log directories older than $PURGE_HEAP_AND_ERROR_LOGS_OLDER_THAN_DAYS days..."
272275
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() {
324327
\
325328
${DD_JMX} \
326329
\
330+
${JAVA_ADD_OPENS} \
331+
\
327332
${JAVA_PRE_JAR_EXTRA} \
328333
\
329334
-jar labkeyServer.jar \

quickstart_envs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# example minimal set of environment variables to get started - see readme for additional envs you may wish to set
44

55
# embedded tomcat LabKey .jar version to build container with
6-
export LABKEY_VERSION="25.8"
6+
export LABKEY_VERSION="25.11"
77

88
# minimal SMTP settings
99
export SMTP_HOST="localhost"

0 commit comments

Comments
 (0)