Skip to content

Commit 329b167

Browse files
committed
small tweaks and fix step numbering
1 parent 791f617 commit 329b167

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

doc/release-notes/12020-Payara-and-Java-updates.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,18 @@ We also recommend you ensure you followed all update instructions from the past
113113
<system-property name="dataverse.mail.mta.host" value="localhost"></system-property>
114114
```
115115

116-
Please note that if your existing `domain.xml` file contains the old-style mail configuration entry that looks like this:
117-
`<mail-resource auth="false" host="localhost" from="do-not-reply@yourschool.edu" user="dataversenotify" jndi-name="mail/notifyMailSession"></mail-resource>`
118-
this may be a good time to replace it with new-style `system-property` entries, using the lines in the example above as a model.
116+
Please note that if your existing `domain.xml` file contains the old-style mail configuration entry that looks like the following...
117+
118+
`<mail-resource auth="false" host="localhost" from="do-not-reply@yourschool.edu" user="dataversenotify" jndi-name="mail/notifyMailSession"></mail-resource>`
119+
120+
... this may be a good time to replace it with new-style `system-property` entries, using the lines in the example above as a model. See also the section on [SMTP configuration](https://guides.dataverse.org/en/6.10/installation/config.html#smtp-email-configuration) in the guides.
121+
119122
Note: If you used the Dataverse installer, you won't have a `dataverse.db.password` property. See "Create password aliases" below.
120123

121124
Section 2: JVM options (under `<java-config classpath-suffix="" system-classpath="" debug-options="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9009">`, the one under `<config name="server-config">`, not under `<config name="default-config">`)
122125

123-
As an example, the following jvm options were encountered and transferred when upgrading a local test server:
126+
As an example, the following jvm options were encountered and transferred when upgrading a local test server:
127+
124128
```
125129
<jvm-options>-Ddataverse.files.directory=/usr/local/dvn/data</jvm-options>
126130
<jvm-options>-Ddataverse.files.file.type=file</jvm-options>
@@ -171,8 +175,10 @@ As an example, the following jvm options were encountered and transferred when u
171175

172176
Under `/usr/local/payara7/glassfish/domains/domain1/config/domain.xml`, check the `Xmx` setting under `<config name="server-config">`, where you put the Dataverse-related JVM options, not the one under `<config name="default-config">`. This sets the JVM heap size; a good rule of thumb is half of your system's total RAM. You may specify the value in MB (`8192m`) or GB (`8g`).
173177

174-
1. **Please make sure** to check for any other custom configuration you may have in your current `domain.xml` that are not explicitly covered in the sections above. As an example, at HDV we have the thread pool size configured as follows for the main http listener:
175-
`<thread-pool name="http-thread-pool" max-thread-pool-size="400"></thread-pool>`
178+
1. **Please make sure** to check for any other custom configuration you may have in your current `domain.xml` that are not explicitly covered in the sections above. As an example, for Harvard Dataverse we have the thread pool size configured as follows for the main http listener:
179+
180+
`<thread-pool name="http-thread-pool" max-thread-pool-size="400"></thread-pool>`
181+
176182
1. Copy `jhove.conf` and `jhoveConfig.xsd` from Payara 6, edit and change `payara6` to `payara7`.
177183

178184
`sudo bash -c 'cp /usr/local/payara6/glassfish/domains/domain1/config/jhove* /usr/local/payara7/glassfish/domains/domain1/config'`
@@ -265,6 +271,6 @@ As an example, the following jvm options were encountered and transferred when u
265271

266272
1. For installations with internationalization or text customizations:
267273

268-
Please remember to update translations via [Dataverse language packs](https://github.com/GlobalDataverseCommunityConsortium/dataverse-language-packs).
274+
Please remember to update translations via [Dataverse language packs](https://github.com/GlobalDataverseCommunityConsortium/dataverse-language-packs).
269275

270-
If you have text customizations you can get the latest English files from <https://github.com/IQSS/dataverse/tree/v6.10/src/main/java/propertyFiles>.
276+
If you have text customizations you can get the latest English files from <https://github.com/IQSS/dataverse/tree/v6.10/src/main/java/propertyFiles>.

0 commit comments

Comments
 (0)