Saturday, April 13, 2013

Weblogic Error: Ldap bootstrap credential retrieval failed. JPS-01050: Opening of wallet based credential store failed


Error:
oracle.security.jps.internal.config.util.BootstrapConfigurationUtil getLdapBootstrapCredential
SEVERE: Ldap bootstrap credential retrieval failed. Reason:oracle.security.jps.service.credstore.CredStoreException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password. .
Apr 13, 2013 9:43:13 PM oracle.security.jps.internal.credstore.ldap.LdapCredentialStore getBootstrapCredentials
SEVERE: JPS-00071: Ldap bootstrap credential retrieval failed. Reason:oracle.security.jps.service.credstore.CredStoreException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password. .
oracle.security.jps.JpsException: JPS-00071: Ldap bootstrap credential retrieval failed. Reason:oracle.security.jps.service.credstore.CredStoreException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password. .
        at oracle.security.jps.internal.config.util.BootstrapConfigurationUtil.getLdapBootstrapCredential(BootstrapConfigurationUtil.java:564)
        at oracle.security.jps.internal.credstore.ldap.LdapCredentialStore$1.run(LdapCredentialStore.java:127)
        at oracle.security.jps.internal.credstore.ldap.LdapCredentialStore$1.run(LdapCredentialStore.java:125)


Solution:

1) This error occurs when you start weblogic server as root. So never start weblogic server as root. 

2) If started as root, all the permissions on /tmp folder weblogic file get changed. 

3) So change permissions of /tmp file 

chmod -R 777 tmp

4) Try starting weblogic server using other user(other than root. )

2 comments:

  1. Appreciate if you could comment on the following Issue...... Thanks!



    While configuring domain for IDM 11.1.1.6.0, I facing this issue during
    the configuration progress druing the run of $ORACLE_HOMR/binconfig.sh

    geting this Bootstraps Domain configuration Failed. Error
    Iam trying to Configure OID Domain after Installing IDM 11.1.1.6
    software. But the config.sh wizard is getting failed at the Domain
    creation.

    The steps that i 've followed are:

    created 11.2.0.3 database on database server and populated the metadata w/RCU

    Installed sun jdk1.6 on the server

    Installed Weblogic 10.3.6 on server

    Installed IDM 11.1.1.6 Without creating & configuring OID domain on server

    run config.sh under $ORACLE_HOME/bin, but installer was stuck in the
    “create domain” step, and the below error message could be observed in
    the installer’s log:

    2013-07-04T08:40:42.815+05:30] [as] [ERROR] [] [oracle.as.install.engine.modules.presentation] [tid: 11] [ecid: 0000Jybe2o61zWWzLwePOA1HpETX000002,0] Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=186647296)(ERR=12514)(ERROR_STACK=(ERROR=(CODE=12514)(EMFI=4))))[[

    java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=186647296)(ERR=12514)(ERROR_STACK=(ERROR=(CODE=12514)(EMFI=4))))
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)

    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:231)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:345)

    And

    progress in calculate progress2

    java.lang.NullPointerExceptionat oracle.as.install.engine.modules.util.fileutils.INIFileReaderUtilities.parseFile(INIFileReaderUtilities.java:185)
    at oracle.as.install.engine.modules.util.fileutils.INIFileReaderUtilities.(INIFileReaderUtilities.java:86)

    at oracle.as.install.engine.modules.util.fileutils.INIFileReaderUtilities.(INIFileReaderUtilities.java:99)
    at oracle.as.idm.install.config.BootstrapConfigManager.doExecute(BootstrapConfigManager.java:850)
    at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371)


    Please suggest what could be the Issue,




    Thanks
    Priya

    ReplyDelete
  2. Hi Priya,

    Are you able to access db using any other client from that machine??

    Thanks!!!

    ReplyDelete

Other Posts