IBM Support

PK97427: INTERMITTENT EXCEPTIONS ON JMS CONN WITH MULTIPLE SESSIONS

Fixes are available

PK97427; 7.0.0.5: intermittent exceptions on jms conn with multiple sessions
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for IBM i
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Windows
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for AIX
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for HP-UX
7.0.0.9: Java SDK 1.6 SR7 Cumulative Fix for WebSphere Application Server
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Solaris
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Linux
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for IBM i
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Windows
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for HP-UX
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for AIX
7.0.0.11: Java SDK 1.6 SR7 Cumulative Fix for WebSphere Application Server
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Solaris
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Linux
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for AIX
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for HP-UX
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for IBM i
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Linux
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Solaris
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Windows
7.0.0.13: Java SDK 1.6 SR8FP1 Cumulative Fix for WebSphere Application Server
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for AIX
7.0.0.15: Java SDK 1.6 SR9 Cumulative Fix for WebSphere Application Server
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for HP-UX
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for IBM i
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Linux
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Solaris
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Windows
7.0.0.17: WebSphere Application Server V7.0 Fix Pack 17
7.0.0.17: Java SDK 1.6 SR9 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.19: WebSphere Application Server V7.0 Fix Pack 19
7.0.0.21: WebSphere Application Server V7.0 Fix Pack 21
7.0.0.23: WebSphere Application Server V7.0 Fix Pack 23
7.0.0.25: WebSphere Application Server V7.0 Fix Pack 25
7.0.0.27: WebSphere Application Server V7.0 Fix Pack 27
7.0.0.29: WebSphere Application Server V7.0 Fix Pack 29
7.0.0.31: WebSphere Application Server V7.0 Fix Pack 31
7.0.0.27: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.33: WebSphere Application Server V7.0 Fix Pack 33
7.0.0.35: WebSphere Application Server V7.0 Fix Pack 35
7.0.0.19: Java SDK 1.6 SR9 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.21: Java SDK 1.6 SR9 FP2 Cumulative Fix for WebSphere
7.0.0.23: Java SDK 1.6 SR10 FP1 Cumulative Fix for WebSphere
7.0.0.25: Java SDK 1.6 SR11 Cumulative Fix for WebSphere Application Server
7.0.0.27: Java SDK 1.6 SR12 Cumulative Fix for WebSphere Application Server
7.0.0.29: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.45: Java SDK 1.6 SR16 FP60 Cumulative Fix for WebSphere Application Server
7.0.0.31: Java SDK 1.6 SR15 Cumulative Fix for WebSphere Application Server
7.0.0.35: Java SDK 1.6 SR16 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.37: Java SDK 1.6 SR16 FP3 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

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following exception is thrown intermittently to an
    application attempting to send messages to bus destinations,
    when the messaging engine is available and no network issues
    have occurred:
    
    javax.jms.JMSException: CWSIA0067E: An exception was received
    during the call to the method JmsMsgProducerImpl.<constructor>:
    com.ibm.ws.sib.jfapchannel.JFapConnectionBrokenException:
    CWSIJ0056E: An unexpected condition caused a network
    connection to host 1.2.3.4 on port 7276 using chain
    chain_1 to close.
     at com.ibm.ws.sib.jfapchannel.impl.OutboundConnection.
                         invalidateImpl(OutboundConnection.java:252)
     at com.ibm.ws.sib.jfapchannel.impl.Connection.
                       nonThreadSafeInvalidate(Connection.java:1205)
     at com.ibm.ws.sib.jfapchannel.impl.Connection.invalidate(
                                               Connection.java:1185)
     at com.ibm.ws.sib.jfapchannel.impl.
               ConnectionReadCompletedCallback.
                     error(ConnectionReadCompletedCallback.java:472)
     at com.ibm.ws.sib.jfapchannel.framework.impl.
                            CFWIOReadRequestContext$1.error(
                                   CFWIOReadRequestContext.java:211)
     at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.
                 futureCompleted(AioReadCompletionListener.java:208)
     at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(
                                       AbstractAsyncFuture.java:217)
     at com.ibm.io.async.AsyncChannelFuture$1.run(
                                        AsyncChannelFuture.java:205)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
    Caused by: com.ibm.ws.sib.jfapchannel.
      JFapHeartbeatTimeoutException: Connection dropped after
      heartbeat request went unacknowledged
     at com.ibm.ws.sib.jfapchannel.impl.
          ConnectionReadCompletedCallback.error(
                           ConnectionReadCompletedCallback.java:467)
       ... 5 more
    Caused by: java.net.SocketTimeoutException: Async operation
    timed out
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of the default messaging provider for *
    *                  IBM WebSphere Application Server Version 7.0*
    ****************************************************************
    * PROBLEM DESCRIPTION: Applications creating multiple JMS      *
    *                      Sessions under a JMS Connection are     *
    *                      intermittently thrown heartbeat         *
    *                      timeout exceptions when creating        *
    *                      producers/consumers                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Intermittently an exception caused by a
    JFapHeartbeatTimeoutException is thrown to an application
    after a delay of 5 minutes, when attempting to create a
    message producer or message consumer from a JMS session.
    
    
    The problem only occurs in environments where multiple JMS
    sessions are created from a single JMS connection, and the
    application is connecting to a messaging engine over a
    network.
    
    The problem is caused by an internal object identifier
    being retained within the client JVM after a JMS connection
    containing multiple sessions is closed.
    This causes the following exception to occur within the
    messaging engine when the network connection to the messaging
    engine is re-used (due to connection pooling):
      java.util.NoSuchElementException
      at com.ibm.ws.sib.comms.server.ConversationState.getObject(
                                       ConversationState.java:425)
      at com.ibm.ws.sib.comms.server.clientsupport.
                 ServerTransportReceiveListener.getThreadContext(
                         ServerTransportReceiveListener.java:1369)
    This exception causes the messaging engine to invalidate the
    network connection from the application to the messaging engine.
    
    The invalidated connection is not reported immediately to the
    client (due to APAR PK91199), and instead the client
    application only detects that the connection has been
    invalidated when the messaging engine fails to respond to a
    heartbeat.
    

Problem conclusion

  • The fix for this APAR prevents the object identifier from
    being retained in the client JVM when the JMS Connection is
    closed.
    
    The fix needs to be applied to the WebSphere Application
    Server installation where the client application is running.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 7.0.0.9.  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

    PK97427

  • Reported component name

    PLAT MSG COM

  • Reported component ID

    620800101

  • Reported release

    300

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-09-29

  • Closed date

    2009-10-05

  • Last modified date

    2009-10-08

  • 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

    PLAT MSG COM

  • Fixed component ID

    620800101

Applicable component levels

  • R300 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
24 October 2021