Why ./pw_agent_util.sh Fails With PKI-02002: Unable To Open The Wallet. Check Password Error? (Doc ID 1921963.1)

Last updated on AUGUST 01, 2016

Applies to:

Management Pack for Oracle GoldenGate - Version 11.2.1.0.1 and later
Oracle GoldenGate - Version 12.1.2.0.0 and later
Information in this document applies to any platform.

Goal

When running
./pw_agent_util.sh -updateAgentJMX


it fails with this error:
------------------------
Please enter new password for Java Agent:
Please confirm password for Java Agent:
Aug 18, 2014 8:32:10 PM oracle.security.jps.internal.credstore.ssp.CsfWalletManager openWallet
WARNING: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password.
0 [main] ERROR com.goldengate.wallet.WalletHelper - 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.
26 [main] ERROR com.goldengate.wallet.WalletHelper - java.lang.NullPointerException
Wallet does not exist. Please create one first.
-------------------------

If running
./pw_agent_util.sh -jagentonly


is attempted then the following error occurs
-------------------------
Wallet is already created. Please use either -updateAgentJMX or -updateServerJMX to update existing passwords.
-------------------------

Why is this happening and how to fix it?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms