#23377 Illegal reflective access by org.glassfish.web.loader.WebappClassLoader
Signed-off-by: hussainnm <hussain.nm@cognizant.com>
diff --git a/appserver/admin/template/src/main/resources/config/domain.xml b/appserver/admin/template/src/main/resources/config/domain.xml
index de862ff..9bda0f7 100644
--- a/appserver/admin/template/src/main/resources/config/domain.xml
+++ b/appserver/admin/template/src/main/resources/config/domain.xml
@@ -210,6 +210,9 @@
<jvm-options>-Xbootclasspath/a:${com.sun.aas.installRoot}/lib/grizzly-npn-api.jar</jvm-options>
<jvm-options>--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED</jvm-options>
<jvm-options>--add-opens=java.base/sun.net.www.protocol.jrt=ALL-UNNAMED</jvm-options>
+ <jvm-options>--add-opens=java.base/java.lang=ALL-UNNAMED</jvm-options>
+ <jvm-options>--add-opens=java.base/java.util=ALL-UNNAMED</jvm-options>
+ <jvm-options>--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED</jvm-options>
</java-config>
<network-config>
<protocols>
@@ -395,6 +398,9 @@
<jvm-options>-Xbootclasspath/a:${com.sun.aas.installRoot}/lib/grizzly-npn-api.jar</jvm-options>
<jvm-options>--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED</jvm-options>
<jvm-options>--add-opens=java.base/sun.net.www.protocol.jrt=ALL-UNNAMED</jvm-options>
+ <jvm-options>--add-opens=java.base/java.lang=ALL-UNNAMED</jvm-options>
+ <jvm-options>--add-opens=java.base/java.util=ALL-UNNAMED</jvm-options>
+ <jvm-options>--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED</jvm-options>
</java-config>
<availability-service>
<web-container-availability/>
diff --git a/nucleus/admin/template/src/main/resources/config/domain.xml b/nucleus/admin/template/src/main/resources/config/domain.xml
index c1578d4..a7b9a37 100644
--- a/nucleus/admin/template/src/main/resources/config/domain.xml
+++ b/nucleus/admin/template/src/main/resources/config/domain.xml
@@ -176,6 +176,9 @@
<jvm-options>-Xbootclasspath/a:${com.sun.aas.installRoot}/lib/grizzly-npn-api.jar</jvm-options>
<jvm-options>--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED</jvm-options>
<jvm-options>--add-opens=java.base/sun.net.www.protocol.jrt=ALL-UNNAMED</jvm-options>
+ <jvm-options>--add-opens=java.base/java.lang=ALL-UNNAMED</jvm-options>
+ <jvm-options>--add-opens=java.base/java.util=ALL-UNNAMED</jvm-options>
+ <jvm-options>--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED</jvm-options>
</java-config>
<network-config>
<protocols>
@@ -324,6 +327,9 @@
<jvm-options>-Xbootclasspath/a:${com.sun.aas.installRoot}/lib/grizzly-npn-api.jar</jvm-options>
<jvm-options>--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED</jvm-options>
<jvm-options>--add-opens=java.base/sun.net.www.protocol.jrt=ALL-UNNAMED</jvm-options>
+ <jvm-options>--add-opens=java.base/java.lang=ALL-UNNAMED</jvm-options>
+ <jvm-options>--add-opens=java.base/java.util=ALL-UNNAMED</jvm-options>
+ <jvm-options>--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED</jvm-options>
</java-config>
<availability-service/>
<network-config>