IBM Support

PI18320: NULLPOINTEREXCEPTION WHEN SERVICE INTEGRATION BUS MESSAGING ENGINE IS DISABLED AND ENABLED,RESULTING IN CWSIP0785W

Fixes are available

8.5.5.4: WebSphere Application Server V8.5.5 Fix Pack 4
PI18320;8.5.5: nullpointerexception when service integration bus messaging engin
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
8.5.5.5: WebSphere Application Server V8.5.5 Fix Pack 5
8.5.5.6: WebSphere Application Server V8.5.5 Fix Pack 6
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
7.0.0.39: WebSphere Application Server V7.0 Fix Pack 39
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
7.0.0.41: WebSphere Application Server V7.0 Fix Pack 41
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
7.0.0.43: WebSphere Application Server V7.0 Fix Pack 43
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
7.0.0.45: WebSphere Application Server V7.0 Fix Pack 45
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
7.0.0.45: Java SDK 1.6 SR16 FP60 Cumulative Fix for WebSphere Application Server
7.0.0.39: Java SDK 1.6 SR16 FP7 Cumulative Fix for WebSphere Application Server
7.0.0.41: Java SDK 1.6 SR16 FP20 Cumulative Fix for WebSphere Application Server
7.0.0.43: Java SDK 1.6 SR16 FP41 Cumulative Fix for WebSphere Application Server
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
8.5.5.20: WebSphere Application Server V8.5.5.20
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
8.5.5.21: WebSphere Application Server V8.5.5.21

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In WebSphere Application Server v8.5.5, Service Integration Bus
    messaging engine is stopped and restarted after a temporary
    database connection loss. After the messaging engine is
    restarted,
    CWSIP0785W messages are logged in the SystemOut.log and no
    messages get processed until the JVMs hosting the messaging
    engines are restarted.
    
    Following messages are logged in the SystemOut.log:
    
    J2CA0056I: The Connection Manager received a fatal connection
    error from the Resource Adapter for resource jdbc/AAA. The
    exception is: com.microsoft.sqlserver.jdbc.SQLServerException:
    Read timed out
    
    CWSIP0785W:A message held on messaging engine XXX for
    transmission to a  remote destination or foreign bus
    _PSIMP.PROXY.QUEUE_F8E54DF5681F6276 has remained in committing
    state for 151,860 seconds under transaction NULL. Further
    messages may not flow until this transaction completes
    
    Following FFDCS are produced during the messaging engine
    startup:
    
    FFDC
    Exception:com.ibm.ws.sib.processor.impl.exceptions.InvalidMessag
    e
    Exception
    SourceId:com.ibm.ws.sib.processor.gd.SourceStream.BlockedStream
    Alarm.checkState ProbeId:1:1683:1.139
    Reporter:com.ibm.ws.sib.processor.gd.SourceStream$BlockedStream
    Alarm@d576ccf0
    com.ibm.ws.sib.processor.impl.exceptions.InvalidMessageException
    at
    com.ibm.ws.sib.processor.gd.SourceStream$BlockedStreamAlarm.
    checkState(SourceStream.java:1678)
    at
    com.ibm.ws.sib.processor.gd.SourceStream$BlockedStreamAlarm.
    alarm(SourceStream.java:1751)
    at
    com.ibm.ws.sib.processor.utils.am.MPAlarmManager.fireInternal
    Alarm(MPAlarmManager.java:551)
    at
    com.ibm.ws.sib.processor.utils.am.MPAlarmThread.run(MPAlarm
    Thread.java:217)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
    
    FFDC
    Exception:java.lang.NullPointerException
    SourceId:com.ibm.ws.sib.msgstore.transactions.MSDelegatingLocal
    Transaction.commit ProbeId:1:477:1.51.1.14
    Reporter:com.ibm.ws.sib.msgstore.transactions.MSDelegatingLocal
    TransactionSynchronization@677a79a2
    java.lang.NullPointerException
    at
    com.ibm.ws.sib.trm.topology.TopologyManager.listConns(Topology
    Manager.java:460)
    at
    com.ibm.ws.sib.trm.topology.RoutingManagerImpl.listConnections
    (RoutingManagerImpl.java:85)
    at
    com.ibm.ws.sib.processor.io.MPIO.findMPConnection(MPIO.java:366)
    at
    com.ibm.ws.sib.processor.io.MPIO.sendToMe(MPIO.java:540)
    at
    com.ibm.ws.sib.processor.impl.PtoPOutputHandler.eventPostAdd
    (PtoPOutputHandler.java:1516)
    at
    com.ibm.ws.sib.processor.impl.PtoPOutputHandler.messageEvent
    Occurred(PtoPOutputHandler.java:1263)
    at
    com.ibm.ws.sib.processor.impl.store.items.MessageItem.event
    PostCommitAdd(MessageItem.java:1301)
    at
    com.ibm.ws.sib.msgstore.task.AddTask.postCommit(AddTask.
    java:425)
    at
    com.ibm.ws.sib.msgstore.task.TaskList.postComplete(TaskList.
    java:434)
    at
    com.ibm.ws.sib.msgstore.transactions.MSDelegatingLocal
    Transaction.commit(MSDelegatingLocalTransaction.java:466)
    at
    com.ibm.ws.sib.processor.proxyhandler.Neighbours.resetBus
    SubscriptionList(Neighbours.java:1793)
    at
    com.ibm.ws.sib.processor.proxyhandler.MultiMEProxyHandler.
    initalised(MultiMEProxyHandler.java:221)
    at
    com.ibm.ws.sib.processor.impl.MessageProcessor.startInternal
    (MessageProcessor.java:1690)
    at
    com.ibm.ws.sib.processor.impl.MessageProcessor.start(Message
    Processor.java:1346)
    at
    com.ibm.ws.sib.admin.impl.JsMessagingEngineImpl.start
    (JsMessagingEngineImpl.java:627)
    at
    com.ibm.ws.sib.admin.impl.HAManagerMessagingEngineImpl.
    activate(HAManagerMessagingEngineImpl.java:1243)
    at
    com.ibm.ws.sib.admin.impl.JsActivationThread.run(JsActivation
    Thread.java:94)
    

