Oracle V Unique Constraint Error (Doc ID 2242666.1)

Last updated on MARCH 16, 2017

Applies to:

Oracle Documaker - Version 12.4 and later
Information in this document applies to any platform.

Symptoms

Oracle v 12.5 unique constraint error
DocumakerAdministrator Entities is unable to see the groups from Weblogic Security Realm.


ERROR
-----------------------
 ORA-00001: unique constraint (RUQY_ODADMIN_UAT.DMKR_ENTITIES_REPONAME_INDEX) violated

When JPSQuery is executed, we get key constraint violation:
java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (RUQY_ODADMIN_UAT.DMKR_ENTITIES_REPONAME_INDEX) violated

  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
  at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
  at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
  at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
  at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
  at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:202)
  at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1110)
  at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
  at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:2147)
  at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:2091)
  at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:320)
  at weblogic.jdbc.wrapper.Statement.executeUpdate(Statement.java:530)
  at oracle.documaker.wlsjpsquery.JPSQuery.updateEntity(JPSQuery.java:161)
  at oracle.documaker.wlsjpsquery.JPSQuery.updateEntityFromUser(JPSQuery.java:126)
  at jsp_servlet.__index._jspService(__index.java:139)
  at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
  at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
  at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
  at weblogic.servlet.interna




STEPS
-----------------------
The issue can be reproduced at will with the following steps:
Run the script provided by ORACLE.

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot continue UAT testing.

Changes

 

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