error while upgrade JDK from 8 to 14

hellojinjie
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 3, 2020

I upgraded confluence from 6.13.0 to 7.6.2 followed this page https://confluence.atlassian.com/doc/upgrading-confluence-manually-255363437.html

It is all OK to start confluence using the original JDK 8.

After finished the upgrade, I changed the JDK from 8 to 14, confluence can NOT start, logs/catalina.out  has following error message:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender (file:/home/tzc/atlassian/atlassian-confluence-7.6.2/confluence/WEB-INF/lib/org.apache.felix.framework-5.6.12.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
04-Aug-2020 11:04:10.598 SEVERE [Catalina-utility-1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
04-Aug-2020 11:04:10.598 SEVERE [Catalina-utility-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
WARNING: Cannot update an inactive framework.

 

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 6, 2020

Hello @hellojinjie,

Thank you for bringing this up to us. The issue here is that JDK 14 is not supported by Confluence. The article you followed, Upgrading Confluence Manually, provides a link to our Supported Platforms page for your review under the following:

Have our supported platforms changed?

Check the Supported Platforms page for the version of Confluence you are upgrading to. This will give you info on supported operating systems, databases and browsers.

According to this, the following JAVA versions are supported:

Oracle JRE / JDK

(tick) Java 1.8

(tick) Java 11

AdoptOpenJDK

(tick) Java 8 (HotSpot)

(tick) Java 11 (HotSpot)

You will need to roll back to a supported JAVA version in order to support Confluence. Could you please give that a try, and let me know if you continue to have the issue?

Take care,

Shannon

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.6.2
TAGS
AUG Leaders

Atlassian Community Events