After upgrading Confluence Server to 8.3.1 when ew compare versions of pages with embedded macros we get the error below.
Method "execute" failed for object com.atlassian.confluence.pages.actions.DiffPagesByVersionAction@6d632991
class org.outerj.daisy.diff.helper.CleanBrokenAttributeQNamesHandler (in unnamed module @0x6bfcdbc8) cannot access class com.sun.org.apache.xml.internal.utils.XML11Char (in module java.xml) because module java.xml does not export com.sun.org.apache.xml.internal.utils to unnamed module @0x6bfcdbc8
After upgrading from 7.19 to 8.3 we got the same issue.
Also we got a warning for fontconfig.
We solved the problem using openjdk 11 (configured in setjre.sh).
Looks like confluence isn't compatible with it's built in jre...
Thank you! I upgraded to 8.4.0 and using jdk11 solved my problem also.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I upgraded to 8.4.0 and Open JDK 17.0.7 (I believe it goes the Confluence version) and still got the error. I am upgrading to 8.5.2 LTS and still have the same error. Any help could be appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found a new setting in setenv.sh. Please check, if you have this setting:
# Add various JPMS arguments to allow Confluence to work on Java 17
CATALINA_OPTS="@$CATALINA_HOME/confluence/WEB-INF/jpms-args.txt ${CATALINA_OPTS}"
Our fault was, to reuse the old setenv.sh from Confluence 7 without this entry.
I didn't test java 17 with this option, but it sounds helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It works !!!. Thanks and appreciate for your help. I am using Data Centre for upgrading Confluence from 8.4.0 to version 8.5.2 LTS and Open JDK 17.0.7. I need to add another statements in setenv.sh to make it displays as below
CATALINA_OPTS=" --add-modules java.se --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED ${CATALINA_OPTS}"
CATALINA_OPTS="-Datlassian.recovery.password=Password ${CATALINA_OPTS}"
Note: the second option is used with recovery_admin user and only modify before executing the command: sudo /usr/bin/systemctl start confluence and only on sandpit server for testing purpose.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.