UCM 11g (PS2) Upgrade Assistant Fails With ORA-00001: unique constraint (UCMSCHEMA.PK_REVCLASSES) Violated (Doc ID 1282975.1)

Last updated on MAY 17, 2017

Applies to:

Oracle WebCenter Content - Version 11.1.1.3.0 to 11.1.1.3.0 [Release 11g]
Information in this document applies to any platform.

Symptoms


When running the 11.1.1.3 Upgrade Assistant to upgrade from UCM 10g to UCM 11g PS2 (11.1.1.3), the following stack trace is thrown when the assistant tries to populate the RevClasses table:

[2010-09-27T13:55:01.350+02:00] [UCM] [ERROR] [] [upgrade.UCM] [tid: 13]
[ecid: 0000IhJ2pW95aaELn6p2iZ1Cc8Ki000004,0] csMigrateFailedInit[[
intradoc.data.DataException:
!csDbUnableToExecuteQuery,IrevClassesUsingRevisions(INSERT INTO RevClasses
(dRevClassID\, dDocName\, dDocLastModifier\, dDocLastModifiedDate\,
dDocOwner)
SELECT dRevClassID\, dDocName\, dDocAuthor\, dCreateDate\, dDocAuthor FROM
Revisions
WHERE dRevRank = 0 AND dRevClassID BETWEEN 114258 AND 124257)!$ORA-00001:
unique constraint (DMSAV.PK_REVCLASSES) violated
at intradoc.jdbc.JdbcWorkspace.handleSQLException(JdbcWorkspace.java:2441)
at intradoc.jdbc.JdbcWorkspace.execute(JdbcWorkspace.java:584)
at intradoc.server.IdcExtendedLoader.populateRevClassesTable(IdcExtendedLoader.java:2935)
at intradoc.server.IdcExtendedLoader.performDatabaseUpgradeTasks(IdcExtendedLoader.java:419)
at intradoc.apputilities.installer.CoreMigrateHandler.upgradeDatabase(CoreMigrateHandler.java:302)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at intradoc.apputilities.installer.Migrator.callMethods(Migrator.java:1059)
at intradoc.apputilities.installer.Migrator.doNextMigrateItem(Migrator.java:898)
at oracle.ias.mrua.plugin.ucm.UCMPlugin.doMigrate(UCMPlugin.java:481)
at oracle.ias.mrua.plugin.ucm.UCMPlugin.doUpgrade(UCMPlugin.java:593)
at oracle.ias.mrua.MRUA.executePlugins(MRUA.java:3643)
at oracle.ias.mrua.MRUA.internal_driver(MRUA.java:2422)
at oracle.ias.mrua.MRUA.driver(MRUA.java:1691)
at oracle.ias.upgrade.gui.UAUpgradeThread.run(UAUpgradeThread.java:390)
Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001:
unique constraint (DMSAV.PK_REVCLASSES) violated




Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms