IBM Support

IV37380: IMPROVE AIX NATIVE LIBRARY LOADING ERROR MESSAGE.

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: The error message reported when JVM fails to load
    a file with .so extension is less descriptive, such as:
    Exception in thread "main" java.lang.UnsatisfiedLinkError:
    ClientGatewayMain (A file or directory in the path name does not
    exist.)
    Whereas the error message when JVM fails to load a file with .a
    extension is much more accurate and helpful, such as:
    Exception in thread "main" java.lang.UnsatisfiedLinkError:
    ClientGatewayMain (  0509-022 Cannot load module
    ./libClientGatewayMain.a.
    0509-150 Dependent module libACE.so could not be loaded.
    0509-022 Cannot load module libACE.so.
    0509-026 System error: A file or directory in the path name does
    not exist.
    0509-022 Cannot load module ./libClientGatewayMain.a.
    0509-150 Dependent module ./libClientGatewayMain.a could not be
    loaded.)
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • Currently there is a difference between the error messages
    reported, when JVM fails to load a .so version of a library and
    a .a version of the same library. If the file has .a extension
    then the error message is much more accurate and helpful
    compared to when the file has .so extension.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR14
    6.0.1 SR6
    7.0.0 SR5
    .
    The JVM has been updated to report a better error description,
    which will help customers to identify why JVM failed to load a
    certain native library on AIX. Following is the error reported
    when JVM fails to load a library with .so extension because it
    is not able to find a dependent module:
    JVMJ9TI001E Agent library agent could not be opened (   0509-022
    Cannot load module ./libagent.so.
            0509-150   Dependent module dummy.exp could not be
    loaded.
            0509-022 Cannot load module dummy.exp.
            0509-026 System error: A file or directory in the path
    name does not exist.
            0509-022 Cannot load module ./libagent.so.
            0509-150   Dependent module ./libagent.so could not be
    loaded.)
    JVMJ9VM015W Initialization error for library j9jvmti27(-3):
    JVMJ9VM009E J9VMDllMain failed
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV37380

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-02-28

  • Closed date

    2013-03-04

  • Last modified date

    2013-06-10

  • 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

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R600 PSY

       UP

  • R260 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3W","label":"Virtual Machine"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
10 June 2013