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

This widget could not be displayed.
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"

This widget could not be displayed.

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
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

52 views 0 1
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