Documentation for JIRA 4.4. Documentation for other versions of JIRA is available too.

Skip to end of metadata
Go to start of metadata

When restoring data into an Oracle 9 database using the I-Net Oranxo Driver a user was seeing this error message in their logs:

org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while executing the following:INSERT INTO jiraaction (ID, issueid, AUTHOR, actiontype, actionlevel, actionbody, CREATED, actionnum) VALUES (?, ?, ?, ?, ?, ?, ?, ?) ([OraDriver] #7 Unexpected end of inputstream in header.)
	at org.ofbiz.core.entity.jdbc.SQLProcessor.executeUpdate(
	at org.ofbiz.core.entity.GenericDAO.singleInsert(
	at org.ofbiz.core.entity.GenericDAO.insert(
	at org.ofbiz.core.entity.GenericHelperDAO.create(
	at org.ofbiz.core.entity.GenericDelegator.create(
	at org.ofbiz.core.entity.GenericDelegator.create(
	at org.ofbiz.core.entity.GenericValue.create(
	at com.atlassian.jira.action.admin.ImportParser$
	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$
com.inet.ora.Ora3SQLException: [OraDriver] #7 Unexpected end of inputstream in header.
	at com.inet.ora.Ora3Factory.createSQLException(Unknown Source)
	at com.inet.ora.Ora3Factory.createSQLException(Unknown Source)
	at com.inet.ora.OraConnection.c(Unknown Source)
	at com.inet.ora.OraConnection.a(Unknown Source)
	at com.inet.ora.OraPreparedStatement.a(Unknown Source)
	at com.inet.ora.OraPreparedStatement.a(Unknown Source)
	at com.inet.ora.OraPreparedStatement.executeUpdate(Unknown Source)


This error was fixed by changing the Set Clob entry in the server.xml if using Standalone or the jira.xml file if using the WebApp edition of JIRA.

So instead of using:


for this driver it needs to be replaced with:


As per this document on Oracle JDBC Manual