Local fix

  • Restart the JVMs hosting the messaging engines or install the
    fix for apar PM92447 and set the property
    sib.meEnableInstanceOnFailure=false in sib.properties file.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of the default messaging provider for *
    *                  IBM WebSphere Application Server            *
    ****************************************************************
    * PROBLEM DESCRIPTION: When using the default messaging        *
    *                      provider of WebSphere Application       *
    *                      Server and having a configuration       *
    *                      where the Service Integration Bus has   *
    *                      clusters (more than one) as bus         *
    *                      members configured in High              *
    *                      Availability mode or in an              *
    *                      environment using Service Integration   *
    *                      Bus have a single(or more) cluster as   *
    *                      a bus member configured in High         *
    *                      Scalability mode, a                     *
    *                      NullPointerException is observed.       *
    *                      Following the NullPointerException      *
    *                      "CWSIP0785W" message is observed,       *
    *                      whenever a messaging engine is          *
    *                      restarted or whenever a messaging       *
    *                      engine is disabled and enabled.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In an environment using Service Integration Bus, where the Bus
    is configured to have more than one cluster as bus members in
    High Availability mode or the Bus is configured to have a
    single
    or more clusters as bus members in High Scalability mode, the
    following NullPointerException is observed whenever a messaging
    engine is restarted or whenever a messaging engine is disabled
    and enabled:
    Reporter:com.ibm.ws.sib.msgstore.transactions.MSDelegatingLocalT
    ransactionSynchronization@30e15344
    java.lang.NullPointerException
    at
    com.ibm.ws.sib.trm.topology.TopologyManager.listConns(TopologyMa
    nager.java:460)
    at
    com.ibm.ws.sib.trm.topology.RoutingManagerImpl.listConnections(R
    outingManagerImpl.java:85)
    at
    com.ibm.ws.sib.processor.io.MPIO.findMPConnection(MPIO.java:366)
    at
    com.ibm.ws.sib.processor.io.MPIO.sendToMe(MPIO.java:540)
    at
    com.ibm.ws.sib.processor.impl.PtoPOutputHandler.eventPostAdd(Pto
    POutputHandler.java:1516)
    at
    com.ibm.ws.sib.processor.impl.PtoPOutputHandler.messageEventOccu
    rred(PtoPOutputHandler.java:1263)
    at
    com.ibm.ws.sib.processor.impl.store.items.MessageItem.eventPostC
    ommitAdd(MessageItem.java:1301)
    at
    com.ibm.ws.sib.msgstore.task.AddTask.postCommit(AddTask.java:425
    )
    at
    com.ibm.ws.sib.msgstore.task.TaskList.postComplete(TaskList.java
    :434)
    at
    com.ibm.ws.sib.msgstore.transactions.MSDelegatingLocalTransactio
    n.commit(MSDelegatingLocalTransaction.java:466)
    at
    com.ibm.ws.sib.processor.proxyhandler.Neighbours.resetBusSubscri
    ptionList(Neighbours.java:1793)
    at
    com.ibm.ws.sib.processor.proxyhandler.MultiMEProxyHandler.inital
    ised(MultiMEProxyHandler.java:221)
    at
    com.ibm.ws.sib.processor.impl.MessageProcessor.startInternal(Mes
    sageProcessor.java:1690)
    at
    com.ibm.ws.sib.processor.impl.MessageProcessor.start(MessageProc
    essor.java:1346)
    at
    com.ibm.ws.sib.admin.impl.JsMessagingEngineImpl.start(JsMessagin
    gEngineImpl.java:627)
    at
    com.ibm.ws.sib.admin.impl.HAManagerMessagingEngineImpl.activate(
    HAManagerMessagingEngineImpl.java:1243)
    at
    com.ibm.ws.sib.admin.impl.JsActivationThread.run(JsActivationThr
    ead.java:94)
    Following the above ffdc, the below ffdc is logged:
    com.ibm.ws.sib.processor.impl.exceptions.InvalidMessageException
    at
    com.ibm.ws.sib.processor.gd.SourceStream$BlockedStreamAlarm.chec
    kState(SourceStream.java:1669)
    at
    com.ibm.ws.sib.processor.gd.SourceStream$BlockedStreamAlarm.alar
    m(SourceStream.java:1742)
    at
    com.ibm.ws.sib.processor.utils.am.MPAlarmManager.fireInternalAla
    rm(MPAlarmManager.java:551)
    at
    com.ibm.ws.sib.processor.utils.am.MPAlarmThread.run(MPAlarmThrea
    d.java:217)
    at
    com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
    Then, we would see the following error message being logged:
    CWSIP0785W: A message held on messaging engine Cluster1.000-
    ClusterBus for transmission to a remote destination or foreign
    bus _PSIMP.PROXY.QUEUE_A229A7EE6D9B9277 has remained in
    committing state for 1,860 seconds under transaction NULL.
    Further messages may not flow until this transaction completes.
    The above exceptions occur because the Neighborhood
    object is observed to be null when we try to obtain connection
    for the neighboring messaging engines to send subscription
    messages as part of starting the messaging engine.
    

Problem conclusion

  • The code has been modified to ensure that there is a check
    being
    made to see if the Neighborhood object exists when trying to
    obtain connection and there by avoiding the
    NullPointerException
    and the above exceptions.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.10 and 8.5.5.4 . Please refer to the
    Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI18320

  • Reported component name

    WAS SIB & SIBWS

  • Reported component ID

    620800101

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-05-20

  • Closed date

    2014-07-22

  • Last modified date

    2015-03-03

  • 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

  • R300 PSY

       UP

  • 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":"855","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 April 2022