IBM Support

IJ32291: LIBNGJAVA NOT EXPANDING THE ENVIRONMENT VARIABLES

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

  • The following is in the props file:
    
    ConfigKeyFile
    '$OMNIHOME/etc/passwdkey.key' not found.
    
    However, the
    $OMNIHOME variable isn't being expanded so the file is not
    found.
    

Local fix

  • The workaround is to specify the full path to the file
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users who deploy gateways eg. JDBC Gateway, XML Gateway that *
    * uses the libngjava library module.                           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If the user defines an environment variable for the property *
    * value, the environment variable is not expanded and used as  *
    * it is. This causes error in the gateway application.         *
    *                                                              *
    * Example:                                                     *
    * # echo $LIBNGJAVA_TESTING                                    *
    * /root                                                        *
    *                                                              *
    * 2021-12-13T00:02:03: Error: E-GJA-000-000: [ngjava]: G_JDBC: *
    * Thread-5: In logException                                    *
    * 2021-12-13T00:02:03: Error: E-GJA-000-000: [ngjava]: G_JDBC: *
    * Thread-5: GWJdbcCryptoModule: Key file                       *
    * '$LIBNGJAVA_TESTING/aesfips.key' not found.                  *
    * 2021-12-13T00:02:03: Error: E-GJA-000-000: [ngjava]: G_JDBC: *
    * Thread-5: java.sql.SQLException: GWJdbcCryptoModule: Key     *
    * file '$LIBNGJAVA_TESTING/aesfips.key' not found.             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Install omnibus-gateway-libngjava-1.9.1.1.zip                *
    *                                                              *
    * Workaround is to specify the full path in the property       *
    * value.                                                       *
    ****************************************************************
    

Problem conclusion

  • With the fix installed:
    2021-12-13T00:34:26: Debug: D-GJA-000-000: [ngjava]: G_JDBC:
    Thread-5: Property ConfigCryptoAlg: AES_FIPS
    2021-12-13T00:34:26: Debug: D-GJA-000-000: [ngjava]: G_JDBC:
    Thread-5: Property ConfigKeyFile: /root/aesfips.key
    2021-12-13T00:34:27: Information: I-GJA-000-000: [ngjava]:
    G_JDBC: Thread-5: Decryption module is enabled for configuration
    processing.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ32291

  • Reported component name

    CLARIFY GATEWAY

  • Reported component ID

    5724O73GC

  • Reported release

    100

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-04-23

  • Closed date

    2022-05-09

  • Last modified date

    2022-05-09

  • 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

    CLARIFY GATEWAY

  • Fixed component ID

    5724O73GC

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSSHTQ","label":"Tivoli Netcool\/OMNIbus"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"100"}]

Document Information

Modified date:
10 May 2022