Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Changing JRE_HOME in setenv.sh cause my jira on-prem to not start Edited

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

 

As seen here https://community.atlassian.com/t5/Agile-articles/Java-11-OpenJDK-support-update-for-Server-and-Data-Center/ba-p/967836#M392

it says openJDK 11 is supported.

1 answer

0 votes
Mirek Community Leader May 30, 2021

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

☕️ Monday coffee with Jexo: Weekly Atlassian news roundup | 21st June 2021

Hi community 👋, as every Monday we're bringing you a quick update on what happened in the Atlassian ecosystem last week. There were a few interesting events like for example the announcement of th...

55 views 0 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you