IBM Support

JR45450: CMVC 226422 - PREVENT UPDATEDB FAILURE IF STAGLOG TABLE'S STGRFNBR COLUMN'S LARGEST VALUE IS ABOVE SIGNED 32-BIT INT MAX

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When applying a fixpack update on a Staging environment,
    updatedb may fail with an error in the updatedb.log file that
    looks similar to the following:
    
    ...
    [StagingCheck] SELECT stgrfnbr FROM staglog WHERE stgop='I' AND
    stgtable=? ORDER BY stgrfnbr ASC, ?=WCS_Fixpack
    
    BUILD FAILED
    /apps/websphere/wcs70/components/Fixpack/xml/configureDatabaseFi
    xpack.xml:279: The following error occurred while executing this
    line:
    /apps/websphere/wcs70/components/Fixpack/xml/configureDatabaseFi
    xpack.xml:362: The following error occurred while executing this
    line:
    /apps/websphere/wcs70/components/Fixpack/xml/Fixpack<fixpack-num
    ber>.xml:<line-number>: java.sql.SQLException: Numeric Overflow
    ...
    
    This can occur if the largest available value in the STGRFNBR
    column of the STAGLOG table is at or above the maximum value of
    a signed 32-bit integer.
    

Local fix

  • Locate the record in the STAGLOG table that has STGTABLE column
    value equal to 'WCS_Fixpack' and update the STGRFNBR column
    value of the record to an unused value that is smaller than or
    equal to the max value of a signed 32-bit int. Run updatedb
    again.
    

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce users on v7.0 who use Staging environments
    and have had at least 2147483647 (max of signed 32-bit int)
    records in the STAGLOG table
    
    PROBLEM ABSTRACT:
    An updatedb failure will occur if the STAGLOG table's STGRFNBR
    column's largest value is above the maximum value for a signed
    32-bit int value.
    
    BUSINESS IMPACT:
    Fixpack update cannot be completed
    
    RECOMMENDATION:
    

Problem conclusion

  • Underlying ANT task that performs checks against the STAGLOG
    table has been updated to use a signed 64-bit int for storage
    and Java API invocations have been updated for fetch of 64-bit
    signed int
    -------------------------------------------------------------
    The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
    http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR45450

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-17

  • Closed date

    2013-03-04

  • Last modified date

    2013-03-04

  • 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

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
04 March 2013