Database transfer to Oracle fails during action-transfer-jcr
Problem
The database transfer to Oracle fails during the action-transfer-jcr sub-task. The following error is captured in the ConfigTrace.log:
[java] 15:05:22.944 com.ibm.wps.config.db.transfer.TransferDatabase
process main
[java] Adding DB Item 6 ICMADMIN."ICMSTRESOURCEMGR" (13)Columns
to work queue.
[java] 15:05:23.012
com.ibm.wps.config.db.transfer.TransferDatabaseTable
createPreparedStatement main
[java] java.lang.ClassCastException: General Exception caught while
processing this column
[java] at
com.ibm.wps.config.db.transfer.TransferDatabaseRow.updatePreparedStateme
nt(TransferDatabaseRow.java:440)
[java] INSERT INTO icmadm.ICMSTRESOURCEMGR
(RMCODE,RMPLATFORM,USERID,CHANGED,RMFLAGS,TOKENDURATION,DOMAINID,RMUSERI
D,RMPASSWORD,RMNAME,INETADDR,CURRENTVERSION,CACHEOBJSIZELIMIT) VALUES(
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
[java] at
com.ibm.wps.config.db.transfer.TransferDatabaseRow.writeDatabaseRow(Tran
sferDatabaseRow.java:569)
[java] 15:05:23.012
com.ibm.wps.config.db.transfer.TransferDatabaseTable
transferDatabaseTable main
[java] Transferring table --{ ICMSTRESOURCEMGR }--
[java] at
com.ibm.wps.config.db.transfer.TransferDatabaseTable.populateDatabaseRow
(TransferDatabaseTable.java:188)
[java] 15:05:23.016
com.ibm.wps.config.db.transfer.TransferDatabaseRow
updatePreparedStatement main
[java] ERROR -- Original Type is: TIMESTAMP : 93
[java] at
com.ibm.wps.config.db.transfer.TransferDatabaseTable.transferDatabaseTab
le(TransferDatabaseTable.java:166)
[java] at
com.ibm.wps.config.db.transfer.TransferDatabase.process(TransferDatabase
.java:400)
[java] at
com.ibm.wps.config.db.transfer.TransferDatabase.initiate(TransferDatabas
e.java:167)
[java] 15:05:23.017
com.ibm.wps.config.db.transfer.TransferDatabaseRow
updatePreparedStatement main
[java] ERROR -- Value is 2005-07-21 17:50:25.315 ( class
java.sql.Timestamp )
[java] 15:05:23.017
com.ibm.wps.config.db.transfer.TransferDatabaseRow
updatePreparedStatement main
[java] at
com.ibm.wps.config.db.transfer.TransferDatabase.main(TransferDatabase.ja
va:458)
[java] Exception in thread "main" java.lang.Error
[java] ERROR -- New Type is : TIMESTAMP(6) : 1111
[java] 15:05:23.018
com.ibm.wps.config.db.transfer.TransferDatabaseRow
updatePreparedStatement main
[java] at
com.ibm.wps.config.db.transfer.TransferDatabaseTable.populateDatabaseRow
(TransferDatabaseTable.java:200)
[java] ERROR -- Column Name :CHANGED
[java] 15:05:23.018
com.ibm.wps.config.db.transfer.TransferDatabaseTable populateDatabaseRow
main
[java] at
com.ibm.wps.config.db.transfer.TransferDatabaseTable.transferDatabaseTab
le(TransferDatabaseTable.java:166)
[java] at
com.ibm.wps.config.db.transfer.TransferDatabase.process(TransferDatabase
.java:400)
[java] ERROR 1288-- Transferring data of table
--ICMSTRESOURCEMGR-- FAILED
[java] at
com.ibm.wps.config.db.transfer.TransferDatabase.initiate(TransferDatabas
e.java:167)
[java] at
com.ibm.wps.config.db.transfer.TransferDatabase.main(TransferDatabase.ja
va:458)
Target finished: action-transfer-jcr
Target finished: database-transfer-jcr-populate-oracle
Target finished: action-database-transfer-jcr-populate
Target finished: database-transfer-jcr
Target finished: action-transfer-content-management
Target finished: database-transfer
BUILD FAILED
Cause
This issue was caused by an Oracle driver mismatch between the Oracle server and the local JDBC driver.
Solution
The drivers may look the same and may report the same level, but something has caused a driver mismatch. You should contact Oracle support for more information.
In some cases, the issue has been resolved by downloading a new Oracle 32-bit driver from the Oracle Web site and replace the existing drivers.