IBM Support

Exception in javax.crypto.Cipher.getInstance with Blowfish Decryption

Troubleshooting


Problem

The user may get a runtime exception thrown during the Blowfish Decryption process. This issue is only happening using WebSphere Transformation Extender (WTX) version 8.4 on the UNIX platform.

Symptom

Exception in thread "main" java.lang.ExceptionInInitializerError
at javax.crypto.Cipher.getInstance(Unknown Source)

Cause

Bad JAR files in WTX installation Folder \ java \ lib \ security:

local_policy.jar 4,2
US_export_policy.jar

Environment

Unix

Diagnosing The Problem

Review the Java adapter trace and the JNI Layer trace for details of the exception above.

Resolving The Problem

Copy the same JAR files from the Windows platform (Design Studio installation) appears to resolve the issue. Newer installations of the JRE already have this issue resolved.

[{"Product":{"code":"SSVSD8","label":"IBM Transformation Extender"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Java Adapter","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"8.4;8.4.0.0;8.4.0.1;8.4.0.2;8.4.0.3;8.4.0.4","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

More support for:
IBM Transformation Extender

Software version:
8.4, 8.4.0.0, 8.4.0.1, 8.4.0.2, 8.4.0.3, 8.4.0.4

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

Document number:
503275

Modified date:
29 September 2018

UID

swg21657222