I'm currently working to migrate our JIRA database from MySQL to Oracle 11g w/RAC. Getting the databases (dev and test) migrated to Oracle has not been an issue, but getting the JIRA app server connected to the new Oracle databases is proving problematic. Since we want to use TAF and some additional features connecting via OCI is required. However, I can't seem to find any documentation on the Atlassian site about this configuration. Is it possible to connect JIRA to an Oracle database using OCI or is only the thin client supported?
Actually I figured this one out. To successfully use the Oracle OCI Drivers the ojdbc6.jar file needs to be copied to JIRA's WEB-INF/lib directory. After that is completed several other changes to JIRA's files may be necessary. For my JIRA instance editing the setenv.sh so that tnsnames.ora files can be used was needed. Additionally, a modification to the WEB-INF/classes/entitydefs/filetype-oracle10g file was required so that very-long fields are created as a CLOB. Lastly the dbconfig.xml file needs to be modified for an oracle connection. Two parts of the file that I could tricky are:
<database-type>oracle10g</database-type> Which has to be oracle10g even if you're using an 11g database.
<url>jdbc:oracle:oci:@dbserver:1521/servicename</url> Also oci needs be specified and a "/" used instead of a colon if using service names for your db. Lastly the validation query for Oracle should be <validationquery>select 1 from dual</validationquery>.
However, I'm still unclear why Atlassian recommends against the using the Oracle thick drivers for database connectivity.
I never tried it, but it's just a JDBC driver. Since JDBC means abstraction, you should be able to configure it via OCI
I would suggest to:
In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to have–in order to produce a reliable long-term roadmap. We're tur...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG