Publish is Failing Due to Unique Constraint Violation on the ElementCatalog Table (Doc ID 2305813.1)

Last updated on SEPTEMBER 14, 2017

Applies to:

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

Symptoms

Publish is failing with an error resembling the following:

[wcsites_server1] [ERROR] [] [oracle.wcsites.db] [tid: 13249] [userId:] [ecid: a9985844-239e-45fc-981e-f75b92d9a8e1-00004484,0:6] [APP: sites] [partition-name: DOMAIN] [tenant-name: GLOBAL] Exception executing prepared statement: INSERT INTO ElementCatalog (ELEMENTNAME,URL,RESDETAILS1) VALUES (?,?,?)[[
ELEMENTNAME = Page/MyPage
URL = Page/MyPage,0.jsp
RESDETAILS1 = tid=1420000000000java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (WCS12C_WCSITES.SYS_C0045108) 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