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

This widget could not be displayed.

Same for us (jira 5.0.3) running on unix.

Even HSQL-DB crashes

This widget could not be displayed.

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

This widget could not be displayed.

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}

This widget could not be displayed.

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

This widget could not be displayed.

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

This widget could not be displayed.

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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

573 views 25 15
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