IBM Support

PI72497: INCORRECT JMS SESSION INFORMATION IN RETURNED JMS CONNECTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Incorrect JMS session information may occur when a JMS
    Connection will be returned. This can lead to the following
    kind of exceptions:
    
    [11/16/16 19:14:48:385 GST] 00000030 LocalTransact E
    J2CA0077E: An exception was caught while trying to obtain a
    javax.resource.cci.LocalTransaction from a ManagedConnection for
    resource JMS$WMQConnFactory$JMSManagedConnection@14. The
    exception is:
    javax.resource.spi.ResourceAdapterInternalException:
    getLocalTransaction called on XA session
    at
    com.ibm.ejs.jms.JMSManagedSession.getLocalTransaction(JMSManaged
    Session.java:356)
    at
    com.ibm.ejs.j2c.LocalTransactionWrapper.initialize(LocalTransact
    ionWrapper.java:164)
    at
    com.ibm.ejs.j2c.MCWrapper.getLocalTransactionWrapper(MCWrapper.j
    ava:1077)
    at
    com.ibm.ejs.j2c.MCWrapper.getLocalTransactionWrapper(MCWrapper.j
    ava:1046)
    at
    com.ibm.ejs.j2c.ConnectionManager.initializeForUOW(ConnectionMan
    ager.java:1339)
    at
    com.ibm.ejs.j2c.ConnectionManager.involveMCInTran(ConnectionMana
    ger.java:1201)
    at
    com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionM
    anager.java:703)
    at
    com.ibm.ejs.jms.JMSQueueConnectionHandle.createListenerQueueSess
    ion(JMSQueueConnectionHandle.java:300)
    at
    com.ibm.ejs.jms.listener.ServerSession.<init>(ServerSession.java
    :341)
    at
    com.ibm.ejs.jms.listener.ServerSessionPool.createServerSession(S
    erverSessionPool.java:538)
    at
    com.ibm.ejs.jms.listener.ServerSessionPool.getServerSession(Serv
    erSessionPool.java:462)
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Attempting to get a connection to a     *
    *                      JMS resource, a                         *
    *                      ResourceAdapterInternalException is     *
    *                      thrown and J2CA0077E message logged.    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If a Listener Port and an application are using the same
    connection factory, a request for a JMS Managed Connection may
    return a matching pooled handle that has an incorrect session
    type when compared to the requesting SessionRequestInfo field.
    This results in a mismatch in the transaction context that is
    expected to be used on the connection.
    

Problem conclusion

  • Ensure that the session type of the returned connection matches
    the session request information required on the original
    request.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 7.0.0.43.  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

    PI72497

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-11-18

  • Closed date

    2017-02-27

  • Last modified date

    2017-02-27

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

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

Document Information

Modified date:
02 November 2021