Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/foundation-2022' into foundation…
Browse files Browse the repository at this point in the history
…-2023
  • Loading branch information
Benjamin Reed committed Aug 1, 2023
2 parents e8ebcea + 3a4b3d2 commit a33c30e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions opennms-base-assembly/src/main/filtered/bin/opennms
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,8 @@ doStart(){
# this is a JRE, try to use ECJ for Jetty compilation instead
APP_VM_PARMS=("-Dorg.apache.jasper.compiler.disablejsr199=true" "${APP_VM_PARMS[@]}")
fi
# work around some jar files that are not compatible with updated JDK validation
APP_VM_PARMS=("-Djdk.util.zip.disableZip64ExtraFieldValidation=true" "${APP_VM_PARMS[@]}")

CMD=("${RUNJAVA_CMD[@]}" "-D_OPENNMS_LAUNCH" "${JAVA_CMD[@]}" "-Dopennms.pidfile=${OPENNMS_PIDFILE}" "${APP_VM_PARMS[@]}" -jar "$BOOTSTRAP" "${APP_PARMS_CONTROLLER[@]}" "${APP_PARMS_BEFORE[@]}" "$@" "${APP_PARMS_AFTER[@]}")
if [ "$SYSTEMD" = 1 ]; then
Expand Down
1 change: 1 addition & 0 deletions opennms-container/core/container-fs/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ start() {
-Dcom.sun.management.jmxremote.access.file=${OPENNMS_HOME}/etc/jmxremote.access
-DisThreadContextMapInheritable=true
-Djdk.attach.allowAttachSelf=true
-Djdk.util.zip.disableZip64ExtraFieldValidation=true
-Dgroovy.use.classvalue=true
-Djava.io.tmpdir=${OPENNMS_HOME}/data/tmp
-Djava.locale.providers=CLDR,COMPAT
Expand Down
2 changes: 1 addition & 1 deletion opennms-container/minion/container-fs/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ CONFD_BIN="/usr/bin/confd"
CONFD_CONFIG_FILE="${CONFD_CONFIG_DIR}/confd.toml"
CACERTS="${MINION_HOME}/cacerts"

export KARAF_OPTS="-Djava.locale.providers=CLDR,COMPAT"
export KARAF_OPTS="-Djava.locale.providers=CLDR,COMPAT -Djdk.util.zip.disableZip64ExtraFieldValidation=true"

# Error codes
E_ILLEGAL_ARGS=126
Expand Down
2 changes: 1 addition & 1 deletion opennms-container/sentinel/container-fs/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export SENTINEL_HOME="/opt/sentinel"
SENTINEL_OVERLAY_ETC="/opt/sentinel-etc-overlay"
SENTINEL_OVERLAY="/opt/sentinel-overlay"

export KARAF_OPTS="-Djava.locale.providers=CLDR,COMPAT"
export KARAF_OPTS="-Djava.locale.providers=CLDR,COMPAT -Djdk.util.zip.disableZip64ExtraFieldValidation=true"

# Error codes
E_ILLEGAL_ARGS=126
Expand Down

0 comments on commit a33c30e

Please sign in to comment.