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

Eck Support April 16, 2013

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
Answer accepted
Boris Berenberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 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

ProekspertBit December 10, 2016

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

1 vote
Tiago Comasseto
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 17, 2013
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
0 votes
Karla Bernal June 9, 2015

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

0 votes
Eck Support April 18, 2013

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?

Eck Support April 18, 2013

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

0 votes
Tiago Comasseto
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 17, 2013
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
0 votes
Tiago Comasseto
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 17, 2013
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

Suggest an answer

Log in or Sign up to answer