Problems installing JIRA7 with Oracle

Francisco Franco Marina March 31, 2016

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

0 votes
Francisco Franco Marina April 3, 2016

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