IBM Support

Command Line Adapter 2 shows error "javax.crypto.IllegalBlockSizeException: Input length (with padding) not multiple of 8 bytes"

Troubleshooting


Problem

When starting the CLA2 adapter the error "javax.crypto.IllegalBlockSizeException: Input length (with padding) not multiple of 8 bytes" is shown

Symptom

In the cla2server.log you get the following error messages:

<date-time> CmdLine2RemoteImpl.loadKeystore: START
<date-time> CmdLine2RemoteImpl.loadKeystore: setting the keystore password
javax.crypto.IllegalBlockSizeException: Input length (with padding) not multiple of 8 bytes
at com.ibm.crypto.provider.DESedeCipher.a(Unknown Source)
at com.ibm.crypto.provider.DESedeCipher.engineDoFinal(Unknown Source)
at com.ibm.crypto.provider.DESedeCipher.engineDoFinal(Unknown Source)
at javax.crypto.Cipher.doFinal(Unknown Source)
at com.sterlingcommerce.woodstock.services.cmdline2.Cmdline2SecurityUtil.decryptPassphrase(Cmdline2SecurityUtil.java:192)
at com.sterlingcommerce.woodstock.services.cmdline2.Cmdline2SecurityUtil.decryptPassword(Cmdline2SecurityUtil.java:157)
at com.sterlingcommerce.woodstock.services.cmdline2.CmdLine2RemoteImpl.loadKeystore(CmdLine2RemoteImpl.java:436)
at com.sterlingcommerce.woodstock.services.cmdline2.CmdLine2RemoteImpl.run(CmdLine2RemoteImpl.java:602)
at com.sterlingcommerce.woodstock.services.cmdline2.CmdLine2RemoteImpl.main(CmdLine2RemoteImpl.java:754)
java.lang.NullPointerException
at com.sterlingcommerce.woodstock.services.cmdline2.CmdLine2RemoteImpl.loadKeystore(CmdLine2RemoteImpl.java:448)
at com.sterlingcommerce.woodstock.services.cmdline2.CmdLine2RemoteImpl.run(CmdLine2RemoteImpl.java:602)
at com.sterlingcommerce.woodstock.services.cmdline2.CmdLine2RemoteImpl.main(CmdLine2RemoteImpl.java:754)

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Adapters","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"5.2.6;5.2.5;5.2.4.2","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM Sterling B2B Integrator

Software version:
5.2.6, 5.2.5, 5.2.4.2

Operating system(s):
AIX, HP-UX, Linux, Solaris, Windows

Document number:
273739

Modified date:
02 December 2019

UID

swg21972332

Manage My Notification Subscriptions