OAM server is failed to start up correctly and throwing the error 'Caused By: javax.crypto.BadPaddingException: Given final block not properly padded' (Doc ID 1590687.1)

Last updated on SEPTEMBER 21, 2016

Applies to:

Oracle Access Manager - Version 11.1.1.5.5 and later
Information in this document applies to any platform.

Symptoms

We have encountered OAM server was failing to start up correctly and throwing the error 'Caused By: javax.crypto.BadPaddingException: Given final block not properly padded'. See below for full stack trace from OAM Diagnostics log:

 
After following the instructions as mentioned in Doc ID: 1354918.1 - deleting the CSF keys and removing the .oamkeystore file, we were expecting the file to be regenerated on startup. However the AdminServer and oam_server1 managed server both complain that the file could not be found during startup, and the OAM server continues to fail to start.

Cause

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