Failed database security store config

Info: Data source is: opss-DBDS
Info: DB JDBC driver: oracle.jdbc.OracleDriver
Info: DB JDBC URL: jdbc:oracle:thin:@192.168.1.117:1521/oamdb
Connected:oracle.jdbc.driver.T4CConnection@67d6b87e
Disconnect:oracle.jdbc.driver.T4CConnection@67d6b87e
INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider                               ". OpenJPA will not be used.
INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider                               ". OpenJPA will not be used.
[oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  checkSer                               viceSetup - done
Feb 6, 2015 3:41:17 PM oracle.security.jps.internal.config.ldap.LdapCredStoreServ                               iceConfigurator schemaCompatibleHandler
INFO: Credential store schema upgrade not required. Store Schema version 11.1.1.7                               .2 is compatible to the seed schema version 11.1.1.4.0
[oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  checkSer                               viceSchema - Store schema has been seeded completely
[oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  updateSe                               rviceConfiguration - done
[oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  seedSche                               maAndCreateDIT - failed oracle.security.jps.service.policystore.PolicyObjectAlrea                               dyExistsException: javax.persistence.PersistenceException: Exception [EclipseLink                               -4002] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persi                               stence.exceptions.DatabaseException
Internal Exception: java.sql.BatchUpdateException: ORA-00001: unique constraint (                               DEV_OPSS.IDX_JPS_RDN_PDN) violated
Error Code: 1
Query: InsertObjectQuery(EntryId = 5005:Attribute RowId = 6001
dn = cn=CredentialStore,cn=IAM,cn=JPSContext,cn=jpsroot)
Exception in thread "main" java.lang.RuntimeException: oracle.security.jps.servic                               e.policystore.PolicyObjectAlreadyExistsException: javax.persistence.PersistenceEx                               ception: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.1.v2011                               1018-r10243): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.BatchUpdateException: ORA-00001: unique constraint (                               DEV_OPSS.IDX_JPS_RDN_PDN) violated
Error Code: 1
Query: InsertObjectQuery(EntryId = 5005:Attribute RowId = 6001
dn = cn=CredentialStore,cn=IAM,cn=JPSContext,cn=jpsroot)
oracle.security.jps.internal.api.common.JpsCredentialStoreLdapNodeCreationExcepti                               on: oracle.security.jps.service.policystore.PolicyObjectAlreadyExistsException: j                               avax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Pers                               istence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.Da                               tabaseException
Internal Exception: java.sql.BatchUpdateException: ORA-00001: unique constraint (                               DEV_OPSS.IDX_JPS_RDN_PDN) violated

Hi,
Are you created the domain first time? if yes then dont start Admin server and Managed Server till configuresecurity.py task get completed because if you do that it will give you error when you start OAMCONSOLE.
Thanks,
Sunil

Similar Messages

  • Configuring Database Security Store is failing

    Guys,
    I am trying to configure Database Security Store while installing 11gR2 (OIM, OAM, SOA) and wlst.sh script is failing. Here is the format I am giving.
    $MW_HOME/oracle_common/common/bin/wlst.sh $ORACLE_HOME/common/tools/configureSecurityStore.py -d $IAM_DOMAIN_LOCATION -m create -c IAM -p $ORA_PASS
    Here is the error message i am getting.
    Problem invoking WLST - Traceback (innermost last):
    File "/apps/Oracle/Middleware/Oracle_IDM1/common/tools/configureSecurityStore.py ", line 15, in ?
    ImportError: no module named security
    Please let me know how to resolve this issue.
    PS: I created a new domain with 7002 for OIM, OAM & SOA as 7001 is being used by OID domain. And trying to run the above command with 7002 domain name and getting this error.

    This is a bug.
    Run a search for wlst.sh in your environment and call the wlst.sh from oracle_common/common/bin not from wl_server/common/bin.
    You can look for this (Doc ID 1493576.1) in Oracle support.
    Thanks,
    Ram

  • ORA-00001: unique constraint during "Configure Database Security Store for OIM Domain"

    Hi Guru's,
    I am following the below steps for OIM 11.1.2.1 with SOA 11.1.1.7 Installation and facing below error during step "Configure Database Security Store for OIM Domain".
    Installed Database 11.2.0.3
    Installed RCU (Here I used two versions.
         RCU 11.1.2   - Used IDAM prefix for (Metadata Services, OPSS, OIM)
         RCU 11.1.1.7 - Used SOA prefix for(Metadata Services,SOA Infrastructure, User Messaging service)
    Installed JDK 7 (Java 1.7)
    Installed WL 10.3.6 (MW_HOME-/u01/Middleware/fmw, WL_HOME=/u01/Middleware/fmw/wlserver_10.3)
    Installed FMW 11.1.2.1 for OIM. (ORACLE_HOME=Oracle_IDM1)
    Installed FMW 11.1.1.7 for SOA (ORACLE_HOME=Oracle_SOA1)
    WL Domain creation.  (Domain Name – idam_domain1)
    Configure Database Security Store for OIM Domain.
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (IDAM_OPSS.IDX_JPS_RDN_PDN) violated
    Also followed the below bug solution, but issue still occurs.
    Bug 16690836 : CONFIGURE DATABASE SECURITY STORE (CONFIGURESECURITYSTORE.PY) SCRIPT IS FAILING
    @ 1. Delete the Schemas using RCU.
    @ 2. Recreate the OAM schemas.
    @ 3. Reinstall the WLS and OAM software.
    @ 4. Run config.sh to create a new domain.
    @ 5. Run setDomainEnv.sh from user_projects/domains/<Domain_name>/bin
    @ 6. Run the configureSecurityStore.py from same window.
    Not sure if anyone tried with different steps that fixed the issue? Could you please help.
    Thanks
    VG

    Hi Gurus, I got the solution from Oracle. SOA 11.1.1.7.0 shouldn't be used with Identity Management 11.1.2.1.0(11GR1-PS1) version. Identity Management 11.1.2.1.0(11GR1-PS1) is bundled with SOA 11.1.1.6.0. When used this SOA version, Installation went smooth. Thanks VG

  • Please help with Configuring Database Security Store

    Here's the error i get....
    Any ideas?
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Info: Data source is: opss-DBDS
    WLS ManagedService is not up running. Fall back to use system properties for con
    figuration.
    Info: DB JDBC driver: oracle.jdbc.OracleDriver
    Info: DB JDBC URL: jdbc:oracle:thin:@localhost:1521/idgov
    Connected:oracle.jdbc.driver.T4CConnection@21bce8d
    Disconnect:oracle.jdbc.driver.T4CConnection@21bce8d
    INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvide
    r". OpenJPA will not be used.
    [oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  checkSe
    rviceSetup - done
    Aug 13, 2013 8:47:47 PM oracle.security.jps.internal.config.ldap.LdapCredStoreSe
    rviceConfigurator schemaCompatibleHandler
    INFO: Credential store schema upgrade not required. Store Schema version 11.1.1.
    6.0 is compatible to the seed schema version 11.1.1.4.0
    [oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  checkSe
    rviceSchema - Store schema has been seeded completely
    [oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  updateS
    erviceConfiguration - done
    [oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  seedSch
    emaAndCreateDIT - failed JPS-10000: There was an internal error in the policy st
    ore.
    Exception in thread "Main Thread" java.lang.RuntimeException: JPS-10000: There w
    as an internal error in the policy store.
    oracle.security.jps.internal.api.common.JpsCredentialStoreLdapNodeCreationExcept
    ion: JPS-10000: There was an internal error in the policy store.
            at oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl.cre
    ateJpsCredentailStoreInLdap(JpsDbBootstrapImpl.java:303)
            at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
    ator.addServiceStoreBase(LdapCredStoreServiceConfigurator.java:114)
            at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
    ator.seedSchemaAndCreateDIT(LdapCredStoreServiceConfigurator.java:142)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.runConfiguration(LdapServiceEnabler.java:448)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.configureCredentialStoreService(LdapServiceEnabler.java:233)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.configureSecurityServices(LdapServiceEnabler.java:171)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.main(LdapServiceEnabler.java:129)
    Caused by: oracle.security.jps.service.policystore.PolicyStoreConnectivityExcept
    ion: JPS-10000: There was an internal error in the policy store.
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.handl
    eRollbackException(JpsDBDataManager.java:1345)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.inter
    nalCommitTxn(JpsDBDataManager.java:1508)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commi
    tTransactionInDoAs(JpsDBDataManager.java:1475)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commi
    tTransaction(JpsDBDataManager.java:1466)
            at oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl.cre
    ateJpsCredentailStoreInLdap(JpsDbBootstrapImpl.java:296)
            at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
    ator.addServiceStoreBase(LdapCredStoreServiceConfigurator.java:113)
            at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
    ator.seedSchemaAndCreateDIT(LdapCredStoreServiceConfigurator.java:142)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.runConfiguration(LdapServiceEnabler.java:447)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.configureCredentialStoreService(LdapServiceEnabler.java:232)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.configureSecurityServices(LdapServiceEnabler.java:170)
            ... 1 more
    Caused by: javax.persistence.RollbackException: Exception [EclipseLink-4002] (Ec
    lipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.ex
    ceptions.DatabaseException
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001
    : unique constraint (DEV20_OPSS.IDX_JPS_RDN_PDN) violated
    Error Code: 1
    Call: INSERT INTO JPS_DN (ENTRYID, PARENTDN, RDN) VALUES (?, ?, ?)
            bind => [3 parameters bound]
    Query: InsertObjectQuery(EntryId=11437:rdn=cn=credentialstore:pdn=cn=jpsroot,cn=
    jpscontext,cn=iam,: JpsStore Entry={[EntryId = 11437:Attribute RowId = 45348
    dn = cn=CredentialStore,cn=IAM,cn=JPSContext,cn=jpsroot, EntryId = 11437:Attribu
    te RowId = 45349
    objectclass = top, EntryId = 11437:Attribute RowId = 45350
    objectclass = orclContainer, EntryId = 11437:Attribute RowId = 45351
    cn = CredentialStore]})
            at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImp
    l.commitInternal(EntityTransactionImpl.java:102)
            at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImp
    l.commit(EntityTransactionImpl.java:63)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager$8.run
    (JpsDBDataManager.java:1488)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.inter
    nalCommitTxn(JpsDBDataManager.java:1492)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commi
    tTransactionInDoAs(JpsDBDataManager.java:1476)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commi
    tTransaction(JpsDBDataManager.java:1466)
            at oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl.cre
    ateJpsCredentailStoreInLdap(JpsDbBootstrapImpl.java:297)
            at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
    ator.addServiceStoreBase(LdapCredStoreServiceConfigurator.java:114)
            at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
    ator.seedSchemaAndCreateDIT(LdapCredStoreServiceConfigurator.java:142)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.runConfiguration(LdapServiceEnabler.java:448)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.configureCredentialStoreService(LdapServiceEnabler.java:233)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.configureSecurityServices(LdapServiceEnabler.java:171)
            ... 1 more
    Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.1.v2
    0111018-r10243): org.eclipse.persistence.exceptions.DatabaseException
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001
    : unique constraint (DEV20_OPSS.IDX_JPS_RDN_PDN) violated
    Error Code: 1
    Call: INSERT INTO JPS_DN (ENTRYID, PARENTDN, RDN) VALUES (?, ?, ?)
            bind => [3 parameters bound]
    Query: InsertObjectQuery(EntryId=11437:rdn=cn=credentialstore:pdn=cn=jpsroot,cn=
    jpscontext,cn=iam,: JpsStore Entry={[EntryId = 11437:Attribute RowId = 45348
    dn = cn=CredentialStore,cn=IAM,cn=JPSContext,cn=jpsroot, EntryId = 11437:Attribu
    te RowId = 45349
    objectclass = top, EntryId = 11437:Attribute RowId = 45350
    objectclass = orclContainer, EntryId = 11437:Attribute RowId = 45351
    cn = CredentialStore]})
            at org.eclipse.persistence.exceptions.DatabaseException.sqlException(Dat
    abaseException.java:324)
            at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.exec
    uteDirectNoSelect(DatabaseAccessor.java:840)
            at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.exec
    uteNoSelect(DatabaseAccessor.java:906)
            at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basi
    cExecuteCall(DatabaseAccessor.java:592)
            at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.exec
    uteCall(DatabaseAccessor.java:535)
            at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecut
    eCall(AbstractSession.java:1717)
            at org.eclipse.persistence.sessions.server.ClientSession.executeCall(Cli
    entSession.java:253)
            at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism
    .executeCall(DatasourceCallQueryMechanism.java:207)
            at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism
    .executeCall(DatasourceCallQueryMechanism.java:193)
            at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism
    .insertObject(DatasourceCallQueryMechanism.java:342)
            at org.eclipse.persistence.internal.queries.StatementQueryMechanism.inse
    rtObject(StatementQueryMechanism.java:162)
            at org.eclipse.persistence.internal.queries.StatementQueryMechanism.inse
    rtObject(StatementQueryMechanism.java:177)
            at org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.inser
    tObjectForWrite(DatabaseQueryMechanism.java:472)
            at org.eclipse.persistence.queries.InsertObjectQuery.executeCommit(Inser
    tObjectQuery.java:80)
            at org.eclipse.persistence.queries.InsertObjectQuery.executeCommitWithCh
    angeSet(InsertObjectQuery.java:90)
            at org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.execu
    teWriteWithChangeSet(DatabaseQueryMechanism.java:287)
            at org.eclipse.persistence.queries.WriteObjectQuery.executeDatabaseQuery
    (WriteObjectQuery.java:58)
            at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.j
    ava:844)
            at org.eclipse.persistence.queries.DatabaseQuery.executeInUnitOfWork(Dat
    abaseQuery.java:743)
            at org.eclipse.persistence.queries.ObjectLevelModifyQuery.executeInUnitO
    fWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:108)
            at org.eclipse.persistence.queries.ObjectLevelModifyQuery.executeInUnitO
    fWork(ObjectLevelModifyQuery.java:85)
            at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExec
    uteQuery(UnitOfWorkImpl.java:2871)
            at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuer
    y(AbstractSession.java:1516)
            at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuer
    y(AbstractSession.java:1498)
            at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuer
    y(AbstractSession.java:1449)
            at org.eclipse.persistence.internal.sessions.CommitManager.commitNewObje
    ctsForClassWithChangeSet(CommitManager.java:224)
            at org.eclipse.persistence.internal.sessions.CommitManager.commitAllObje
    ctsForClassWithChangeSet(CommitManager.java:191)
            at org.eclipse.persistence.internal.sessions.CommitManager.commitAllObje
    ctsWithChangeSet(CommitManager.java:136)
            at org.eclipse.persistence.internal.sessions.AbstractSession.writeAllObj
    ectsWithChangeSet(AbstractSession.java:3799)
            at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToData
    base(UnitOfWorkImpl.java:1415)
            at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.c
    ommitToDatabase(RepeatableWriteUnitOfWork.java:636)
            at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToData
    baseWithChangeSet(UnitOfWorkImpl.java:1505)
            at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.c
    ommitRootUnitOfWork(RepeatableWriteUnitOfWork.java:267)
            at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitAndRes
    ume(UnitOfWorkImpl.java:1143)
            at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImp
    l.commitInternal(EntityTransactionImpl.java:84)
            at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImp
    l.commit(EntityTransactionImpl.java:63)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager$8.run
    (JpsDBDataManager.java:1487)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.inter
    nalCommitTxn(JpsDBDataManager.java:1492)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commi
    tTransactionInDoAs(JpsDBDataManager.java:1475)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commi
    tTransaction(JpsDBDataManager.java:1466)
            at oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl.cre
    ateJpsCredentailStoreInLdap(JpsDbBootstrapImpl.java:296)
            at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
    ator.addServiceStoreBase(LdapCredStoreServiceConfigurator.java:113)
            at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
    ator.seedSchemaAndCreateDIT(LdapCredStoreServiceConfigurator.java:142)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.runConfiguration(LdapServiceEnabler.java:447)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.configureCredentialStoreService(LdapServiceEnabler.java:232)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.configureSecurityServices(LdapServiceEnabler.java:170)
            ... 1 more
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique
    constraint (DEV20_OPSS.IDX_JPS_RDN_PDN) violated
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
            at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
            at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
            at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
            at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
            at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.
    java:207)
            at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedSta
    tement.java:1044)
            at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java:1329)
            at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
    aredStatement.java:3593)
            at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar
    edStatement.java:3674)
            at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(Oracl
    ePreparedStatementWrapper.java:1354)
            at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.exec
    uteDirectNoSelect(DatabaseAccessor.java:831)
            ... 45 more
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.throwExceptionWithStackTrace(LdapServiceEnabler.java:145)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.main(LdapServiceEnabler.java:137)
    Error: Failed to initialize security store.
    Error: Create operation has failed.
    C:\Oracle\IDGMiddleware\oracle_common\common\bin>

    Try to configure the policy store with different ID (highlighted in the below command)
    ./wlst.sh <Oracle_IDM1_Home>/common/tools/configureSecurityStore.py -d <WLS_Domain>/OAM_domain -c IAM -p <Password> -m create
    OR
    Reinstall the RCU and try to configure the policy store.

  • Configure Database Security Store - OIM 11g R2 upgrade

    Hi,
    We have OIM 11g R1 environment and now upgrading it to 11g R2(11.1.2.0),
    As part of upgrading we have to create a security store
    While creating security store. We are seeing, java.sql.SQLIntegrityConstraintViolationException
    Caused by: java.sql.SQLIntegrityConstraintViolationException:ORA-00001: unique constraint (DEV_OPSS.IDX_JPS_RDN_PDN) violated
    Your inputs are highly appreciated
    Regards,
    Anand

    Thanks Nishith.
    I have tried droping and recreating the schema but it doesn't work.
    "For R2 must use weblogic 10.3.6 and SOA 11.1.1.6 and RCU 11l.1.2.0"
    We have SOA-11.1.1.7.0, Weblogic 10.3.6, RCU 11.1.2.0 , 11g R2 DB.
    I think our issue is exactly same as that in Doc ID 1547423.1 and also tried reinstalling everything and configured the domain again still two rdn for credentialstore (cn=credentialstore) is created everytime (which results in sqlIntegrityException). 
    I have already tried disabling the constraints,deleting the entry for credentialstore in MY_OPSS.JPS_DN still cannot create security store.
    Is there anyother workaround?  Your inputs will really guide us.
    Regards,
    Anandan

  • What is the purpose of Configuring Database Security Store

    in 11g R2 or 11gR2 PS1....
    Experts ... please clarify ...

    Take a look at these pages for more info:
    http://forums.adobe.com/message/5095525#5095525
    http://forums.adobe.com/message/4574937#4574937
    http://www.lightroomforums.net/showthread.php?14169-What-is-the-purpose-of-the-quot-Store- Presets-with-Catalog-quot-optionhttp://
    John

  • Secure Store Service Application takes a lot of time and does not create the database

    Hi everybody,
    I was trying to configure sharepoint performance point and I was following the instruction. After I created the performance point services application I tried to creat the secure store service application. When I do this, the progress window stays open forever
    even after 2 hours. If I close the window, I will see that the secure store service and proxy app is created and the application pool also is created in IIS but the database is not and the application service is stopped. even when I want to delete it, it's
    the same story and the progress window stays until I close it manually. Nothing has been logged in the event viewer because it doesn't throw any exceptions.
    I don't think that I have permission issues on the database server side because I have created the performance point service app and the database is there. I have used the same credentials to crete the secure store.
    I have restarted the secure store service and IIS for many times and even the server itself.
    I'm wondering if anybody has had this issue because I couldn't find anything on the web.
    Thanks,
    Edwin 

    Alex, please ignore my previous answer. I found more information in the ULS. At the time that I started creating the service application by power shell these things are logged and they are repeated several times:
       it starts with:
    11/13/2013 15:19:55.52 PowerShell.exe (0x1698)                
    0x170C
    Secure Store Service          
    Secure Store                  
    esj6 High    
    Creating Secure Store Service Application 'Secure Store Service Application'.
    c402af0c-5ff6-4995-83b8-3f95210a8b3d
    11/13/2013 15:19:55.54 PowerShell.exe (0x1698)                
    0x170C
    Secure Store Service          
    Secure Store                  
    esj9 Medium  
    Creating "database object" 'SP_SecureStore' for application. At this time database is not created.
    c402af0c-5ff6-4995-83b8-3f95210a8b3d
    11/13/2013 15:19:55.54 PowerShell.exe (0x1698)                
    0x170C
    Secure Store Service          
    Secure Store                  
    esk0 Medium  
    Saving "database object" 'SP_SecureStore' in the config db.
    c402af0c-5ff6-4995-83b8-3f95210a8b3d
    11/13/2013 15:19:55.83 w3wp.exe (0x0944)                      
    0x0DB4
    Secure Store Service          
    Secure Store                  
    d4gx Verbose
    BackgroundTasks instance accesed.
    11/13/2013 15:19:55.83 SPUCWorkerProcessProxy.exe (0x13A0)    
    0x02B0
    Secure Store Service          
    Secure Store                  
    d4gx Verbose
    BackgroundTasks instance accesed.
    11/13/2013 15:19:55.83 PowerShell.exe (0x1698)                
    0x1740
    Secure Store Service          
    Secure Store                  
    f7wk Verbose
    StartTracker called for secure store ''
    11/13/2013 15:19:55.83 PowerShell.exe (0x1698)                
    0x1740
    Secure Store Service          
    Secure Store                  
    f7wl Verbose
    Tracker not started because call not made from Service Host.
    11/13/2013 15:19:55.83 WebAnalyticsService.exe (0x0A6C)        
    0x1B88 Secure Store Service          
    Secure Store                  
    f7wk Verbose
    StartTracker called for secure store ''
    Finally it says:
    11/13/2013 15:19:55.90 PowerShell.exe (0x1698)                
    0x170C
    Secure Store Service          
    Secure Store                  
    esk9 High    
    Secure Store Service Application 'Secure Store Service Application' created.
    c402af0c-5ff6-4995-83b8-3f95210a8b3d

  • ARM approval error after upgrading to SP14: Database error while using the secure store.

    Dear GRC experts,
    After upgrading GRC 10 to SP14, assigning manual passwords during the approval of a request, the approval process is failing.
    Here is the scenario; your advice will be appreciated.
    Task: Manually assign passwords to multiple systems contained in the request
    Where: On the access request, go to “User System Details” tab
    Issue: After approving/submitting the request, the error “Database error while using the secure store” is generated
    Logs: Nothing on transactions SLG1 or ST22; however ST11 shows the error attached below:
    This is the failed approval of the request:
    Other scenarios executed as a workaround, and passed the password assignment this time:
    The approval will work if only one password is assigned to any of the given systems. The rest of the systems get an auto-generated
    password.
    ARM also accepts multiple passwords when the requestor assigns passwords on the “User System Details” prior submitting a
    request. The GRC admin can approve once reached for system approval.
    AS FYI, “Confirm Password” is only required when creating the request but not on any other stage.
    System information:
      -Netweaver 7
      -GRCFND_A SP14
      -GRCPINW SP13
    Regards,
    Gustavo

    SAP just delivered a note to fix this issue. The number is 2022294.

  • Java Install,  Cannot insert a key value pair into the secure store fails,

    Dear All,
    I'm doing Java Intallaion in BI7 on CI and in the midle of installtions we encounter,
    TRACE      [iaxxejsexp.cpp:199]
               EJS_Installer::writeTraceToLogBook()
    NWException thrown: nw.secureStore.cannotInsertIntoSecureStore:
    Cannot insert a key value pair into the secure store fails; see output of log file SecureStoreInsert.log:
    SAP Secure Store in the File System - Copyright (c) 2003 SAP AG
    A key/value pair with this key already exists in the store..
    ERROR      2008-04-23 11:36:21
               CJSlibModule::writeError_impl()
    CJS-30051  Cannot insert a key value pair into the secure store fails; see output of log file SecureStoreInsert.log:
    SAP Secure Store in the File System - Copyright (c) 2003 SAP AG
    A key/value pair with this key already exists in the store..
    TRACE      [iaxxejsbas.hpp:460]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2008-04-23 11:36:21 [iaxxgenimp.cpp:731]
               showDialog()
    FCO-00011  The step insertAdminDataInSecStore with step key |NW_Addin_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|8|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|insertAdminDataInSecStore was executed with status ERROR .
    TRACE      [iaxxgenimp.cpp:719]
               showDialog()
    There's any want in here can help us Please,
    Thanks and Best Regards,
    Chrisna

    The clean way to Uninstall JAVA is through SAPINST. 
    Make user you drop only the JAVA Schema ID (SAPSR3DB)
    If you want to uninstall manually, follow as mentioned below :
    1. Stop the central services instance and all dialog instances of your SAP system:
    a) Log on to the corresponding instance host as user <sapsid>adm.
    b) Execute the following commands:
       To stop the central services instance:
                 stopsap r3 <SCSinstanceName>
       To stop a dialog instance:
                stopsap r3 <DialogInstanceName>
    2. Stop the J2EE Engine of the central instance:
    a) Log on to your SAP system.
    b) Call transaction SMICM.
    c) Choose Administration J2EE Instance (local) Send Hard Shutdown
    2. Drop the J2EE DB schema (the db schema for this one SAP SID) BE VERY CAREFUL, do not drop the DB schema for another existing system or
    the ABAP schema.
    a. Log on as user ora<dbsid>.
    b. Start sqlplus and connect to the database. Enter:
    sqlplus /nolog
    c. SQLPLUS>connect / as sysdba
    d. Enter the following command to delete the database objects of the database schema:
    SQLPLUS> drop user SAP<SCHEMA_ID>DB cascade;
    e. Enter the following command to get the file name of the corresponding data file in the file system:
    SQLPLUS> select file_name from dba_data_files where \
    tablespace_name = ’PSAP<SCHEMA_ID>DB’;
    f. Enter the following command to delete the tablespace of the database schema:
    SQLPLUS> drop tablespace PSAP<SCHEMA_ID>DB including contents;
    g. Exit sqlplus:
    SQLPLUS> exit
    3. Remove folder "data" at: /sapmnt/QO1/global/security/data
    4. Remove folder "SDM" at: /usr/sap/<sid>/<Central instance>/SDM
    5. Remove folder "j2ee" at:  /usr/sap/<sid>/<Central instance>/j2ee
    6. Revert CI instance profile to their original state (backup copies should exist) # they should be in the state before the start of the JavaAdd In
    7. If lines beginning with the following parameters appear, delete these lines from the default profile, /usr/sap/<SAPSID>/SYS/profile/DEFAULT.PFL:
    j2ee/dbname =
    j2ee/dbtype =
    j2ee/dbhost =
    j2ee/dbadminurl =
    j2ee/scs/host =
    j2ee/scs/system =
    j2ee/ms/port =
    8. If lines beginning with the following parameters appear, delete these lines from the central instance pro?le and from all dialog instance pro?les,
    /usr/sap/<SAPSID>/SYS/profile/<SAPSID>_<INSTANCE_NAME>_<host_name>:
    exe/j2ee =
    exe/jlaunch =
    rdisp/j2ee_start_control =
    rdisp/j2ee_start =
    rdisp/j2ee_timeout =
    rdisp/j2ee_libpath =
    rdisp/frfc_fallback =
    jstartup/trimming_properties =
    jstartup/instance_properties =
    jstartup/protocol =
    jstartup/vm/home =
    jstartup/max_caches =
    jstartup/release =
    j2ee/dbdriver =
    9. Delete the central services instance
    10. Restart ABAP and Install JAVA Add-in
    Edited by: Shaji Jacob on Apr 27, 2008 11:46 AM

  • Unable to launch Config tool to updaing the Secure Store

    Hi Experts,
    We've moved a 7.01 J2EE stack to a new server, where the hardware key has changed. As a result, SAP is not able to build a connection to the Oracle database. (The database is startable via SQLPLUS).
    In our attempt to update the secure store information, the configtool does not start to allow changes to the secure store - it simply dies out after not being able to build the connection.
    The offline configurarion tool does not start at all for the same reasons.
    Any thoughts on how to update the secure store to update the password?
    Thanks,
    Tim

    Hi Ventsi,
    Your answer was dead-on. We were indeed able to lauch the config tool from the 'remote' location and were able to edit the secure store files afterwards. SAP support has stated that the fix for 7.01 will be available with  support stack 07 (not yet released).
    On a side note, we found the true core of our issue.  Apparently, once this server was moved to it's new location (new IP) a firewall rule prevented the proper functioning of the TNSlistener in building a java based connection string. The listener depended on the nslookup functionality working properly.
    Once we corrected the port block and nslookup could function correctly, the listener also functioned correctly and everything began to flow.
    We're up and running again. I don't understand the false positive we got here for the issue, but we're fixed and running again.
    Thanks again Ventsi!
    Tim

  • My itunes in pc fails to secure link with itunes store it shows the process bar it automatically quits the process it also does not shows any on the screen. i am using windows xp service pack 3. what shoul i do?

    my itunes in pc fails to secure link with itunes store it shows the process bar it automatically quits the process it also does not shows any on the screen. i am using windows xp service pack 3. what shoul i do?
    Diagnostics test
    Microsoft Windows XP Professional Service Pack 3 (Build 2600)
    ECS G31T-M7
    iTunes 10.5.2.11
    QuickTime 7.6.9
    FairPlay 1.13.37
    Apple Application Support 2.1.6
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 4.0.0.97
    Apple Mobile Device Driver 1.57.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.5.502
    Gracenote MusicID 1.9.5.115
    Gracenote Submit 1.9.5.143
    Gracenote DSP 1.9.5.45
    iTunes Serial Number 0012ABAC07F3CCB0
    Current user is an administrator.
    The current local date and time is 2011-12-31 14:06:21.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is not supported. (16005)
    Video Display Information
    Intel(R) G33/G31 Express Chipset Family
    **** External Plug-ins Information ****
    No external plug-ins installed.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:        {7599FAD1-1BB9-4AC6-80AF-404253DC519E}
    Description:            Atheros L2 Fast Ethernet 10/100 Base-T Controller - Packet Scheduler Miniport
    IP Address:             192.168.1.5
    Subnet Mask:          255.255.255.0
    Default Gateway:    192.168.1.1
    DHCP Enabled:      Yes
    DHCP Server:         192.168.1.1
    Lease Obtained:     Sat Dec 31 13:46:09 2011
    Lease Expires:       Tue Jan 03 13:46:09 2012
    DNS Servers:         192.168.1.1
    Active Connection: LAN Connection
    Connected:             Yes
    Online:                    Yes
    Using Modem:        No
    Using LAN:             Yes
    Using Proxy:           No
    SSL 3.0 Support:     Enabled
    TLS 1.0 Support:     Enabled
    Firewall Information
    Windows Firewall is on.
    iTunes is enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to browsing iTunes Store was successful.
    Connection attempt to purchasing from iTunes Store was successful.
    Connection attempt to iPhone activation server was unsuccessful.
    The network connection timed out.
    Connection attempt to firmware update server was unsuccessful.
    The network connection timed out.
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2011-12-31 14:00:02.
    **** Device Connectivity Tests ****
    iPodService 10.5.2.11 is currently running.
    iTunesHelper 10.5.2.11 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27C8.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27C9.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27CA.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27CB.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB2 Enhanced Host Controller - 27CC.  Device is working properly.
    No FireWire (IEEE 1394) Host Controller found.
    Connected Device Information:
    rawkiss’s iPhone, iPhone 3G running firmware version 4.0
    Serial Number:       86931UEAY7H
    **** Device Sync Tests ****
    Sync tests completed successfully.

    I have found a fix after doing additional research through this forum. Tech Note #328730 addresses this problem and it works for Photoshop Album 3.2 even though it was written for release 1.0.
    Here is a link that will take you directly to the Tech Note:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=328730
    When using this fix the Tech Note indicates:
    "Imported image data and tags are lost when you re-create the My Catalog.psa file, so you need to reimport images and reapply any tags"
    however it did retain the captions (at least it did for me).

  • Message failing in SXMB_moni----Error while reading from the secure store

    Hi,
    The scenario is as below
    A file is picked up from a folder and processed to enrich it.This enriched file is then written back in a different folder.
    The message is failing in sxmb_moni while trying to write the file in the folder.
    The PI system is a system copy of another system and few of the configuration objects are transported through a tpz file to this PI system.The file receiver channel used to write this file is also transported through this tpz file.
    Below is the error seen in moni.:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Call Adapter --> <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIServer</SAP:Category><SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText>Error while reading from the secure store: ERROR_U: No service user password found for Adapter Engine</SAP:AdditionalText><SAP:Stack>Error while reading access data (URL, user, password) for the Adapter Engine
    </SAP:Stack><SAP:Retry>M</SAP:Retry></SAP:Error>
    Below is Trace log:
    <Trace level="1" type="B" name="PLSRV_CALL_ADAPTER"></Trace><!-- ************************************ -->
    <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV"></Trace><!-- ************************************ -->
    <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL"></Trace><!-- ************************************ -->
    <Trace level="1" type="B" name="CL_XMS_PLSRV_IE_ADAPTER-ENTER_PLSRV">
    <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_XMB-CALL_XMS_HTTP"></Trace><!-- ************************************ -->
    <Trace level="1" type="T">error reading secstore:Error while reading from the secure store: ERROR_UNKNOWN: System-dependent data for entry  changed:  / (SECSTORE,031) </Trace>
    <Trace level="1" type="System_Error">Error while reading access data (URL, user, password) for the Adapter Engine  </Trace>
    </Trace>
    </Trace>
    <Trace level="1" type="System_Error">Error exception return from pipeline processing! </Trace>
    <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST"></Trace><!-- ************************************ -->
    Is this because  PI system is a system copy of another system ?
    Regards,
    Sneha

    Error while reading access data (URL, user, password) for the Adapter Engine
    Check out Michal's reply:
    Re: URL for Central Adapter Engine
    As you said there was a system copy it may be the case that some things were not configured properly

  • Secure store lib dir does not exist - unable to open config tool

    Hi we are using NW 7.0 with windows 2005 (AS java).
    when i click on configtool in central instance it says
    Error occured while working with configuration( scanning)
    Msg: Error occured : secure store lib Dir does not exist :
    server\sapmnt\SID\SYS\global\security\lib\tools
    please suggest
    Thanks
    KK

    HI ,
    Was config tool working earlier?
    Please check if direcories sapmnt & saploc exist are you are able to access them.Check permission on it.
    May be your windows server got patched and some security policy got changed.Worth a revisiting and checking.
    Other thing you can try is take a backup of bootstrap.properties file and modify the location of library from 
    server\sapmnt\J2EE\sys\global\security\lib\tools to \usr\sap\J2EE\sys\global\security\lib in the bootstrap file.
    Regards,
    Ashutosh

  • Cannot insert a key value pair into the secure store fails; see output of l

    Hi,
    how can I fix this problem ?
    SAPNW2004sJavaSP9_Trial\SAP_NetWeaver_2004s_SR_1
    jdkversion 142_09 .
    ERROR 2008-07-10 13:13:31
    CJS-30051  Cannot insert a key value pair into the secure store fails; see output of log file SecureStoreInsert.log: SAP Secure Store in the File System - Copyright (c) 2003 SAP AG
    Regds
    sas

    Hi Arzu,
    thank you for your replying.
    The current OS I am using is Microsoft Windows XP
    Service Pack 2.
    The very last installation was made with JDK version 142_12.
    However it was pointless. I can try to reinstall with
    the mentioned newest JCE policy files .
    Can tell me from where I can obtain these above
    JCE policy files ?
    Regards
    Erdem Sas

  • WebLogic Server Exception for RDBMS Security Store Database

    Hi All,
    I am getting List of Exception when I am trying to create a domain based on [RDBMS Security Store Database |http://www.atilimited.net/zakir/err/weblogic2.JPG] by configuring YES of [customize Environment and Services Settings|http://www.atilimited.net/zakir/err/weblogic1.JPG] .
    When I going to Start that weblogic domain then I am getting list of [error/Exception|http://www.atilimited.net/zakir/err/AdminServer.log] such as
    weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: weblogic.security.spi.ProviderInitializationException: A failure occurred attempting to load LDIF for provider Authorizer from file C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\XACMLAuthorizerInit.ldift.
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(Unknown Source)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(Unknown Source)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(Unknown Source)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
         at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
         at weblogic.security.SecurityService.start(SecurityService.java:141)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    com.bea.common.engine.ServiceInitializationException: weblogic.security.spi.ProviderInitializationException: A failure occurred attempting to load LDIF for provider Authorizer from file C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\XACMLAuthorizerInit.ldift.
         at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:365)
         at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)
         at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)
         at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)
         at weblogic.security.service.CSSWLSDelegateImpl.getService(Unknown Source)
         at com.bea.security.css.CSS.getService(CSS.java:122)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(Unknown Source)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(Unknown Source)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(Unknown Source)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
         at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
         at weblogic.security.SecurityService.start(SecurityService.java:141)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ........................................................Please help me how can I solve this issue.
    Thanks
    zakir
    =====

    Did you create the tables in the database?
    [http://edocs.bea.com/wls/docs103/secmanage/rdbms.html#wp1105241|http://edocs.bea.com/wls/docs103/secmanage/rdbms.html#wp1105241]

Maybe you are looking for