APAR status
Closed as documentation error.
Error description
When running BAQLS2JS utility with Java 11 or above, the following error is reported: BAQU0007I: Invoking CICS JSON assistant utility program DFHLS2JS. Exception in thread "main" java.lang.NoClassDefFoundError: javax.activation.DataHandler at java.base/java.lang.ClassLoader.defineClassInternal (ClassLoader.java:472) at java.base/java.lang.ClassLoader.defineClass (ClassLoader.java:433) at java.base/java.security.SecureClassLoader.defineClass (SecureClassLoader.java:150) ... Additional search words: BAQU0007I msgBAQU0007I BAQU0007 msgBAQU0007
Local fix
BAQLS2JS utility works with Java 8.
Problem summary
**************************************************************** * USERS AFFECTED: All users of the z/OS Connect V3.0 * * BAQLS2JS or BAQJS2LS (OpenAPI 2) scripts * * with Java 11 or 17. * **************************************************************** * PROBLEM DESCRIPTION: java.lang.NoClassDefFoundError for * * javax classes when running BAQLS2JS * * utility with Java 11 or 17. * **************************************************************** When running the BAQLS2JS or BAQJS2LS scripts with either Java 11 or 17, the following error is reported: BAQU0007I: Invoking CICS JSON assistant utility program <prog> Exception in thread "main" java.lang.NoClassDefFoundError: javax.activation.DataHandler
Problem conclusion
The "Creating bind and schema files" and "Conversion for IBM z/OS Connect zosConnect-2.0 data transformation" sections of the z/OS Connect documentation have been updated to include the following text: The BAQLS2JS and BAQJS2LS utilities are only supported by Java 8.
Temporary fix
Comments
APAR Information
APAR number
PH65145
Reported component name
Z/OS CONNECT EE
Reported component ID
5655CE300
Reported release
000
Status
CLOSED DOC
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2025-02-06
Closed date
2025-04-30
Last modified date
2025-04-30
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Applicable component levels
[{"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SSVVFY","label":"z\/OS Connect Enterprise Edition"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"000"}]
Document Information
Modified date:
30 April 2025