From 882141ae5a3f79f930862f90837bfdf8ba26fc98 Mon Sep 17 00:00:00 2001 From: David Matejcek Date: Mon, 7 Sep 2020 17:44:55 +0200 Subject: [PATCH 1/6] QACI-406 Changed ordering of JVM options to be same in all domain.xml files - files significantly differ, should be compared and reviewed soon --- .../src/main/resources/config/domain.xml | 57 +++++++-------- .../src/main/resources/config/domain.xml | 71 +++++++++--------- .../src/main/resources/config/domain.xml | 38 +++++----- .../src/main/resources/config/domain.xml | 72 +++++++++--------- .../all/src/main/resources/config/domain.xml | 32 ++++---- .../web/src/main/resources/config/domain.xml | 42 +++++------ .../src/main/resources/config/domain.xml | 73 +++++++++---------- 7 files changed, 191 insertions(+), 194 deletions(-) diff --git a/appserver/admin/gf_template/src/main/resources/config/domain.xml b/appserver/admin/gf_template/src/main/resources/config/domain.xml index 5b6f899887b..72dd894744c 100644 --- a/appserver/admin/gf_template/src/main/resources/config/domain.xml +++ b/appserver/admin/gf_template/src/main/resources/config/domain.xml @@ -205,20 +205,22 @@ [9|]--add-opens=java.naming/javax.naming.spi=ALL-UNNAMED [9|]--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED [9|]--add-opens=java.logging/java.util.logging=ALL-UNNAMED - -Djava.awt.headless=true - -Djdk.corba.allowOutputStreamSubclass=true - -Djavax.xml.accessExternalSchema=all - -Djavax.management.builder.initial=com.sun.enterprise.v3.admin.AppServerMBeanServerBuilder + -Xmx512m + -XX:NewRatio=2 -XX:+UnlockDiagnosticVMOptions - -Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy + -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory + -Djava.awt.headless=true -Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf + -Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy + -Djavax.management.builder.initial=com.sun.enterprise.v3.admin.AppServerMBeanServerBuilder -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as - -Xmx512m -Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks -Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks + -Djavax.xml.accessExternalSchema=all -Djdbc.drivers=org.h2.Driver + -Djdk.corba.allowOutputStreamSubclass=true + -Djdk.tls.rejectClientInitiatedRenegotiation=true -DANTLR_USE_DIRECT_CLASS_LOADING=true - -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall -Dfelix.fileinstall.log.level=2 - -Dfelix.fileinstall.bundles.new.start=true -Dfelix.fileinstall.bundles.startTransient=true - + + -Dfelix.fileinstall.disableConfigSave=false - -XX:NewRatio=2 -Dcom.ctc.wstx.returnNullForDefaultNamespace=true - -Djdk.tls.rejectClientInitiatedRenegotiation=true - -Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false -Dorg.glassfish.grizzly.DEFAULT_MEMORY_MANAGER=org.glassfish.grizzly.memory.HeapMemoryManager -Dorg.glassfish.grizzly.nio.DefaultSelectorHandler.force-selector-spin-detection=true - + -Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false + [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed + [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext + [1.8.0|1.8.0u120]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.6.jar [1.8.0u121|1.8.0u160]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.7.jar [1.8.0u161|1.8.0u190]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.jar [1.8.0u191|1.8.0u250]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar [1.8.0u251|]-Xbootclasspath/a:${com.sun.aas.installRoot}/lib/grizzly-npn-api.jar - [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed - [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext [Azul-1.8.0u222|1.8.0u260]-XX:+UseOpenJSSE [9|]-Djava.class.path=${com.sun.aas.installRoot}/modules/glassfish.jar${path.separator}${com.sun.aas.installRoot}/modules/jakarta.jws-api.jar${path.separator}${com.sun.aas.installRoot}/modules/jakarta.xml.rpc-api.jar${path.separator}${com.sun.aas.installRoot}/modules/webservices-osgi.jar${path.separator}${com.sun.aas.installRoot}/modules/jaxb-osgi.jar${path.separator}${com.sun.aas.installRoot}/modules/jakarta.xml.ws-api.jar${path.separator}${com.sun.aas.installRoot}/modules/jakarta.activation-api.jar @@ -430,19 +429,20 @@ [9|]--add-opens=java.naming/javax.naming.spi=ALL-UNNAMED [9|]--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED [9|]--add-opens=java.logging/java.util.logging=ALL-UNNAMED - -Djava.awt.headless=true - -Djdk.corba.allowOutputStreamSubclass=true + -Xmx512m + -XX:NewRatio=2 -XX:+UnlockDiagnosticVMOptions - -Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy + -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory + -Djava.awt.headless=true -Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf + -Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as -Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks -Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks -Djdbc.drivers=org.h2.Driver + -Djdk.corba.allowOutputStreamSubclass=true + -Djdk.tls.rejectClientInitiatedRenegotiation=true -DANTLR_USE_DIRECT_CLASS_LOADING=true - -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory - -XX:NewRatio=2 - -Xmx512m -Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.fileinstall @@ -473,19 +473,18 @@ --> -Dfelix.fileinstall.disableConfigSave=false - -Djdk.tls.rejectClientInitiatedRenegotiation=true - -Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false -Dorg.glassfish.grizzly.DEFAULT_MEMORY_MANAGER=org.glassfish.grizzly.memory.HeapMemoryManager -Dorg.glassfish.grizzly.nio.DefaultSelectorHandler.force-selector-spin-detection=true - + -Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false + [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed + [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext + [1.8.0|1.8.0u120]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.6.jar [1.8.0u121|1.8.0u160]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.7.jar [1.8.0u161|1.8.0u190]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.jar [1.8.0u191|1.8.0u250]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar [1.8.0u251|]-Xbootclasspath/a:${com.sun.aas.installRoot}/lib/grizzly-npn-api.jar - [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed - [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext [Azul-1.8.0u222|1.8.0u260]-XX:+UseOpenJSSE [9|]-Djava.class.path=${com.sun.aas.installRoot}/modules/glassfish.jar${path.separator}${com.sun.aas.installRoot}/modules/jakarta.jws-api.jar${path.separator}${com.sun.aas.installRoot}/modules/jakarta.xml.rpc-api.jar${path.separator}${com.sun.aas.installRoot}/modules/webservices-osgi.jar${path.separator}${com.sun.aas.installRoot}/modules/jaxb-osgi.jar${path.separator}${com.sun.aas.installRoot}/modules/jakarta.xml.ws-api.jar${path.separator}${com.sun.aas.installRoot}/modules/jakarta.activation-api.jar diff --git a/appserver/admin/gf_template_web/src/main/resources/config/domain.xml b/appserver/admin/gf_template_web/src/main/resources/config/domain.xml index d26225a43b4..a78d870c8bd 100644 --- a/appserver/admin/gf_template_web/src/main/resources/config/domain.xml +++ b/appserver/admin/gf_template_web/src/main/resources/config/domain.xml @@ -2,9 +2,9 @@ -Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall -Dfelix.fileinstall.log.level=2 - -Dfelix.fileinstall.bundles.new.start=true -Dfelix.fileinstall.bundles.startTransient=true - + + -Dfelix.fileinstall.disableConfigSave=false - -XX:NewRatio=2 -Dcom.ctc.wstx.returnNullForDefaultNamespace=true - -Djdk.tls.rejectClientInitiatedRenegotiation=true - -Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false -Dorg.glassfish.grizzly.DEFAULT_MEMORY_MANAGER=org.glassfish.grizzly.memory.HeapMemoryManager -Dorg.glassfish.grizzly.nio.DefaultSelectorHandler.force-selector-spin-detection=true - + -Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false + [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed + [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext + [1.8.0|1.8.0u120]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.6.jar [1.8.0u121|1.8.0u160]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.7.jar [1.8.0u161|1.8.0u190]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.jar [1.8.0u191|1.8.0u250]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar [1.8.0u251|]-Xbootclasspath/a:${com.sun.aas.installRoot}/lib/grizzly-npn-api.jar - [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed - [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext [Azul-1.8.0u222|1.8.0u260]-XX:+UseOpenJSSE @@ -420,19 +419,20 @@ [9|]--add-opens=java.naming/javax.naming.spi=ALL-UNNAMED [9|]--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED [9|]--add-opens=java.logging/java.util.logging=ALL-UNNAMED - -Djava.awt.headless=true - -Djdk.corba.allowOutputStreamSubclass=true + -Xmx512m + -XX:NewRatio=2 -XX:+UnlockDiagnosticVMOptions - -Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy + -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory + -Djava.awt.headless=true -Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf + -Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as -Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks -Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks - -Djdbc.drivers=org.h2.Driver + -Djdbc.drivers=org.h2.Driver + -Djdk.corba.allowOutputStreamSubclass=true + -Djdk.tls.rejectClientInitiatedRenegotiation=true -DANTLR_USE_DIRECT_CLASS_LOADING=true - -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory - -XX:NewRatio=2 - -Xmx512m -Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.fileinstall @@ -463,19 +463,18 @@ --> -Dfelix.fileinstall.disableConfigSave=false - -Djdk.tls.rejectClientInitiatedRenegotiation=true - -Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false -Dorg.glassfish.grizzly.DEFAULT_MEMORY_MANAGER=org.glassfish.grizzly.memory.HeapMemoryManager -Dorg.glassfish.grizzly.nio.DefaultSelectorHandler.force-selector-spin-detection=true - + -Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false + [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed + [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext + [1.8.0|1.8.0u120]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.6.jar [1.8.0u121|1.8.0u160]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.7.jar [1.8.0u161|1.8.0u190]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.jar [1.8.0u191|1.8.0u250]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar [1.8.0u251|]-Xbootclasspath/a:${com.sun.aas.installRoot}/lib/grizzly-npn-api.jar - [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed - [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext [Azul-1.8.0u222|1.8.0u260]-XX:+UseOpenJSSE diff --git a/appserver/admin/production_domain_template/src/main/resources/config/domain.xml b/appserver/admin/production_domain_template/src/main/resources/config/domain.xml index ea20e268598..d2bb70ef571 100644 --- a/appserver/admin/production_domain_template/src/main/resources/config/domain.xml +++ b/appserver/admin/production_domain_template/src/main/resources/config/domain.xml @@ -188,31 +188,31 @@ -XX:+UseG1GC -XX:+UseStringDeduplication -XX:MaxGCPauseMillis=500 - -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=2g + -XX:MetaspaceSize=256m -XX:+UnlockDiagnosticVMOptions + -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Djava.awt.headless=true - -Djdk.corba.allowOutputStreamSubclass=true - -Djavax.xml.accessExternalSchema=all - -Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy -Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf + -Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy -Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks -Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks + -Djavax.xml.accessExternalSchema=all -Djdbc.drivers=org.h2.Driver - -DANTLR_USE_DIRECT_CLASS_LOADING=true - -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory + -Djdk.corba.allowOutputStreamSubclass=true -Djdk.tls.rejectClientInitiatedRenegotiation=true - -Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false + -DANTLR_USE_DIRECT_CLASS_LOADING=true -Dorg.glassfish.grizzly.DEFAULT_MEMORY_MANAGER=org.glassfish.grizzly.memory.HeapMemoryManager -Dorg.glassfish.grizzly.nio.DefaultSelectorHandler.force-selector-spin-detection=true - + -Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false + [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed + [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext + [1.8.0|1.8.0u120]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.6.jar [1.8.0u121|1.8.0u160]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.7.jar [1.8.0u161|1.8.0u190]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.jar [1.8.0u191|1.8.0u250]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar [1.8.0u251|]-Xbootclasspath/a:${com.sun.aas.installRoot}/lib/grizzly-npn-api.jar - [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed - [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext [Azul-1.8.0u222|1.8.0u260]-XX:+UseOpenJSSE [9|]-Djava.class.path=${com.sun.aas.installRoot}/modules/glassfish.jar${path.separator}${com.sun.aas.installRoot}/modules/jakarta.jws-api.jar${path.separator}${com.sun.aas.installRoot}/modules/jakarta.xml.rpc-api.jar${path.separator}${com.sun.aas.installRoot}/modules/webservices-osgi.jar${path.separator}${com.sun.aas.installRoot}/modules/jaxb-osgi.jar${path.separator}${com.sun.aas.installRoot}/modules/jakarta.xml.ws-api.jar${path.separator}${com.sun.aas.installRoot}/modules/jakarta.activation-api.jar @@ -395,30 +395,30 @@ -XX:+UseG1GC -XX:+UseStringDeduplication -XX:MaxGCPauseMillis=500 - -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=2g + -XX:MetaspaceSize=256m -XX:+UnlockDiagnosticVMOptions + -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Djava.awt.headless=true - -Djdk.corba.allowOutputStreamSubclass=true - -Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy -Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf + -Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy -Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks -Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks -Djdbc.drivers=org.h2.Driver - -DANTLR_USE_DIRECT_CLASS_LOADING=true - -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory + -Djdk.corba.allowOutputStreamSubclass=true -Djdk.tls.rejectClientInitiatedRenegotiation=true - -Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false + -DANTLR_USE_DIRECT_CLASS_LOADING=true -Dorg.glassfish.grizzly.DEFAULT_MEMORY_MANAGER=org.glassfish.grizzly.memory.HeapMemoryManager -Dorg.glassfish.grizzly.nio.DefaultSelectorHandler.force-selector-spin-detection=true - + -Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false + [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed + [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext + [1.8.0|1.8.0u120]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.6.jar [1.8.0u121|1.8.0u160]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.7.jar [1.8.0u161|1.8.0u190]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.jar [1.8.0u191|1.8.0u250]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar [1.8.0u251|]-Xbootclasspath/a:${com.sun.aas.installRoot}/lib/grizzly-npn-api.jar - [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed - [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext [Azul-1.8.0u222|1.8.0u260]-XX:+UseOpenJSSE [9|]-Djava.class.path=${com.sun.aas.installRoot}/modules/glassfish.jar${path.separator}${com.sun.aas.installRoot}/modules/jakarta.jws-api.jar${path.separator}${com.sun.aas.installRoot}/modules/jakarta.xml.rpc-api.jar${path.separator}${com.sun.aas.installRoot}/modules/webservices-osgi.jar${path.separator}${com.sun.aas.installRoot}/modules/jaxb-osgi.jar${path.separator}${com.sun.aas.installRoot}/modules/jakarta.xml.ws-api.jar${path.separator}${com.sun.aas.installRoot}/modules/jakarta.activation-api.jar diff --git a/appserver/admin/production_domain_template_web/src/main/resources/config/domain.xml b/appserver/admin/production_domain_template_web/src/main/resources/config/domain.xml index fe24ae86703..2cf14b6f335 100644 --- a/appserver/admin/production_domain_template_web/src/main/resources/config/domain.xml +++ b/appserver/admin/production_domain_template_web/src/main/resources/config/domain.xml @@ -2,9 +2,9 @@ + -Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false + [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed + [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext + [1.8.0|1.8.0u120]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.6.jar [1.8.0u121|1.8.0u160]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.7.jar [1.8.0u161|1.8.0u190]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.jar [1.8.0u191|1.8.0u250]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar [1.8.0u251|]-Xbootclasspath/a:${com.sun.aas.installRoot}/lib/grizzly-npn-api.jar - [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed - [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext [Azul-1.8.0u222|1.8.0u260]-XX:+UseOpenJSSE @@ -401,40 +401,40 @@ [9|]--add-opens=java.base/java.util=ALL-UNNAMED [9|]--add-opens=java.base/sun.nio.ch=ALL-UNNAMED [9|]--add-opens=java.management/sun.management=ALL-UNNAMED - [9|]--add-opens=java.naming/javax.naming.spi=ALL-UNNAMED - [9|]--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED [9|]--add-opens=java.base/sun.net.www.protocol.jrt=ALL-UNNAMED [9|]--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED + [9|]--add-opens=java.naming/javax.naming.spi=ALL-UNNAMED + [9|]--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED [9|]--add-opens=java.logging/java.util.logging=ALL-UNNAMED + -Xmx2g + -Xms2g -XX:+UseG1GC -XX:+UseStringDeduplication - -XX:MetaspaceSize=256m - -XX:MaxMetaspaceSize=2g -XX:MaxGCPauseMillis=500 - -Djava.awt.headless=true - -Djdk.corba.allowOutputStreamSubclass=true + -XX:MaxMetaspaceSize=2g + -XX:MetaspaceSize=256m -XX:+UnlockDiagnosticVMOptions - -Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy + -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory + -Djava.awt.headless=true -Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf + -Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy -Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks -Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks -Djdbc.drivers=org.h2.Driver - -DANTLR_USE_DIRECT_CLASS_LOADING=true - -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory - -Xmx2g - -Xms2g + -Djdk.corba.allowOutputStreamSubclass=true -Djdk.tls.rejectClientInitiatedRenegotiation=true - -Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false + -DANTLR_USE_DIRECT_CLASS_LOADING=true -Dorg.glassfish.grizzly.DEFAULT_MEMORY_MANAGER=org.glassfish.grizzly.memory.HeapMemoryManager -Dorg.glassfish.grizzly.nio.DefaultSelectorHandler.force-selector-spin-detection=true - + -Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false + [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed + [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext + [1.8.0|1.8.0u120]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.6.jar [1.8.0u121|1.8.0u160]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.7.jar [1.8.0u161|1.8.0u190]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.jar [1.8.0u191|1.8.0u250]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar [1.8.0u251|]-Xbootclasspath/a:${com.sun.aas.installRoot}/lib/grizzly-npn-api.jar - [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed - [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext [Azul-1.8.0u222|1.8.0u260]-XX:+UseOpenJSSE diff --git a/appserver/extras/embedded/all/src/main/resources/config/domain.xml b/appserver/extras/embedded/all/src/main/resources/config/domain.xml index afec6e99200..0d7bf314034 100644 --- a/appserver/extras/embedded/all/src/main/resources/config/domain.xml +++ b/appserver/extras/embedded/all/src/main/resources/config/domain.xml @@ -189,22 +189,22 @@ -client - -Djava.awt.headless=true - -Djdk.corba.allowOutputStreamSubclass=true - -Djavax.xml.accessExternalSchema=all - -Djavax.management.builder.initial=com.sun.enterprise.v3.admin.AppServerMBeanServerBuilder + -Xmx512m + -XX:NewRatio=2 -XX:+UnlockDiagnosticVMOptions - [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed - -Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy + -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory + -Djava.awt.headless=true -Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf + -Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy + -Djavax.management.builder.initial=com.sun.enterprise.v3.admin.AppServerMBeanServerBuilder -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as - -Xmx512m -Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks -Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks - [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext + -Djavax.xml.accessExternalSchema=all -Djdbc.drivers=org.h2.Driver + -Djdk.corba.allowOutputStreamSubclass=true + -Djdk.tls.rejectClientInitiatedRenegotiation=true -DANTLR_USE_DIRECT_CLASS_LOADING=true - -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall -Dfelix.fileinstall.log.level=2 - -Dfelix.fileinstall.bundles.new.start=true @@ -234,14 +234,14 @@ --> -Dfelix.fileinstall.disableConfigSave=false - -XX:NewRatio=2 -Dcom.ctc.wstx.returnNullForDefaultNamespace=true - -Djdk.tls.rejectClientInitiatedRenegotiation=true - -Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false -Dorg.glassfish.grizzly.DEFAULT_MEMORY_MANAGER=org.glassfish.grizzly.memory.HeapMemoryManager -Dorg.glassfish.grizzly.nio.DefaultSelectorHandler.force-selector-spin-detection=true - + -Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false + [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed + [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext + [1.8.0|1.8.0u120]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.6.jar [1.8.0u121|1.8.0u160]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.7.jar [1.8.0u161|1.8.0u190]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.jar @@ -289,4 +289,4 @@ - \ No newline at end of file + diff --git a/appserver/extras/embedded/web/src/main/resources/config/domain.xml b/appserver/extras/embedded/web/src/main/resources/config/domain.xml index ff474921b88..f159c52cf2b 100644 --- a/appserver/extras/embedded/web/src/main/resources/config/domain.xml +++ b/appserver/extras/embedded/web/src/main/resources/config/domain.xml @@ -2,9 +2,9 @@ -Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall -Dfelix.fileinstall.log.level=2 - -Dfelix.fileinstall.bundles.new.start=true @@ -227,14 +227,14 @@ --> -Dfelix.fileinstall.disableConfigSave=false - -XX:NewRatio=2 -Dcom.ctc.wstx.returnNullForDefaultNamespace=true - -Djdk.tls.rejectClientInitiatedRenegotiation=true -Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false -Dorg.glassfish.grizzly.DEFAULT_MEMORY_MANAGER=org.glassfish.grizzly.memory.HeapMemoryManager -Dorg.glassfish.grizzly.nio.DefaultSelectorHandler.force-selector-spin-detection=true - + [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed + [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext + [1.8.0|1.8.0u120]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.6.jar [1.8.0u121|1.8.0u160]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.7.jar [1.8.0u161|1.8.0u190]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.jar @@ -282,4 +282,4 @@ - \ No newline at end of file + diff --git a/nucleus/admin/template/src/main/resources/config/domain.xml b/nucleus/admin/template/src/main/resources/config/domain.xml index e605a8b9888..3d6c6116162 100644 --- a/nucleus/admin/template/src/main/resources/config/domain.xml +++ b/nucleus/admin/template/src/main/resources/config/domain.xml @@ -71,18 +71,18 @@ - + - + - + - + @@ -154,22 +154,22 @@ - + -client - -Djava.awt.headless=true - -Djavax.management.builder.initial=com.sun.enterprise.v3.admin.AppServerMBeanServerBuilder + -Xmx512m + -XX:NewRatio=2 -XX:+UnlockDiagnosticVMOptions - [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed - -Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy + -Djava.awt.headless=true -Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf + -Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy + -Djavax.management.builder.initial=com.sun.enterprise.v3.admin.AppServerMBeanServerBuilder -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as - -Xmx512m -Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks -Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks - [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext - -DANTLR_USE_DIRECT_CLASS_LOADING=true + -Djdk.tls.rejectClientInitiatedRenegotiation=true + -DANTLR_USE_DIRECT_CLASS_LOADING=true @@ -187,20 +187,19 @@ -Dfelix.fileinstall.poll=5000 -Dfelix.fileinstall.log.level=2 - -Dfelix.fileinstall.bundles.new.start=true -Dfelix.fileinstall.bundles.startTransient=true - + + -Dfelix.fileinstall.disableConfigSave=false - -XX:NewRatio=2 - -Djdk.tls.rejectClientInitiatedRenegotiation=true - + [|8]-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed + [|8]-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext + [1.8.0|1.8.0u120]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.6.jar [1.8.0u121|1.8.0u160]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.7.jar [1.8.0u161|1.8.0u190]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.jar @@ -213,7 +212,7 @@ - + @@ -311,18 +310,19 @@ -server - -Djava.awt.headless=true + -Xmx512m + -XX:NewRatio=2 -XX:+UnlockDiagnosticVMOptions - -Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed - -Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy + -Djava.awt.headless=true -Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf + -Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as -Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks -Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks - -Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext -DANTLR_USE_DIRECT_CLASS_LOADING=true - -XX:NewRatio=2 - -Xmx512m + -Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed + -Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext + -Djdk.tls.rejectClientInitiatedRenegotiation=true @@ -352,51 +352,50 @@ --> -Dfelix.fileinstall.disableConfigSave=false - -Djdk.tls.rejectClientInitiatedRenegotiation=true - + - + - + - + - + - + - + - + @@ -406,7 +405,7 @@ - + From 1ce43b4188dae48552ab455d4fa96130dd3ac63f Mon Sep 17 00:00:00 2001 From: David Matejcek Date: Mon, 7 Sep 2020 17:46:43 +0200 Subject: [PATCH 2/6] QACI-406 Using same bootclasspath set in all domain.xml files --- .../extras/embedded/all/src/main/resources/config/domain.xml | 3 ++- .../extras/embedded/web/src/main/resources/config/domain.xml | 3 ++- nucleus/admin/template/src/main/resources/config/domain.xml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/appserver/extras/embedded/all/src/main/resources/config/domain.xml b/appserver/extras/embedded/all/src/main/resources/config/domain.xml index 0d7bf314034..3e31e42ca3b 100644 --- a/appserver/extras/embedded/all/src/main/resources/config/domain.xml +++ b/appserver/extras/embedded/all/src/main/resources/config/domain.xml @@ -245,7 +245,8 @@ [1.8.0|1.8.0u120]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.6.jar [1.8.0u121|1.8.0u160]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.7.jar [1.8.0u161|1.8.0u190]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.jar - [1.8.0u191|1.8.0u500]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar + [1.8.0u191|1.8.0u250]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar + [1.8.0u251|]-Xbootclasspath/a:${com.sun.aas.installRoot}/lib/grizzly-npn-api.jar [Azul-1.8.0u222|1.8.0u260]-XX:+UseOpenJSSE diff --git a/appserver/extras/embedded/web/src/main/resources/config/domain.xml b/appserver/extras/embedded/web/src/main/resources/config/domain.xml index f159c52cf2b..0d17621fd2a 100644 --- a/appserver/extras/embedded/web/src/main/resources/config/domain.xml +++ b/appserver/extras/embedded/web/src/main/resources/config/domain.xml @@ -238,7 +238,8 @@ [1.8.0|1.8.0u120]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.6.jar [1.8.0u121|1.8.0u160]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.7.jar [1.8.0u161|1.8.0u190]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.jar - [1.8.0u191|1.8.0u500]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar + [1.8.0u191|1.8.0u250]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar + [1.8.0u251|]-Xbootclasspath/a:${com.sun.aas.installRoot}/lib/grizzly-npn-api.jar [Azul-1.8.0u222|1.8.0u260]-XX:+UseOpenJSSE diff --git a/nucleus/admin/template/src/main/resources/config/domain.xml b/nucleus/admin/template/src/main/resources/config/domain.xml index 3d6c6116162..f2aae101c0c 100644 --- a/nucleus/admin/template/src/main/resources/config/domain.xml +++ b/nucleus/admin/template/src/main/resources/config/domain.xml @@ -203,7 +203,8 @@ [1.8.0|1.8.0u120]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.6.jar [1.8.0u121|1.8.0u160]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.7.jar [1.8.0u161|1.8.0u190]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.jar - [1.8.0u191|1.8.0u500]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar + [1.8.0u191|1.8.0u250]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar + [1.8.0u251|]-Xbootclasspath/a:${com.sun.aas.installRoot}/lib/grizzly-npn-api.jar [Azul-1.8.0u222|1.8.0u260]-XX:+UseOpenJSSE From 5939186a6db18ee9c53db624f6d52606ca142ef8 Mon Sep 17 00:00:00 2001 From: David Matejcek Date: Mon, 7 Sep 2020 17:52:24 +0200 Subject: [PATCH 3/6] QACI-406 grizzly-npn-bootstrap 1.9.payara-p1 was never used - Added explanation of how it works and what to care about - removed 1.9.payara-p1 from dependencies - grizzly-npn-bootstrap is used only for old JDK8 versions, new JDK8 distros already contain JSSE implementation supporting ALPN, so no bootstrap is needed - changed the property so it directly says what dependency it affects --- nucleus/grizzly/config/pom.xml | 16 ++++++++-------- nucleus/packager/nucleus-grizzly/pom.xml | 15 ++++++--------- nucleus/pom.xml | 6 +++--- 3 files changed, 17 insertions(+), 20 deletions(-) diff --git a/nucleus/grizzly/config/pom.xml b/nucleus/grizzly/config/pom.xml index 2469e1736b6..4f3e4cb00d5 100644 --- a/nucleus/grizzly/config/pom.xml +++ b/nucleus/grizzly/config/pom.xml @@ -44,17 +44,17 @@ 4.0.0 - + fish.payara.server.internal.grizzly nucleus-grizzly 5.2020.5-SNAPSHOT - + grizzly-config grizzly-config glassfish-jar - + @@ -70,10 +70,10 @@ 1 false - + - + org.glassfish.grizzly @@ -91,7 +91,7 @@ org.glassfish.grizzly tls-sni - + org.glassfish.grizzly grizzly-http @@ -126,7 +126,7 @@ logging-annotation-processor true - + jakarta.servlet @@ -136,7 +136,7 @@ org.glassfish.grizzly grizzly-npn-api - ${grizzly.npn.version} + ${grizzly.npn.api.version} test diff --git a/nucleus/packager/nucleus-grizzly/pom.xml b/nucleus/packager/nucleus-grizzly/pom.xml index 9e91b652c84..bb6ce916c41 100644 --- a/nucleus/packager/nucleus-grizzly/pom.xml +++ b/nucleus/packager/nucleus-grizzly/pom.xml @@ -44,13 +44,13 @@ 4.0.0 - + fish.payara.server.internal.packager nucleus-packages 5.2020.5-SNAPSHOT - + nucleus-grizzly Nucleus Grizzly Package distribution-fragment @@ -92,10 +92,12 @@ org.glassfish.grizzly grizzly-npn-api - ${grizzly.npn.version} + ${grizzly.npn.api.version} grizzly-npn-api.jar - + + + org.glassfish.grizzly grizzly-npn-bootstrap @@ -103,11 +105,6 @@ grizzly-npn-bootstrap.jar - - org.glassfish.grizzly - grizzly-npn-bootstrap - 1.9.payara-p1 - org.glassfish.grizzly grizzly-npn-bootstrap diff --git a/nucleus/pom.xml b/nucleus/pom.xml index 9872983e885..b9a659f915d 100644 --- a/nucleus/pom.xml +++ b/nucleus/pom.xml @@ -121,7 +121,7 @@ - 1.9.payara-p1 + 1.9.payara-p1 1.9 @@ -158,7 +158,7 @@ 2.7.7 2.6 - + 1.9.12 @@ -714,7 +714,7 @@ Parent is ${project.parent} fish.payara.monitoring-console monitoring-console-api ${monitoring-console-api.version} - + org.glassfish.hk2 osgi-resource-locator From 4bf113035356ff82c4e19602df6395026ebd0792 Mon Sep 17 00:00:00 2001 From: David Matejcek Date: Mon, 7 Sep 2020 17:54:50 +0200 Subject: [PATCH 4/6] QACI-406 Upgraded Tyrus from 1.15 to 1.17 - supports TLS1.3 - still loses critical exceptions (server may hang) if Error occurs in forked thread - bugfixes --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6b852d2311e..d684b5f42eb 100644 --- a/pom.xml +++ b/pom.xml @@ -159,7 +159,7 @@ 1.2.5 2.3.2 2.3.14.payara-p2 - 1.15 + 1.17 2.3.0 1.0.2 1.0.6 From 262279917e21352117607692b9605fb8d4d081e6 Mon Sep 17 00:00:00 2001 From: David Matejcek Date: Mon, 7 Sep 2020 17:55:17 +0200 Subject: [PATCH 5/6] QACI-406 ServerLogTest enabled again --- .../java/fish/payara/samples/rest/management/ServerLogTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/appserver/tests/payara-samples/samples/rest-management/src/test/java/fish/payara/samples/rest/management/ServerLogTest.java b/appserver/tests/payara-samples/samples/rest-management/src/test/java/fish/payara/samples/rest/management/ServerLogTest.java index 98f6dc00d14..e88ee7ef25c 100644 --- a/appserver/tests/payara-samples/samples/rest-management/src/test/java/fish/payara/samples/rest/management/ServerLogTest.java +++ b/appserver/tests/payara-samples/samples/rest-management/src/test/java/fish/payara/samples/rest/management/ServerLogTest.java @@ -50,13 +50,11 @@ import javax.ws.rs.core.Response; import org.junit.Before; -import org.junit.Ignore; import org.junit.Test; /** * Tests to run against the server log */ -@Ignore public class ServerLogTest extends RestManagementTest { @Before From 98fb18176e6b5cb02c8254d08d06ce1d16b49204 Mon Sep 17 00:00:00 2001 From: David Matejcek Date: Mon, 7 Sep 2020 18:41:12 +0200 Subject: [PATCH 6/6] QACI-406 Using released version of grizzly 2.4.4.payara-p4 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d684b5f42eb..9303489cd19 100644 --- a/pom.xml +++ b/pom.xml @@ -131,7 +131,7 @@ 8.0.0 4.0.2 - 2.4.4.payara-p2 + 2.4.4.payara-p4 2.1.6 2.30.payara-p2 2.0.2