Pages

Tuesday, October 28, 2014

JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password

Hi, All today I hit with very wired problem and later got solution using some Oracle post, so though to share in my blog as well.

I just did fresh domain creation and while starting the domain using ./startWeblogic.sh script I was getting below error.

Initially I though, while creating domain I gave some wrong password for "weblogic" user, so deleted the domain and re-created again, but again while starting I got same error. Second time I again thought I might gave wrong password while creating domain, I deleted it again and created Domain third time.

However, this time also same error poped-up, then I started googling on this issue and found solution. 

Error Message:

<Oct 28, 2014 12:44:48 AM EDT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password.
weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password.
        at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)
        at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)
        at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
        at weblogic.security.SecurityService.start(SecurityService.java:141)
        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
        Truncated. see log file for complete stacktrace

Solution:

open putty session from root user and run below command -

root> chmod -R 777 /tmp

Note: I really don't know relation between the weblogic error message and the solution which works for this, however above solution work in my case, and I was able to start the Admin server.
Refer below thread as well -

https://community.oracle.com/message/11006215




No comments:

Post a Comment