-
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
Bug Report: Payara doesn't run on latest JDK patch levels / FISH-7665 #6344
Comments
Thanks Lenny. |
@lprimak should this workaround work for payara-micro as well? I have arquillian tests using payara-micro via the payara-micro-remote container, but either the jvm args you provided don't work for payara micro or I haven't figured out how to get the maven failsafe plugin to properly propagate them into the container. |
Probably the options aren't getting to Payara Micro. I am not a Micro user so can't help there :( Full profile all the way! |
woops, i meant to say that i'm using the payara-micro-managed arquillian container (not the remote), but yeah I'll have to dig into some arquillian code and see if I can track down the proper way to propagate all these configs. definitely happy to hear that the workaround works in payara-server-full. thanks again! |
Regarding to the Payara Micro Managed Arquillian Container, it mentions as the following: -
Then the <?xml version="1.0"?>
<arquillian xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://jboss.org/schema/arquillian"
xsi:schemaLocation="http://jboss.org/schema/arquillian
http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
<container qualifier="payara-micro-managed" default="true">
<configuration>
<property name="cmdOptions">-Djdk.util.zip.disableZip64ExtraFieldValidation=true --add-opens=java.base/java.io=ALL-UNNAMED</property>
</configuration>
</container>
</arquillian> |
See payara/Payara#6344 Bug Report: Payara doesn't run on latest JDK patch levels / FISH-7665
@charleech The cmdOption property is exactly what I was looking for, thanks! Only the -D system property was needed though. It works for me without the --add-opens parameter. Also, I don't seem to have any problem with the embedded profile in my tests. Embedded never exhibited the problem, but microprofile did. |
@Pandrex247 (or anyone) does your following pull request... ...which (judging from 8debccc) seems to have made it into Payara 6.2023.8 (now released) mean that this issue should be closed? Thanks for the fix! |
I’ll need to install the latest Payara and check. |
Yes it should now be fixed 🙂 |
@Pandrex247 thanks, yes, I agree, fixed, based on what I'm seeing in my repo: IQSS/dataverse#9795 (comment) |
Well, it's not fixed due to #6362 not being there yet... |
Once #6371 is merged, and released, this should be fully fixed |
Brief Summary
With latest JDK patch levels (20.0.2, 17.0.8, 11.0.20) there is a breaking change that prevents Payara from running at all.
I put the following at the end of
glassfish/config/asenv.conf
to get it to run:Below is the exception:
Expected Outcome
Payara runs
Current Outcome
Payara won't run
Reproducer
$ asadmin start-domain`
Operating System
Any
JDK Version
20.0.2, 17.0.8, 11.0.20
Payara Distribution
Payara Server Full Profile
The text was updated successfully, but these errors were encountered: