How to setup TNS_ADMIN for JIRA installation

We are currently using Oracle 11. We would like to use the tnsnames.ora and use a short url to have JIRA connect to the database.

An example of a shortURL is jdbc:oracle:thin:@DBNAME.WORLD

So a couple of questions:

Does JIRA require a port number and sid, which wouldn't be in a short URL.

Do I need to do anything special to get the tnsnames.ora on the classpath?

1 answer

1 accepted

The solution was to go into the setenv.sh file located in the <jirahome>/bin directory and insert the following line.

JVM_SUPPORT_RECOMMENDED_ARGS="-Doracle.net.tns_admin=/oracle/network/admin"

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 18 hours ago in Off-topic

Get to know our Atlassian User Group Leaders from Bengaluru, India

Meet @Dinesh Dhinakaran, @Vishnu Vasudeva, @Rajeev Verma, and Jamshid Nalakath: Our extraordinary AUG leaders from Bengaluru, India. These four work together to strengthen the bonds of their local co...

127 views 0 4
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