What database-type values are valid for Oracle?

Daniel Eads _unmonitored account_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 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>

3 answers

0 votes
Sathiskumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 2, 2019

I have faced a similar issue and resolved by having the "oracle10g" as a "database-type" and restart the JIRA services.

Note:- We don't have "oracle11g" or "oracle12c" as a database type.

Always refer this page and select the respective JIRA version you are running on, https://confluence.atlassian.com/jira063/connecting-jira-to-oracle-683541737.html

0 votes
Rodrigo Rosa
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 16, 2015

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:

0 votes
Daniel Eads _unmonitored account_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 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"

Suggest an answer

Log in or Sign up to answer