IBM Support

JR44499: CMVC 224622 - TO FIX THE INVENTORY CACHE EXPIRY PROBLEM CAUSED BY THE INT OVERFLOW OF COMPOSEDOMINVENTORYAVAILABILITYCMDIMPL

Direct link to fix

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the customer changes the store default inventory cache
    expiration to above or below the threshold, for example, to
    every 30 days( 2925000 seconds),  the configuration won't be
    respected. Instead, every cache item expires instantly no matter
    what the last update time is.
    
    This is because in the ComposeDOMInventoryAvailabilityCmdImpl,
    there is an int overflow problem. If we set for expiration
    threshold more than 2147483647 ms (around 24.85 days), the cache
    will expire instantly.
    

Local fix

  • The customer can set the expiration threshold to less than
    2147483647 ms(around 24.85 days).
    

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce users on v7.0 who use the inventory cache
    expiration.
    
    PROBLEM ABSTRACT:
    The inventory cache expiry threshold not working as expected due
    to int overflow.
    
    BUSINESS IMPACT:
    The cache mechanism is not working as expected and will impact
    the performance.
    
    RECOMMENDATION:
    

Problem conclusion

  • The code change will fix the int overflow issue so that the
    inventory cache expiry threshold will work properly.
    The change is made to
    com.ibm.commerce.inventory.facade.server.commands.ComposeDOMInve
    ntoryAvailabilityCmdImpl, change
          private static final int THOUSAND = 1000;
         to
          private static final long THOUSAND = 1000;
    -------------------------------------------------------------
    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

    JR44499

  • Reported component name

    WC BUS DEV ED W

  • Reported component ID

    5724I3900

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-24

  • Closed date

    2013-01-09

  • Last modified date

    2013-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

    WC BUS DEV ED W

  • Fixed component ID

    5724I3900

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSYT2H","label":"WebSphere Commerce Developer Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
07 December 2021