-
Notifications
You must be signed in to change notification settings - Fork 535
Upgrade to Payara 7 and Java 21 #12043
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
base: develop
Are you sure you want to change the base?
Changes from all commits
75b3c55
bf642c8
92e0aa5
3cf6e90
48dcc18
82b4249
df2fd0a
df214fd
5320532
8c607d1
64b6187
24cad02
e096994
527f07a
a809c76
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -0,0 +1,36 @@ | ||||
| ### Payara 7.x and Java 21 support | ||||
|
|
||||
| This version of Dataverse has a minimal requirement of Payara 7.2026.1 and Java 21. (Later versions may work.) | ||||
|
|
||||
| #### Update Instructions: | ||||
|
|
||||
| In addition to the standard Payara update instructions and instructions related to Java 21 (do we say more than install Java 21 following standard guidance for your OS?): | ||||
|
|
||||
| Either update to put Payara in a /usr/local/payara7 dir or perhaps drop to just /usr/local/payara (at QDR /usr/local/payara is a symbolic link so we can change versions easily) | ||||
| Any reference to payara6 has to change, e.g. if counter-processor is deployed, the paths in counter-processor-config.yaml and counter_daily.sh have to be updated. | ||||
|
|
||||
| Copy the following files from the distributed domain.xml version to your domain. I don't know if all of these are required but we don't edit these by default and they have changed over time. | ||||
pdurbin marked this conversation as resolved.
Show resolved
Hide resolved
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note to self, we'll be copying the old domain1 directory, like we did at #11827 and https://github.com/IQSS/dataverse/releases/tag/v6.9 |
||||
| As with the 6.9 release, at least updating the *.p12 files is important (to get new root certs). | ||||
| cacerts.p12 | ||||
| default-web.xml | ||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
| glassfish-acc.xml | ||||
| javaee.server.policy | ||||
| keyfile | ||||
| keystore.p12 | ||||
| login.conf | ||||
| restrict.server.policy | ||||
| server.policy | ||||
| wss-server-config-1.0.xml | ||||
| wss-server-config-2.0.xml | ||||
|
|
||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For default-web.xml, copy it over but put in the changes we need. |
||||
| Make the following changes to your domain.xml file: | ||||
|
|
||||
| In the <config name="server-config"> element (and optionally again in the <config name="default-config"> element): | ||||
|
|
||||
| 1) Change | ||||
| <jacc-provider policy-provider="fish.payara.security.jacc.provider.PolicyProviderImpl" name="default" policy-configuration-factory-provider="fish.payara.security.jacc.provider.PolicyConfigurationFactoryImpl"></jacc-provider> | ||||
| to | ||||
| <jacc-provider policy-provider="org.glassfish.exousia.modules.def.DefaultPolicy" name="default" policy-configuration-factory-provider="org.glassfish.exousia.modules.def.DefaultPolicyConfigurationFactory"></jacc-provider> | ||||
|
|
||||
| 2) Add the jvm option: | ||||
| <jvm-options>-Djakarta.security.jacc.PolicyFactory.provider=org.glassfish.exousia.modules.def.DefaultPolicyFactory</jvm-options> | ||||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. -Djakarta.security.jacc.policy.provider=org.glassfish.exousia.modules.def.DefaultPolicy should also be added. These are both in the . |
||||
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.
The above is just a placeholder, obviously. We should take a look at these: