java.sql.SQLIntegrityConstraintViolationException

ORA-00001: unique constraint (UPGDB_OPSS.JPS_DN_PK) violated

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • Stack trace

    • java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (UPGDB_OPSS.JPS_DN_PK) violated at oracle.security.jps.upgrade.tools.KeyStoreUpgrade.addOldCaEntryInTrustStore(KeyStoreUpgrade.java:540) at oracle.security.jps.upgrade.tools.KeyStoreUpgrade.updateNewDemoCA(KeyStoreUpgrade.java:445) at oracle.security.jps.upgrade.tools.KeyStoreUpgrade.upgradeDITAndData(KeyStoreUpgrade.java:266) at oracle.security.jps.upgrade.tools.utility.Upgrade.upgradeOPSSDITAndData(Upgrade.java:1077) at oracle.security.jps.upgrade.tools.utility.Upgrade.upgradeOPSS(Upgrade.java:772) at oracle.security.opss.tools.lifecycle.OpssDomainConfigImpl.reconfigSubsystem(OpssDomainConfigImpl.java:301) at oracle.security.opss.tools.lifecycle.OpssDomainConfigImpl.initializeSubsystem(OpssDomainConfigImpl.java:213) at oracle.security.opss.tools.lifecycle.cie.OpssSecurityConfiguration.initializeSubsystem(OpssSecurityConfiguration.java:166) at com.oracle.cie.domain.TemplateImporter.run(TemplateImporter.java:348) at com.oracle.cie.domain.ReconfigurationGenerator.run(ReconfigurationGenerator.java:120) at java.lang.Thread.run(Thread.java:745) Caused by: java.security.KeyStoreException: oracle.security.jps.service.keystore.KeyStoreServiceException: oracle.security.jps.service.policystore.PolicyObjectAlreadyExistsException: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (UPGDB_OPSS.JPS_DN_PK) violated at oracle.security.jps.internal.keystore.provider.FarmKeyStoreSpi.engineSetCertificateEntry(FarmKeyStoreSpi.java:478) at java.security.KeyStore.setCertificateEntry(KeyStore.java:1201) at oracle.security.jps.upgrade.tools.KeyStoreUpgrade.addOldCaEntryInTrustStore(KeyStoreUpgrade.java:535)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    No Bugmate found.