My Oracle Support Banner

Running the upgradeWebCenterPortal WLST Script Fails with Error: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (PRD01_WEBCENTER.IX_UNIQUE_PORTA_NAMESPACE_NAME) violated (Doc ID 2355878.1)

Last updated on MARCH 08, 2022

Applies to:

Oracle WebCenter Portal - Version and later
Information in this document applies to any platform.


When running the upgradeWebCenterPortal WLST command to complete the specific upgrade tasks for upgrading WebCenter Portal from 11g to 12c, the script fails with following errors:





Scope: Name=Portal1, GUID=<GUID>
Status: Scope upgrade failed.
java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (PRD01_WEBCENTER.IX_UNIQUE_PORTA_NAMESPACE_NAME) violated

at oracle.jdbc.driver.T4CTTIoer.processError(
at oracle.jdbc.driver.T4CTTIoer.processError(
at oracle.jdbc.driver.T4C8Oall.processError(
at oracle.jdbc.driver.T4CTTIfun.receive(





[TRACE]: Data migration from MDS to database could not be completed successfully. Review the log files for details to fix the errors, and run the upgrade again to migrate the failed portals/portal templates.
[TRACE]: Exiting class: LifecycleHandler, method: _doMDSToDBDataMigration

[TRACE]: Failed to upgrade WebCenter Portal application.

[TRACE]: Exiting class: Lifecycle, method: upgradeWebCenterPortal




Upgrade of 931 Portals/Portal Templates failed.


The issue can be reproduced at will with the following steps:

  1. Upgrade from WebCenter Portal 11g to 12c.
  2. Run the upgradeWebCenterPortal script to upgrade the portals.
    The upgrade will fail with the above errors.



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.