I followed this
https://confluence.atlassian.com/jirakb/change-the-java-version-used-by-jira-server-765594330.html
I changed JRE_HOME to /usr/bin/java
This is because I want to use the java I instlalled on my RHEL server to use OpenJDK 11
This is the error I got:
29-May-2021 11:37:29.086 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [plugin-transaction-0] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
/opt/atlassian/jira/bin/catalina.sh: line 516: /usr/bin/java/bin/java: Not a directory
/opt/atlassian/jira/bin/catalina.sh: line 516: /usr/bin/java/bin/java: Not a directory
/opt/atlassian/jira/bin/catalina.sh: line 516: /usr/bin/bin/java: No such file or directory
I am using the latest jira software 8.17
it says openJDK 11 is supported.
Hi @Jy ,
Probably something is wrong with the path definition, not with Java itself.. Is this path correct?
/usr/bin/java/bin/java
I think something is wrong with that..
Maybe you can start by looking into /opt/atlassian/jira/bin/catalina.sh on line 516
yes I have tried a lot of different variations by changing the JRE_HOME
and I have looked in catalina.sh
its a bunch of variables I cant make sense of.
It seems that Jira only can work with the inbuilt installer JRE.
I used the jira bin installer to install it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.