IBM Support

JR41187: CMVC 215800 - OPTIMISTICLOCKINGSELECTFORUPDATE FLAG ON INVENTORY SET TO DISABLED CAUSES WRONG EXECUTION PATH.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Setting the OptimisticLockingSelectForUpdate flag on INVENTORY
    table as disabled leads to incorrect code path execution. This
    causes an ObjectNotFoundException exception when looking for
    inventory.
    
    CommerceSrvr  E
    com.ibm.commerce.fulfillment.commands.InventoryBaseCmdImpl
    handleOrderItemInventory(OrderItemAccessBean) CMN0411E: The
    following finder exception has occurred during processing:
    "{0}". javax.ejb.ObjectNotFoundException:
    catalogEntryId=500557736 fulfillmentCenterId=301 storeId=301
    
    This exception happens before the inventory is found, therefore
    an order cannot be processed successfully.
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce users on v7.0 who set the
    OptimisticLockingSelectForUpdate flag on INVENTORY table as
    disabled
    
    PROBLEM ABSTRACT:
    Configure the OptimisticLockingSelectForUpdate flag on INVENTORY
    table as disabled leads to incorrect code path
    
    BUSINESS IMPACT:
    Customers encounter incorrect code path execution when they set
    the OptimisticLockingSelectForUpdate flag on INVENTORY table as
    disabled and run into errors which prevents them from placing an
    order.
    
    RECOMMENDATION:
    

Problem conclusion

  • This APAR updates the code flow so that the
    ObjectNotFoundException is thrown at the correct point
    
    -------------------------------------------------------------
    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

    JR41187

  • 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

    2011-11-11

  • Closed date

    2011-11-30

  • Last modified date

    2011-11-30

  • 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:
30 November 2011