IBM Support

PI10877: MESSAGES ARE NOT CONSUMED AFTER RESTART OF MESSAGING ENGINE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In WebSphere Application Server V8.5, messages are not
    getting consumed from a queue after the messaging engine is
    restartd. Also the following can be observed:
    
    - Before messaging engine restart, messages are getting
    consumed without any issues.
    - This problem cannot be reproduced every time during
    messaging engine restart.
    - When heavy WebSphere Application Server tracing is enabled
    the problem does not occur.
    
    Also the following NullPointerException may be present in an
    FFDC file:
    
    java.lang.NullPointerException
    at
    com.ibm.ws.sib.processor.impl.MessageProcessor.getMessagingEn
    gineUuid(MessageProcessor.java:2960)
    at
    com.ibm.ws.sib.processor.impl.ConnectionImpl.getMeUuid(Connec
    tionImpl.java:3951)
    at
    com.ibm.ws.sib.ra.inbound.impl.SibRaCommonEndpointActivation.
    dropConnection(SibRaCommonEndpointActivation.java:1384)
    at
    com.ibm.ws.sib.ra.inbound.impl.SibRaCommonEndpointActivation.mes
    sagingEngineQuiescing(SibRaCommonEndpointActivation.java:1282)
    at
    com.ibm.ws.sib.ra.inbound.impl.SibRaMessagingEngineConnection
    $SibRaConnectionEventThread.executeCallback(SibRaMessagingEngine
    Connection.java:1527)
    ..
    ..
    

Local fix

  • Enabling a heavy WAS trace prevents the problem from occuring.
    For example, this trace worked for one customer:
    *=info:SIBJmsRa*:SIBProcessor=all:WAS.j2c=all:RRA=all:Transactio
    n=all:SIBMessageStore=all
    
    This workaround might not work for all environments.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of the default messaging provider     *
    *                  for IBM WebSphere Application Server V8.5   *
    ****************************************************************
    * PROBLEM DESCRIPTION: Messages are not getting consumed       *
    *                      after messaging engine (ME) restart.    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Messages are not getting consumed after ME restart. Customer
    cannot recreate the problem with tracing enabled. This is
    because of a NullPointerException (NPE) which is caused by a
    timing issue between two threads.
    Thread1 -> Removes ME UUID from all the SIBRa endpoint
    listeners (consumers) listening for the destinations under the
    ME.
    Thread2 -> Stops the ME.
    Thread2 stops the ME and resets the message stopre object to
    "Null" before Thread1 completes. Later Thread1 uses the
    message store object, which causes the NPE.
    

Problem conclusion

Temporary fix

  • This timing issue may disappeare after ME restart especially
    with tracing enabled.
    

Comments

APAR Information

  • APAR number

    PI10877

  • Reported component name

    WAS SIB & SIBWS

  • Reported component ID

    620800101

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-02-03

  • Closed date

    2014-05-16

  • Last modified date

    2014-05-16

  • 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

    WAS SIB & SIBWS

  • Fixed component ID

    620800101

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022