Jira configuration tool (config.sh) on Centos not working?

Hi,

To enable https only i want to start the configuration tool. If i do so using the /opt/atlassian/jira/bin/config.sh file on Centos 6 over CLI i get the error:

No JRE_HOME or JAVA_HOME environment variable is set - attempting to just run java command
./config.sh: Zeile 36: java: command not found.

I'm using jira standalone for Linux

Is it possible to install oracle jdk für standalone or will it interfer with bundle jre? (x11 forwarding to client pc (putty and x11 server on client) is no problem).

If it's noit possible to use jira configuration tool on cli: where and how can i setup https only (in server.xml)?

thanks in advance

6 answers

1 accepted

2 votes
Boris Berenberg Community Champion Apr 17, 2013

You should just install the Oracle JDK in the system. It should not interfere with JIRA's bundled JRE. Then the script will work.

Cheers,
Boris

This does not work on Centos 7. Installing java jdk and setting java home will still not allow to use config.sh

Boris is right, but in case you want to edit the server.xml file directly, you can use this page as reference: https://confluence.atlassian.com/display/JIRA051/Running+JIRA+over+SSL+or+HTTPS Cheers
Boris is right, but in case you want to edit the server.xml file directly, you can use this page as reference: https://confluence.atlassian.com/display/JIRA051/Running+JIRA+over+SSL+or+HTTPS Cheers
Boris is right, but in case you want to edit the server.xml file directly, you can use this page as reference: https://confluence.atlassian.com/display/JIRA051/Running+JIRA+over+SSL+or+HTTPS Cheers

what is the difference between setting 'https only' in Jira configuration tool and to edit the WEB-INF/web.xml for redirecting all to https? Will the http port be closed on tool setting, or it's just redirecting too?

ok with cfg tool and https only http Prot is completely disabled (so it's the preferred method)

I have the same problem as Elias has (i'm working on ubuntu)

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,305 views 14 20
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot