What database-type values are valid for Oracle?

Daniel Eads Community Champion Sep 16, 2015

What values are valid for the database-type element in dbconfig.xml for Oracle databases?

Our file has oracle10g set even though our actual database is Oracle 11g. We're upgrading to Oracle 12c right now to maintain support - can the value just be updated to oracle12c in the file?

<?xml version="1.0" encoding="UTF-8"?>
<jira-database-config>
  <name>defaultDS</name>
  <delegator-name>default</delegator-name>
  <database-type>oracle10g</database-type>
  <jdbc-datasource>
    <url>jdbc:oracle:thin:@[HOSTNAME]:[PORT]:[SERVICE]</url>
    <driver-class>oracle.jdbc.OracleDriver</driver-class>

2 answers

0 vote
Daniel Eads Community Champion Sep 16, 2015

May have answered this myself - the following error occurred for both oracle11g and oracle12c as the value: 2015-09-16 12:25:47,846 localhost-startStop-1 ERROR [atlassian.jira.startup.LauncherContextListener] Unable to start JIRA. com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: Could not find a field-type definition with name "oracle11g"

Hello!

I believe the only thing you would have to do is to run the config tool again and point JIRA to same database (upgraded, then test the connection and see if your {{$JIRA_Home/dbconfig.xml}} file changes this value). This guide below can provide you better understanding of that:

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

202 views 1 18
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