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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

639 views 6 12
Read article

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