IBM Support

JR33585: THE AWK UTILITY IN THE DB2PROFILE SCRIPT IS CAUSING JVM CRASH.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • On Solaris Operating Environments the JVM crashes.
    
    The awk utility in the db2profile script does not work correctly
    with very long strings. If the CLASSPATH environment variable
    has a value that exceeds 2560 characters then the resulting
    CLASSPATH variable gets truncated and the JVM crashes.
    

Local fix

  • On Solaris Operating Environments edit db2profile and replace
    "awk" with "nawk" - a newer awk compatible utility.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Solaris                                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * On Solaris Operating Environments the JVM crashes.           *
    *                                                              *
    * The awk utility in the db2profile script does not work       *
    * correctly with very long strings. If the CLASSPATH           *
    * environment variable has a value that exceeds 2560           *
    * characters then the resulting CLASSPATH variable gets        *
    * truncated and the JVM crashes.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 9.5 Fix Pack 5.                       *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in Version 9.5 Fix Pack 5.
    

Temporary fix

  • On Solaris Operating Environments edit db2profile and replace
    "awk" with "nawk" - a newer awk compatible utility.
    

Comments

APAR Information

  • APAR number

    JR33585

  • Reported component name

    DB2 CUE WINDOWS

  • Reported component ID

    5724B6201

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-07-06

  • Closed date

    2010-01-25

  • Last modified date

    2010-01-25

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

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

    JR34477 IC63917

Fix information

  • Fixed component name

    DB2 CUE WINDOWS

  • Fixed component ID

    5724B6201

Applicable component levels

  • R950 PSN

       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":"950","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 October 2021