Restoring data using I-Net (Oranxo) Driver for Oracle

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 JIRA's dbconfig.xml in the JIRA Home Directory.

So instead of using:


for this driver it needs to be replaced with:


See the appropriate section in the Oracle JDBC Manual for details on these connection properties and the Connecting JIRA to Oracle for more information about configuring your dbconfig.xml file.

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport