IBM Support

IZ03246: Tools catalog creation fails with SQL22209, because of the misma tched/missing JDK library under /usr/lib directory.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • This problem occurs in two scenarios
    1) The JDK library which is available under the /usr/lib is
    differing in level, then the one which is configured in admin
    server configuration parameters.
    For example,
    /usr/lib contains link to JDK1.3
    JDK_PATH/JDK_64_PATH points to JDK1.4
    2) There is no link to JDK library under /usr/lib
    In both the cases DAS will not find the relevant library and
    fails with SQL22209.
    Tools database can not be created with out this fix or the
    workaround in place.
    This error can be confirmed via receiving the following error:
    SQL22209N The DB2 Administration Server encountered an
    unexpected Java error on host "<hostname>".
    

Local fix

  • Create the soft link for the correct library under the /usr/lib
    directory.
    Consider the following path is configured in admin JDK
    parameters
    JDK_PATH=/home/dasusr/das/java/jdk
    Then the command which creates the soft link is
    ln -s /home/dasusr/das/java/jdk/jre/lib/<Platform specific
    directory>/libmlib_image.so /usr/lib/<platform specific
    directory>/libmlib_image.so
    For example
    ln -s /home/dasusr/das/java/jdk/jre/lib/IA64W/libmlib_image.so
    /usr/lib/hpux64/libmlib_image.so
    After doing this step, DAS needs to be restarted.
    

Problem summary

  • Users Affected:
    All new installations requiring tools catalog
    
    Problem Description:
    Tools catalog creation will fail with SQL22209 due to mismatched
    or missing JDK library under /usr/lib directory.
    
    Problem Summary:
    Creation of the TOOLS CATALOG fails in two
    scenarios:
    1) The JDK library which is available under the /usr/lib is
    differing in level, then the one which is configured in admin
    server configuration parameters.
    For example,
    /usr/lib contains link to JDK1.3
    JDK_PATH/JDK_64_PATH points to JDK1.4
    
    2) There is no link to JDK library under /usr/lib
    
    In both the cases DAS will not find the relevant library and
    fails with SQL22209.
    

Problem conclusion

  • Problem was first fixed in V9 Fixpak 4 (s071028).
    

Temporary fix

  • Create the soft link for the correct library under the /usr/lib
    directory.
    
    Consider the following path is configured in admin JDK
    parameters
    JDK_PATH=/home/dasusr/das/java/jdk
    
    Then the command which creates the soft link is
    ln -s /home/dasusr/das/java/jdk/jre/lib/<Platform specific
    directory>/libmlib_image.so /usr/lib/<platform specific
    directory>/libmlib_image.so
    
    For example
    ln -s /home/dasusr/das/java/jdk/jre/lib/IA64W/libmlib_image.so
    /usr/lib/hpux64/libmlib_image.so
    
    After doing this step, DAS needs to be restarted.
    

Comments

APAR Information

  • APAR number

    IZ03246

  • Reported component name

    DB2 UDB ESE HP-

  • Reported component ID

    5765F4103

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-08-17

  • Closed date

    2008-01-09

  • Last modified date

    2008-01-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

    DB2 UDB ESE HP-

  • Fixed component ID

    5765F4103

Applicable component levels

  • R910 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
07 January 2022