Problems installing JIRA7 with Oracle

Hi.

 

I've a problem installing JIRA on Linux accesing to a Oracle Database.

This is the log of the error.

2016-03-31 15:57:13,787 JIRA-Bootstrap INFO [c.a.j.config.database.DatabaseConfigurationManagerImpl] The database is configured. Now running Database Checklist Launcher
2016-03-31 15:57:13,833 JIRA-Bootstrap ERROR [c.a.jira.startup.DatabaseChecklistLauncher] Oracle clusteredjob.parameters type check failed:

****************************************************************************************************
java.sql.SQLException: ORA-22858: invalid alteration of datatype

****************************************************************************************************

2016-03-31 15:57:13,833 JIRA-Bootstrap ERROR [c.a.jira.startup.DatabaseChecklistLauncher] Database startup check failed - this is FATAL - JIRA will not be in a working state.
2016-03-31 15:57:13,840 JIRA-Bootstrap INFO [c.a.j.config.database.DatabaseConfigurationManagerImpl] The database is configured. Now running Post database-configuration launchers
2016-03-31 15:57:13,840 JIRA-Bootstrap ERROR [c.a.jira.startup.DefaultJiraLauncher] Johnson events present; aborting: [(Event: Level = (EventLevel: error) , Key = (EventType: database) , Desc = java.sql.SQLException: ORA-22858: invalid alteration of datatype<br/>, Exception = ]

 

The same JIRA was running perfectly from a local computer with Windows 7. After to change to the Linux accesing to the same database configuration the problem happens

 

<jira-database-config>
<name>defaultDS</name>
<delegator-name>default</delegator-name>
<database-type>oracle10g</database-type>
<schema-name>jira7</schema-name>
<jdbc-datasource>
<url>jdbc:oracle:thin:@XXXXXXXXX:1521:SID</url>
<driver-class>oracle.jdbc.OracleDriver</driver-class>
<username>useer</username>
<password>*********</password>
<pool-min-size>20</pool-min-size>
<pool-max-size>20</pool-max-size>
<pool-max-wait>30000</pool-max-wait>
<min-evictable-idle-time-millis>4000</min-evictable-idle-time-millis>
<time-between-eviction-runs-millis>5000</time-between-eviction-runs-millis>
<pool-max-idle>20</pool-max-idle>
<pool-remove-abandoned>true</pool-remove-abandoned>
<pool-remove-abandoned-timeout>300</pool-remove-abandoned-timeout>
<connection-properties>SetBigStringTryClob=true</connection-properties>
</jdbc-datasource>
</jira-database-config>

1 answer

It exits a problem and it's imposible to install JIRA 7.1.1 and 7.1.2 in Oracle database.

To solve it I've copied the class JiraDatabaseConfigChecklist from the 7.0.5 version.

Since 7.1.1 it seems it tries to update the field PARAMETERS from ClusteredJob entity to a BLOB (which is a BLOB) and the java.sql.SQLException: ORA-22858: invalid alteration of datatype appears.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 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...

25,659 views 2 7
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