AMInitServlet Fails to Preload when Restarting OAM Managed Server

After you upgrade the domain component configurations and start the OAM managed server, AMInitServlet fails to preload.

The following error message is displayed:
Caused By: oracle.security.am.common.utilities.exception.AmRuntimeException:
Fail to decrypt oamkeystore data with cipher key from OAM config
(/DeployedComponent/Server/NGAMServer/Profile/ssoengine/CipherKey)
at oracle.security.am.engines.sso.adapter.OAMSessionConfiguration$Config
Listener.configurationChanged(OAMSessionConfiguration.java:295)
To solve the error, complete the following steps:
  1. In the 11g environment, open to the oam-config.xml file and copy the value of cipherKey.
  2. In the 12c environment, open to the oam-config.xml file and replace the value of cipherKey with the value that you copied from the 11g environment.

For more information about how to import or export oam-config.xml from database, see Doc ID 2310234.1.