My Oracle Support Banner

EM 13c : OMS Secure.log filled with Messages "java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (SYSMAN.UK_EM_TOKEN_PRODUCER) violated" (Doc ID 3081756.1)

Last updated on APRIL 16, 2025

Applies to:

Enterprise Manager Base Platform - Version 13.5.0.0.0 and later
Information in this document applies to any platform.

Symptoms

The following errors are reported in the Enterprise Manager 13.5 file Secure.log 

 $../gc_inst/em/EMGC_OMS1/sysman/log/secure.log

Caused by: oracle.jdbc.OracleDatabaseException: ORA-00001: unique constraint (SYSMAN.UK_EM_TOKEN_PRODUCER) violated

at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:513) ~[ojdbc8.jar:19.3.0.0.0]
... 18 more
2024-05-07 12:49:21,915 [main] FATAL authn.RegisterInternalProvider - Exception while creating providers
oracle.sysman.core.sec.rest.authn.TokenProducerException: Producer with the same name already exists
at oracle.sysman.core.sec.rest.authn.TokenProducerRepository.save(TokenProducerRepository.java:271) ~[emCoreSDKImpl.jar:?]
at oracle.sysman.core.sec.rest.authn.TokenProducerService.createInternal(TokenProducerService.java:96) ~[emCoreSDKImpl.jar:?]
at oracle.sysman.emctl.config.authn.RegisterInternalProvider.registerInternalProvider(RegisterInternalProvider.java:100) [emCoreSDKImpl.jar:?]
at oracle.sysman.emctl.config.authn.RegisterInternalProvider.main(RegisterInternalProvider.java:74) [emCoreSDKImpl.jar:?]
2024-06-17 10:09:45,878 [main] INFO oms.AdminCredsWalletUtil - Getting credentials from wallet
2024-06-17 10:09:46,133 [main] INFO oms.AdminCredsWalletUtil - Read the credentials from wallet
2024-06-17 10:09:46,136 [main] INFO util.EmctlUtil - Connecting over t3s to: xxxxxxxxx using id: weblogic
2024-06-17 10:09:47,579 [main] INFO mas.CredStoreUtil - getCredential : Got creds for mapName -EM keyName - REPOS_DETAILS
2024-06-17 10:09:48,204 [main] INFO mas.CredStoreUtil - getCredential : Got creds for mapName -EM keyName - ENCR_DETAILS
2024-06-17 10:09:48,439 [main] INFO authn.RegisterInternalProvider - Registering internal provider
2024-06-17 10:09:48,541 [main] ERROR authn.TokenProducerRepository - Token already existsEMCC_INTERNAL
java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (SYSMAN.UK_EM_TOKEN_PRODUCER) violated

Cause

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
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.