SAP Knowledge Base Article - Preview

3518147 - Bootstrap terminates with exit code 549 - BadPaddingException: Invalid padding length

Symptom

AS Java fails to start after a simple maintenance restart.

dev_jstart:

[...]
F  *** ERROR => Node 'bootstrap' failed with exit code 549.
F  ***
F  *** Please see section 'Failures in the 'synchronizing binaries' phase'
F  *** in SAP Note 1316652 for additional information and trouble shooting advice.
F  ********************************************************************************
F  
F  [Thr 140209702614912] *** LOG => exiting (exitcode 22002, retcode 1).
[...]

dev_bootstrap:

[...]
F  *** ERROR => Java node 'Instance_bootstrap' terminated with exit code 549.
F  ***
F  *** Please see section 'Java program exit codes'
F  *** in SAP Note 1316652 for additional information and trouble shooting advice.
F  ********************************************************************************
F  
F  [Thr 140643760482048] *** LOG => exiting (exitcode 549, retcode 1).
[...]

jvm_bootstrap.out:

[...]
com.sap.engine.bootstrap.SynchronizationException: Cannot read manager  properties from database. Check database consistency
[...]
com.sap.engine.lib.config.api.exceptions.ClusterConfigurationException: Cannot retrieve the configuration structure corresponding to manager name LicensingManager.
[...]
Caused by: com.sap.engine.frame.core.configuration.ConfigurationException: Internal error during the decryption process.
[...]
Caused by: com.sap.security.core.server.secstorefs.InvalidStateException: Internal error during the decryption process.
[...]
Caused by: javax.crypto.BadPaddingException: Invalid PKCS#5 padding length: 179
    at iaik.security.cipher.f.b(Unknown Source)
    at iaik.security.cipher.a.a(Unknown Source)
    at iaik.security.cipher.a.engineDoFinal(Unknown Source)
    at javax.crypto.Cipher.doFinal(Cipher.java:2170)
    at com.sap.security.core.server.secstorefs.Crypt.decrypt(Crypt.java:838)
    ... 23 more


Read more...

Environment

SAP NetWeaver Application Server Java all versions

Product

SAP NetWeaver Application Server for Java all versions

Keywords

NW Java, System Down, Encryption, Installation, Exit Code 549, Properties, Database Consistency, Decryption Process, Invalid PKCS#5 Padding Length, Keyphrase, Secure Store, key phrase, securestore, config tool, configtool, j2ee , KBA , BC-JAS-SEC , Security, User Management , BC-JAS-SF , Startup Framework , BC-JAS-ADM-ADM , Administration , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.