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

This widget could not be displayed.
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

This widget could not be displayed.
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
This widget could not be displayed.
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
This widget could not be displayed.
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
This widget could not be displayed.

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)

This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

139 views 2 0
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