My Oracle Support Banner

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

Last updated on FEBRUARY 25, 2019

Applies to:

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


When running the Upgrade Assistant to upgrade from UCM 10g to UCM 11g PS2 (, 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[[
!csDbUnableToExecuteQuery,IrevClassesUsingRevisions(INSERT INTO RevClasses
(dRevClassID\, dDocName\, dDocLastModifier\, dDocLastModifiedDate\,
SELECT dRevClassID\, dDocName\, dDocAuthor\, dCreateDate\, dDocAuthor FROM
WHERE dRevRank = 0 AND dRevClassID BETWEEN 114258 AND 124257)!$ORA-00001:
unique constraint (DMSAV.PK_REVCLASSES) violated
at intradoc.jdbc.JdbcWorkspace.handleSQLException(
at intradoc.jdbc.JdbcWorkspace.execute(
at intradoc.server.IdcExtendedLoader.populateRevClassesTable(
at intradoc.server.IdcExtendedLoader.performDatabaseUpgradeTasks(
at intradoc.apputilities.installer.CoreMigrateHandler.upgradeDatabase(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at intradoc.apputilities.installer.Migrator.callMethods(
at intradoc.apputilities.installer.Migrator.doNextMigrateItem(
at oracle.ias.mrua.plugin.ucm.UCMPlugin.doMigrate(
at oracle.ias.mrua.plugin.ucm.UCMPlugin.doUpgrade(
at oracle.ias.mrua.MRUA.executePlugins(
at oracle.ias.mrua.MRUA.internal_driver(
at oracle.ias.mrua.MRUA.driver(
Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001:
unique constraint (DMSAV.PK_REVCLASSES) violated


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.