Skip to content

Commit d37ce60

Browse files
committed
1 parent d3521a6 commit d37ce60

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

modules/distribution/product/src/main/startup-scripts/api-manager.bat

+1
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ if %JAVA_VERSION% GEQ 110 set CARBON_CLASSPATH=".\lib\endorsed\*";%CARBON_CLASSP
204204

205205
if %JAVA_VERSION% LEQ 18 set JAVA_VER_BASED_OPTS=-Djava.endorsed.dirs=".\lib\endorsed";"%JAVA_HOME%\jre\lib\endorsed";"%JAVA_HOME%\lib\endorsed"
206206
if %JAVA_VERSION% GEQ 110 set JAVA_VER_BASED_OPTS=--add-opens=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED
207+
set JAVA_VER_BASED_OPTS=%JAVA_VER_BASED_OPTS% -Djdk.util.zip.disableZip64ExtraFieldValidation=true -Djdk.nio.zipfs.allowDotZipEntry=true
207208

208209
set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms256m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="%CARBON_HOME%\repository\logs\heap-dump.hprof"
209210
set CMD_LINE_ARGS=%CMD_LINE_ARGS% -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS% %JAVA_VER_BASED_OPTS%

modules/distribution/product/src/main/startup-scripts/api-manager.sh

+2
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,8 @@ do
355355
-Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector \
356356
-Dorg.ops4j.pax.logging.logReaderEnabled=false \
357357
-Dorg.ops4j.pax.logging.eventAdminEnabled=false \
358+
-Djdk.util.zip.disableZip64ExtraFieldValidation=true \
359+
-Djdk.nio.zipfs.allowDotZipEntry=true \
358360
org.wso2.carbon.bootstrap.Bootstrap $*
359361
status=$?
360362
done

0 commit comments

Comments
 (0)