JIRA 5.0.3 (and 4.4.5) install on Windows using Oracle 11g failing

Install fails after putting the database details into the wizard. Connection test is successful, then the following error:

HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: com.opensymphony.module.propertyset.PropertyImplementationException: while inserting: [GenericEntity:OSPropertyEntry][id,null][entityId,1][propertyKey,webwork.i18n.encoding][type,5][entityName,jira.properties] (SQL Exception while executing the following:INSERT INTO propertyentry (ID, ENTITY_NAME, ENTITY_ID, PROPERTY_KEY, propertytype) VALUES (?, ?, ?, ?, ?) (ORA-01400: cannot insert NULL into ("JIRA"."PROPERTYENTRY"."ID")
))

---------------------------------------------------------------------------------

(see attached txt file). (JIRA_inst_err.txt)

Oracle 11g/JIRA 5.0.3 & 4.4.5 tried

7 answers

Same for us (jira 5.0.3) running on unix.

Even HSQL-DB crashes

What's the content of dbconfig.xml ? You will find this file in the JIRA home dir.

here the dbconfig.xml

{code}

<?xml version="1.0" encoding="UTF-8"?>

<jira-database-config>
<name>defaultDS</name>
<delegator-name>default</delegator-name>
<database-type>hsql</database-type>
<schema-name>PUBLIC</schema-name>
<jdbc-datasource>
<url>jdbc:hsqldb:/home/atlassuser/jira/jirahome/database/jiradb</url>
<driver-class>org.hsqldb.jdbcDriver</driver-class>
<username>sa</username>
<password></password>
<pool-size>15</pool-size>
<min-evictable-idle-time-millis>4000</min-evictable-idle-time-millis>
<time-between-eviction-runs-millis>5000</time-between-eviction-runs-millis>
</jdbc-datasource>
</jira-database-config>

{code}

I would contact support, but this feels like someone forgot that Oracle supports identity column types differently by using sequences. It could also be the installation code did not recognize that an Oracle database is being used and sequence support was not added.

I don't have an Oracle installation to compare to, so I do not know for sure which type of error you are running into.

I am also assuming you setup your database type correctly.

http://confluence.atlassian.com/display/JIRA/Connecting+JIRA+to+Oracle

If not, please see the link below

http://confluence.atlassian.com/display/JIRA/Incorrect+database+type+specified

0 vote

That's the wrong dbconfig.xml... that one is for hsql.

Yes, like I said, the install crashes even with hsql-db.

These errors usually occur when the Jira setup is incorrect.

On ORCL, check if database-type is oracle10g / oracle11g (depends on the JDBC drivers). Check the JDBC drivers, too.

I cannot believe that HSQL error is exactly the same, it works for me.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

607 views 6 12
Read article

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