I have followed the instructions for "https://confluence.atlassian.com/display/JIRAKB/How+to+Connect+JIRA+to+ORACLE+Using+Service+Name" but it did not work because the SID is not the same across the servers. Atlassian support is not sure the article would apply with different SIDs. Is this possible?
What do you mean with "SID is not the same across the servers"? Do you have more than 1 database server?
becausewehave4differentservershostingtheDBsnow
iftheloadononeserverisoverload
systemwillpickupsomeDBsandmovetoanotherserverwhichhasmorecapacityatthattime
SO the SID could change
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seams like Oracle thin java client can't do this "magic". It seams you should then install full oracle client on Jira server. And use similar option in Jira tomcat:
-Doracle.net.tns_admin=$ORACLE_HOME/network/admin
Probably you should read this article carfully: http://docs.oracle.com/cd/B19306_01/java.102/b14355/urls.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try following syntax in dbconfig.xml <url> section:
jdbc:oracle:thin:@(DESCRIPTION=
(LOAD_BALANCE=on)
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=TCP)(HOST=host1) (PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=host2)(PORT=1521)))
(CONNECT_DATA=(SERVICE_NAME=service_name)))"
After @ you should write service name database definition from your tnsnames.ora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.