IBM Support

IZ94339: XMS SPECIFICATION DOES NOT PERMIT THE USE OF ONE SESSION FOR SYNCHRONOUS AND ASYNCHRONOUS METHODS SIMULTANEOUSLY.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as documentation error.

Error description

  • XMS application tries to create second message consumer after
    registering the Message listener for first consumer, throws an
    exception,
    IBM.XMS.IllegalStateException: CWSMQ0101E: Synchronous method
    call not permitted when a session is being used asynchronously:
    CreateConsumer. The XMS specification does not permit the use
    of a session for synchronous methods when asynchronous message
    delivery is running. Create a separate session if you wish to
    use both synchronous methods and asynchronous delivery
    simultaneously.
    at IBM.XMS.Client.Impl.XmsSessionImpl.CheckSynchronousUsage
    (String methodName)
    at IBM.XMS.Client.Impl.XmsSessionImpl.CreateConsumer
    (IDestination dest)
    

Local fix

  • Create a separate session if both synchronous methods and
    asynchronous delivery are required simultaneously.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Customers using XMS .NET client applications connecting to
    WebSphere MQ in Unmanaged mode and receiving messages
    asynchronously.
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM SUMMARY:
    XMS .NET client when connecting to WebSphere MQ server in
    Unmanaged mode
    does not support the use of a session for synchronous methods
    when asynchronous
    message delivery is running. XMS documentation needs to be
    updated to address this.
    

Problem conclusion

  • XMS documentation is updated with the following words :
    In XMS, synchronous method call not permitted when a session is
    being used asynchronously. The XMS specification does not
    permit the use of a session for synchronous methods when
    asynchronous message delivery is running. User needs to create
    a separate session to use both synchronous methods and
    asynchronous delivery simultaneously
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ94339

  • Reported component name

    MSG SRVCS CL .N

  • Reported component ID

    5724M2100

  • Reported release

    200

  • Status

    CLOSED DOC

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-02-03

  • Closed date

    2011-02-28

  • Last modified date

    2011-02-28

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCRTPP","label":"SupportPac"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"2.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
28 February 2011