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

Accepted Answer
0 votes

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
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

140 views 6 8
View post

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