IBM Support

IJ48894: SYSTEM.LOAD() UNABLE TO LOAD MVS DATASET MODULE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.UnsatisfiedLinkError exception with an
    unexpected error message - Not an absolute path: JNIDEMO is
    received.
    .
    Stack Trace: N/A
    .
    

Local fix

  • Here follows workaround instructions for loading a dataset
    module from Java.
    These instructions use the example dataset name "JNIDEMO" and
    filename "libjniDemo.so", please replace these.
    
    1. Create an external link in a USS directory that points to
    JNIDEMO with a name that has the prefix "lib" and postfix ".so"
    For example, ln -e JNIDEMO libjniDemo.so
    2. Include the path of that USS directory in java.library.path
    or LIBPATH.
    3. Make sure that the JNIDEMO module is in a PDS/E that is
    either in the STEPLIB of the Java process or that it's in
    LINKLIST.
    4. Change the System.load(JNIDEMO) Java code to
    System.loadLibrary("jniDemo"). System.loadLibrary() will prefix
    "lib" to the given library name and append ".so" automatically.
    

Problem summary

  • The implementations of System.load() and loadLibrary() APIs
    failed to accept z/OS load modules within MVS datasets,
    resulting in a potential java/lang/UnsatisfiedLinkError error
    being thrown.
    

Problem conclusion

  • The error checking and handling of filepaths/module-names have
    been updated to correctly parse z/OS load modules.
    .
    This APAR will be fixed in the following Releases:
    .
    IBM Semeru Runtimes
       17              17.0.9.0
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    maintenance can be found at:
               https://www.ibm.com/support/pages/java-sdk
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ48894

  • Reported component name

    OPENJDK CLASS L

  • Reported component ID

    621800100

  • Reported release

    H00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-10-13

  • Closed date

    2023-10-27

  • Last modified date

    2023-10-27

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    OPENJDK CLASS L

  • Fixed component ID

    621800100

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
28 October 2023