IBM Support

IT34067: ALERT SERVICE FAILING WITH ERROR, FAILED TO ALERT EVENT

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The Alert Service process is now failing with the following
    error in the Alert Service step status report:
    ERROR: Failed to
    alert event for WorkFlow id: 294844 Message: Failed to load
    workflow data for id: 294844
    [2020-08-10 18:10:06.207] ERROR
    [AlertService:processException] Failed to alert event for
    WorkFlow id: 294844 Message: Failed to load workflow data for
    id: 294844.[2020-08-10 18:10:06.207] ERROR [1597047006207]
    Failed to load workflow data for id: 294844.[2020-08-10
    18:10:06.207] ERRORDTL [1597047006207][Message]: Failed to load
    workflow data for id: 294844.[Additional StackTrace]:
    java.lang.ClassCastException: java.lang.Long cannot be cast to
    java.lang.Integer at com.sterlingcommerce.woodstock.alert.impl.P
    rocessLauncherAlerter.buildOperationElement(ProcessLauncherAlert
    er.java:346) at com.sterlingcommerce.woodstock.alert.impl.Proces
    sLauncherAlerter.wfString(ProcessLauncherAlerter.java:291) at co
    m.sterlingcommerce.woodstock.alert.impl.ProcessLauncherAlerter.b
    uildDocBody(ProcessLauncherAlerter.java:230) at com.sterlingcomm
    erce.woodstock.alert.impl.ProcessLauncherAlerter.report(ProcessL
    auncherAlerter.java:137) at com.sterlingcommerce.woodstock.alert
    .impl.AlerterBase.alert(AlerterBase.java:191) at com.sterlingcom
    merce.woodstock.alert.MainAlerter.alert(MainAlerter.java:97) at
    com.sterlingcommerce.woodstock.services.alert.AlertService.proce
    ssData(AlertService.java:390) at com.sterlingcommerce.woodstock.
    workflow.activity.engine.ActivityEngineHelper.invokeService(Acti
    vityEngineHelper.java:1826) at com.sterlingcommerce.woodstock.wo
    rkflow.activity.engine.ActivityEngineHelper.nextMainLogic(Activi
    tyEngineHelper.java:631) at com.sterlingcommerce.woodstock.workf
    low.activity.engine.ActivityEngineHelper.next(ActivityEngineHelp
    er.java:362) at com.sterlingcommerce.woodstock.workflow.queue.Wo
    rkFlowQueueListener.doWork(WorkFlowQueueListener.java:459) at co
    m.sterlingcommerce.woodstock.workflow.queue.WorkFlowQueueListene
    r.run(WorkFlowQueueListener.java:240) at com.sterlingcommerce.wo
    odstock.workflow.queue.WorkFlowQueueListener.onMessage(WorkFlowQ
    ueueListener.java:197) at com.sterlingcommerce.woodstock.workflo
    w.queue.WorkFlowQueueListener.onMessage(WorkFlowQueueListener.ja
    va:184) at com.sterlingcommerce.woodstock.workflow.queue.wfTrans
    porter.run(wfTransporter.java:447) at com.sterlingcommerce.woods
    tock.workflow.queue.BasicExecutor$Worker.run(BasicExecutor.java:
    508) at java.lang.Thread.run(Thread.java:745)[Local StackTrace]:
    com.sterlingcommerce.woodstock.alert.AlerterException: Failed
    to load workflow data for id: 294844. at com.sterlingcommerce.wo
    odstock.alert.impl.ProcessLauncherAlerter.buildDocBody(ProcessLa
    uncherAlerter.java:234) at com.sterlingcommerce.woodstock.alert.
    impl.ProcessLauncherAlerter.report(ProcessLauncherAlerter.java:1
    37) at com.sterlingcommerce.woodstock.alert.impl.AlerterBase.ale
    rt(AlerterBase.java:191) at com.sterlingcommerce.woodstock.alert
    .MainAlerter.alert(MainAlerter.java:97) at com.sterlingcommerce.
    woodstock.services.alert.AlertService.processData(AlertService.j
    ava:390) at com.sterlingcommerce.woodstock.workflow.activity.eng
    ine.ActivityEngineHelper.invokeService(ActivityEngineHelper.java
    :1826) at com.sterlingcommerce.woodstock.workflow.activity.engin
    e.ActivityEngineHelper.nextMainLogic(ActivityEngineHelper.java:6
    31) at com.sterlingcommerce.woodstock.workflow.activity.engine.A
    ctivityEngineHelper.next(ActivityEngineHelper.java:362) at com.s
    terlingcommerce.woodstock.workflow.queue.WorkFlowQueueListener.d
    oWork(WorkFlowQueueListener.java:459) at com.sterlingcommerce.wo
    odstock.workflow.queue.WorkFlowQueueListener.run(WorkFlowQueueLi
    stener.java:240) at com.sterlingcommerce.woodstock.workflow.queu
    e.WorkFlowQueueListener.onMessage(WorkFlowQueueListener.java:197
    ) at com.sterlingcommerce.woodstock.workflow.queue.WorkFlowQueue
    Listener.onMessage(WorkFlowQueueListener.java:184) at com.sterli
    ngcommerce.woodstock.workflow.queue.wfTransporter.run(wfTranspor
    ter.java:447) at com.sterlingcommerce.woodstock.workflow.queue.B
    asicExecutor$Worker.run(BasicExecutor.java:508) at
    java.lang.Thread.run(Thread.java:745)
    

Local fix

  • STRRTC - L3REQ-1619
    JN / JN
    Circumvention: None / workaround
    

Problem summary

  • Users Affected:
    
    All
    
    
    
    Problem Description:
    
    
    
    Alert service failing with error, Failed to alert event.
    
    All
    

Problem conclusion

  • Resolution Summary:
    A code fix is provided.
    Fix has been made to such that even if the workflow IDs are 5
    digits, Alert service will be working as expected.
    
    
    
    Delivered in:
    
    5020603_16
    5020605_4
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT34067

  • Reported component name

    STR B2B INTEGRA

  • Reported component ID

    5725D0600

  • Reported release

    526

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-09-01

  • Closed date

    2021-04-08

  • Last modified date

    2021-05-21

  • 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

    STR B2B INTEGRA

  • Fixed component ID

    5725D0600

Applicable component levels

[{"Line of Business":{"code":"LOB02","label":"AI Applications"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.6"}]

Document Information

Modified date:
22 May 2021