From df0679f1996e1b97433ec440310d540dd41841a1 Mon Sep 17 00:00:00 2001 From: Arunan Sugunakumar Date: Wed, 17 Jul 2024 15:14:35 +0530 Subject: [PATCH] Fix startup errors with JDK latest versions Fix #2977 --- distribution/src/conf/wrapper.conf | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/distribution/src/conf/wrapper.conf b/distribution/src/conf/wrapper.conf index 4add85c91d..55ae33a562 100644 --- a/distribution/src/conf/wrapper.conf +++ b/distribution/src/conf/wrapper.conf @@ -123,7 +123,10 @@ wrapper.java.additional.42 = -Dserver.main.class=org.wso2.carbon.micro.integrato wrapper.java.additional.43 = -DskipStartupExtensions=false wrapper.java.additional.44 = -Dlogfiles.home=${wso2mi_home}\\repository\\logs wrapper.java.additional.45 = -DenableLivenessProbe=true -wrapper.java.additional.46 = --add-opens=java.base/java.lang=ALL-UNNAMED -wrapper.java.additional.47 = --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED -wrapper.java.additional.48 = --add-opens=java.base/java.net=ALL-UNNAMED -wrapper.java.additional.49 = -Dpolyglot.engine.WarnInterpreterOnly=false +wrapper.java.additional.46 = -Dpolyglot.engine.WarnInterpreterOnly=false +wrapper.java.additional.47 = -Djdk.util.zip.disableZip64ExtraFieldValidation=true +wrapper.java.additional.48 = -Djdk.nio.zipfs.allowDotZipEntry=true +wrapper.java.additional.49 = --add-opens=java.base/java.lang=ALL-UNNAMED +wrapper.java.additional.50 = --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED +wrapper.java.additional.51 = --add-opens=java.base/java.net=ALL-UNNAMED +