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).
@Copart Auto I belive that this is the issue you are having: https://confluence.atlassian.com/confkb/unrecognized-jvm-gc-options-when-using-java-11-1002472841.html
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
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.
What was the issue with the java settings?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
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.