Upgrading from JIRA 8.13.9 to 8.20.0 issues

Copart Auto November 2, 2021

I recently upgraded our JIRA running 7.13.9 to 8.20.0, however after making the usual changes we do to the bellow files - 

atlassian-jira/WEB-INF/web.xml
atlassian-jira/WEB-INF/classes/seraph-config.xml
conf/server.xml
bin/setenv.sh

The service will no longer start, I've checked the the out put from > install/logs/catalina.out and the only thing i receive is 

NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAME D --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=A LL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens =java.rmi/sun.rmi.transport=ALL-UNNAMED
Unrecognized VM option 'PrintTenuringDistribution'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

I dont get any new details in the log/atlassian-jira.log

Systemctl output doesnt give me much info either 

Nov 03 01:41:00 servername.com jira[5738]: `UOJ
Nov 03 01:41:00 servername.com jira[5738]: Atlassian Jira
Nov 03 01:41:00 servername.com jira[5738]: Version : 8.20.0
Nov 03 01:41:00 servername.com jira[5738]: If you encounter ...
Nov 03 01:41:00 servername..com jira[5738]: Server startup lo...
Nov 03 01:41:00 servername..com jira[5738]: Existing PID file...
Nov 03 01:41:00 servername.com jira[5738]: Removing/clearing...
Nov 03 01:41:00 servername.com jira[5738]: Tomcat started.
Nov 03 01:41:00 servername.com runuser[5745]: pam_unix(runus...
Nov 03 01:41:00 servername.com systemd[1]: Started (null).

1 answer

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 2, 2021
Copart Auto November 3, 2021

Thanks @Brant Schroeder 
But were not running JDK11 - JDK 8 was installed 

openjdk version "1.8.0_302"

But I'll look into the settings in the link

Copart Auto November 5, 2021

It was an issue with our Java settings. 

Thnks 

Like Brant Schroeder likes this
Denis Clancy
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!
November 12, 2021

What was the issue with the java settings?

Mohammad Shazid Khan
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!
December 17, 2021

can you tell me what settings to do in java ? When I update Jira from 8.11.1 to 8.20.0 the same error is coming. Please help. 

Aaron Accurso
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 12, 2022

Ran into the same issue when attempting to startup our Jira instance after upgrading to 8.20.

I ended up commenting out our old Garbage Collection arguments from setenv.sh and went with the new recommend arguments provided by the version (despite not using JAVA 11) and this allowed me to get Jira started.

 

Active:

#  You can use variable below to modify garbage collector settings.

#  For Java 8 we recommend default settings

#  For Java 11 and relatively small heaps we recommend: -XX:+UseParallelGC

#  For Java 11 and larger heaps we recommend: -XX:+UseG1GC -XX:+ExplicitGCInvokesConcurrent

#

JVM_GC_ARGS="-XX:+UseG1GC -XX:+ExplicitGCInvokesConcurrent"

 

Like Jörg Regiert likes this
Amir Ahmed April 12, 2024

@Copart Auto , what did you do to fix the issue. You mentioned you made changes to the JAVA settings.

Could you please let us know what changes you made.

Suggest an answer

Log in or Sign up to answer