Sunday, November 26, 2017

JAVA_OPTIONS for IAM to avoid ORA-00001: unique constraint (DEV_OAM.PK_ENTITIES) violated

when I start my weblogic, I got the below error.


Error Code: 1
Call: INSERT INTO ENTITIES (ID, CREATE_TIME_STAMP, CREATOR, DESCRIPTION, JOURNAL_ID, MODIFIER, MODIFY_TIME_STAMP, NAME, NAME_PATH, TAG, TRANSACTION_ID, TYPE_NAMES, UNIQUE_ID, VERSION) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
        bind => [14 parameters bound]
Query: InsertObjectQuery(oracle.security.am.found


1. Take backup of  setDomainEnv.sh 
2. end of the file add the following entry
export JAVA_OPTIONS=%JAVA_OPTIONS%  -DDISABLE_CONFIG_ENTRY=true

Environment: Linux 6.5 weblogic 10.3.6 OIM 11.1.2.3


No comments: