IBM Support

JR42809: CMVC 222353 - RESOLVE A CONCURRENTMODIFICATIONEXCEPTION SEEN IN THE MARKETING TRIGGER HANDLER.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Web activities or dialog activities are set up in Management
    Center that detect or record customer events. In the logs, the
    following exception is seen:
    
    [5/9/12 11:56:19:134 CDT] 000006d2 bod           1
    com.ibm.commerce.foundation.server.command.bod.BusinessObjectDoc
    umentProcessor
    processBusinessObjectDocument(BusinessObjectDocumentType,
    String) catch throwable
                                     Current exception:
    Message:
       null
    ...
    Caused by: java.util.ConcurrentModificationException
     at
    java.util.HashMap$AbstractMapIterator.checkConcurrentMod(HashMap
    .java:122)
     at
    java.util.HashMap$AbstractMapIterator.makeNext(HashMap.java:127)
     at java.util.HashMap$KeyIterator.next(HashMap.java:200)
     at
    com.ibm.commerce.marketing.runtime.engine.TriggerHandler.forward
    Triggers(TriggerHandler.java:1385)
     at
    com.ibm.commerce.marketing.runtime.engine.TriggerHandler.raiseTr
    igger(TriggerHandler.java:1057)
     at
    com.ibm.commerce.marketing.facade.server.commands.ProcessMarketi
    ngTriggerRecordActionCmdImpl.performExecute(ProcessMarketingTrig
    gerRecordActionCmdImpl.java:68)
     at
    com.ibm.commerce.foundation.internal.server.command.impl.Command
    Target.executeCommand(CommandTarget.java:66)
    
    
    On enabling the trace com.ibm.commerce.marketing.*=all, the
    following message is logged in the trace right before the
    exception:
    
    'com.ibm.commerce.marketing.runtime.engine.TriggerHandler
    forwardTriggers Do not record for activityId=XYZ
    elementId=12345'
    
    This error will only occur if there are any active activities
    for which the start date has not been reached, or the end date
    has passed.
    

Local fix

Problem summary

  • USERS AFFECTED:
    Commerce V7 users using web or dialog activities.
    
    PROBLEM ABSTRACT:
    Marketing dialog activities may cause
    ConcurrentModificationException to appear in the logs. Customers
    are not participating in dialog activities in which the trigger
    conditions have been met, or web activity targets are not
    evaluating correctly when the target conditions have been met.
    
    BUSINESS IMPACT:
    Web or dialog activities are not functioning as expected.
    
    RECOMMENDATION:
    

Problem conclusion

  • The marketing engine code needs to ignore events that are
    associated with activities for which the start date has not been
    reached, or the end date has passed.  The code was fixed to
    correctly remove these events and not cause a
    ConcurrentModificationException.
    
    -------------------------------------------------------------
    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

    JR42809

  • 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-05-11

  • Closed date

    2012-08-28

  • Last modified date

    2012-08-28

  • 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