-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QACI-406 fixed tck websockets #4876
QACI-406 fixed tck websockets #4876
Conversation
… files - files significantly differ, should be compared and reviewed soon
- 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
- supports TLS1.3 - still loses critical exceptions (server may hang) if Error occurs in forked thread - bugfixes
@@ -430,19 +429,20 @@ | |||
<jvm-options>[9|]--add-opens=java.naming/javax.naming.spi=ALL-UNNAMED</jvm-options> | |||
<jvm-options>[9|]--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED</jvm-options> | |||
<jvm-options>[9|]--add-opens=java.logging/java.util.logging=ALL-UNNAMED</jvm-options> | |||
<jvm-options>-Djava.awt.headless=true</jvm-options> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maintainability: Only ordering changed in this block.
@@ -200,20 +200,22 @@ | |||
<jvm-options>[9|]--add-opens=java.naming/javax.naming.spi=ALL-UNNAMED</jvm-options> | |||
<jvm-options>[9|]--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED</jvm-options> | |||
<jvm-options>[9|]--add-opens=java.logging/java.util.logging=ALL-UNNAMED</jvm-options> | |||
<jvm-options>-Djava.awt.headless=true</jvm-options> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maintainability: Only ordering changed in this block.
<jvm-options>-Djdbc.drivers=org.h2.Driver</jvm-options> | ||
<jvm-options>-Djdbc.drivers=org.h2.Driver</jvm-options> | ||
<jvm-options>-Djdk.corba.allowOutputStreamSubclass=true</jvm-options> | ||
<jvm-options>-Djdk.tls.rejectClientInitiatedRenegotiation=true</jvm-options> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maintainability: Only ordering changed in this block
@@ -188,31 +188,31 @@ | |||
<jvm-options>-XX:+UseG1GC</jvm-options> | |||
<jvm-options>-XX:+UseStringDeduplication</jvm-options> | |||
<jvm-options>-XX:MaxGCPauseMillis=500</jvm-options> | |||
<jvm-options>-XX:MetaspaceSize=256m</jvm-options> | |||
<jvm-options>-XX:MaxMetaspaceSize=2g</jvm-options> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maintainability: Only ordering changed in this block
@@ -395,30 +395,30 @@ | |||
<jvm-options>-XX:+UseG1GC</jvm-options> | |||
<jvm-options>-XX:+UseStringDeduplication</jvm-options> | |||
<jvm-options>-XX:MaxGCPauseMillis=500</jvm-options> | |||
<jvm-options>-XX:MetaspaceSize=256m</jvm-options> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maintainability: Only ordering changed in this block
@@ -206,36 +206,36 @@ | |||
<jvm-options>[9|]--add-opens=java.naming/javax.naming.spi=ALL-UNNAMED</jvm-options> | |||
<jvm-options>[9|]--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED</jvm-options> | |||
<jvm-options>[9|]--add-opens=java.logging/java.util.logging=ALL-UNNAMED</jvm-options> | |||
<jvm-options>-Xmx2g</jvm-options> | |||
<jvm-options>-Xms2g</jvm-options> | |||
<jvm-options>-XX:+UseG1GC</jvm-options> | |||
<jvm-options>-XX:+UseStringDeduplication</jvm-options> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maintainability: Only ordering changed in this block
@@ -401,40 +401,40 @@ | |||
<jvm-options>[9|]--add-opens=java.base/java.util=ALL-UNNAMED</jvm-options> | |||
<jvm-options>[9|]--add-opens=java.base/sun.nio.ch=ALL-UNNAMED</jvm-options> | |||
<jvm-options>[9|]--add-opens=java.management/sun.management=ALL-UNNAMED</jvm-options> | |||
<jvm-options>[9|]--add-opens=java.naming/javax.naming.spi=ALL-UNNAMED</jvm-options> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maintainability: Only ordering changed in this block
<jvm-options>[1.8.0|1.8.0u120]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.6.jar</jvm-options> | ||
<jvm-options>[1.8.0u121|1.8.0u160]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.7.jar</jvm-options> | ||
<jvm-options>[1.8.0u161|1.8.0u190]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.jar</jvm-options> | ||
<jvm-options>[1.8.0u191|1.8.0u500]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar</jvm-options> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except ordering here I changed also filter from 1.8.0u500 to 1.8.0u250 just as it is in other domain.xml files and added non-api.
<jvm-options>[1.8.0|1.8.0u120]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.6.jar</jvm-options> | ||
<jvm-options>[1.8.0u121|1.8.0u160]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.7.jar</jvm-options> | ||
<jvm-options>[1.8.0u161|1.8.0u190]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.jar</jvm-options> | ||
<jvm-options>[1.8.0u191|1.8.0u500]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar</jvm-options> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except ordering here I changed also filter from 1.8.0u500 to 1.8.0u250 just as it is in other domain.xml files and added non-api.
@@ -311,18 +311,19 @@ | |||
<diagnostic-service/> | |||
<java-config debug-options="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=${JAVA_DEBUGGER_PORT}" system-classpath="" classpath-suffix=""> | |||
<jvm-options>-server</jvm-options> | |||
<jvm-options>-Djava.awt.headless=true</jvm-options> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the ordering to be same as in other domain.xml files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, nice work David!
jenkins test please |
1 similar comment
jenkins test please |
Jenkins failed because of invalid checksums, which payara/Payara_PatchedProjects#335 should fix |
I am thinking how this could happen ... seems the problem is with the merge. Alterntively we could use some git hook script, but I'm not sure github would execute them. |
…k-websockets QACI-406 fixed tck websockets
Description
Fixes QACI-406 - two TCK tests failed.
Current result:
Important Info
Blockers
Testing
New tests
Testing Performed
Testing Environment
Documentation
See JIRA issue, links to Confluence will be added
Notes for Reviewers