IBM Support

IT09917: XMSV8.0.0.2 APPLICATION THROWS EXCEPTION WHEN SESSION.COMMIT IS ISSUED WITHIN THE TRANSACTION SCOPE IN UNMANAGED MODE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Following Exception is thrown [02/07/2015 16:02:18:442618 GMT
    Standard Time] 00000001 d UOW=
    source=IBM.XMS.Client.Impl.XmsSessionImpl org=IBM prod=WebSphere
     component=Message Service Client for .NET thread=[1 : 0]
    NewException() : exception created :
    IBM.XMS.IllegalStateException: CWSMQ0076E: It is not valid to
    call the Receive method outside XA transacttion scope on a XA
    transction enabled session. The application called a method
    outside XA transaction scope that must be called within XA
    transction scope, since the session is used for XA transactions.
     Change the application program to remove this behaviour.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users using XMS.NET API's within a TransactionScope in
    Unmanaged mode
    
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    In Unmanaged mode issuing session.commit within a
    TransactionScope results in the following exception:
    
    IBM.XMS.IllegalStateException: CWSMQ0076E: It is not valid to
    call the Receive method outside XA transacttion scope on a XA
    transction enabled session. The application called a method
    outside XA transaction scope that must be called within XA
    transction scope, since the session is used for XA transactions.
     Change the application program to remove this behaviour.
    

Problem conclusion

  • If connection mode is unmanaged then we will not enable the
    Session for XA activities, even if the Transaction.Current is
    NOT NULL ( which implies working under xa).
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v7.5       7.5.0.6
    v8.0       8.0.0.4
    
    The latest available maintenance can be obtained from
    'WebSphere MQ Recommended Fixes'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037
    
    If the maintenance level is not yet available information on
    its planned availability can be found in 'WebSphere MQ
    Planned Maintenance Release Dates'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT09917

  • Reported component name

    WMQ BASE MULTIP

  • Reported component ID

    5724H7251

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-07-10

  • Closed date

    2015-10-16

  • Last modified date

    2015-12-14

  • 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

    WMQ BASE MULTIP

  • Fixed component ID

    5724H7251

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.0.0","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
14 December 2015