IBM Support

IT40764: Using the IBM MQ v9.2.5.0 CD Resource adapter with WebSphere Liberty may generate MQJCA1011 & RC=2035

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • A RC=2035 is intermittently returned to a JMS application
    running in WebSphere Liberty after upgrading the MQ Resource
    Adapter (wmq.jmsra.rar) from 9.2.4.0 CD to 9.2.5.0 CD.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects users of the IBM MQ resource adapter.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    If you have an JMS Application Server Application using the IBM
    MQ v9.2.5.0 CD resource adaptor.  It is possible that when the
    application activate and uses a jmsQueueConnectionFactory &
    containerAuthDataRef definition it may fail with a MQJCA1011.
    
    What you may see in the Liberty messages.log is the following:
    
    [16-3-22 15:12:25:992 CET] 00000078
    com.ibm.ws.logging.internal.impl.IncidentImpl                I
    FFDC1015I: An FFDC Incident has been created:
    "com.ibm.mq.connector.DetailedResourceException: MQJCA1011:
    Failed to allocate a JMS connection., error code: MQJCA1011 An
    internal error caused an attempt to allocate a connection to
    fail. See the linked exception for details of the failure.
    com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWith
    MCWrapper 199" at ffdc_22.03.16_15.12.25.0.log
    [16-3-22 15:12:27:288 CET] 00000078 SystemOut
                                                       O [ERROR]
    2022-03-16 15:12:26,152 myApplication:88  [] - MQJCA1011: Failed
    to allocate a JMS connection.
    com.ibm.msg.client.jms.DetailedJMSException: MQJCA1011: Failed
    to allocate a JMS connection.
    	at
    com.ibm.mq.connector.services.JCAExceptionBuilder.buildException
    (JCAExceptionBuilder.java:184) ~[?:?]
    	at
    com.ibm.mq.connector.services.JCAExceptionBuilder.buildException
    (JCAExceptionBuilder.java:135) ~[?:?]
    	at
    com.ibm.mq.connector.outbound.ConnectionFactoryImpl.createManage
    dJMSConnection(ConnectionFactoryImpl.java:402) ~[?:?]
    	at
    com.ibm.mq.connector.outbound.ConnectionFactoryImpl.createConnec
    tionInternal(ConnectionFactoryImpl.java:252) ~[?:?]
    	at
    com.ibm.mq.connector.outbound.QueueConnectionFactoryImpl.createQ
    ueueConnection(QueueConnectionFactoryImpl.java:187) ~[?:?]
    	at
    com.ibm.mq.connector.outbound.QueueConnectionFactoryImpl.createQ
    ueueConnection(QueueConnectionFactoryImpl.java:167) ~[?:?]
    	at myApplication(MyApplication.java:88)
    
    The trace will show the following, that indicate that the CCSID
    values being compared are NOT the same, but actually they are
    the same:
    
    trace.log:
    
    [16-3-22 15:12:22:476 CET] 00000078 JMSApi        1
    com.ibm.mq.connector.AbstractConfiguration getCCSID() getter
                                     819
    [16-3-22 15:12:22:476 CET] 00000078 JMSApi        1
    com.ibm.mq.connector.AbstractConfiguration getCCSID() getter
                                     819
    [16-3-22 15:12:22:477 CET] 00000078 JMSApi        <
    com.ibm.mq.connector.outbound.ManagedQueueConnectionFactoryImpl(
    ManagedConnectionFactoryImpl)@4558b264 equals(Object) RETURN
    false
    

Problem conclusion

  • The code has been corrected to prevent the hitting of this
    issue.
    
    ----------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance level
    V9.3 CD    9.3.0.0
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT40764

  • Reported component name

    MQ BASE V9.2

  • Reported component ID

    5724H7281

  • Reported release

    925

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-04-27

  • Closed date

    2022-05-10

  • Last modified date

    2022-05-12

  • 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

    MQ BASE V9.2

  • Fixed component ID

    5724H7281

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"925"}]

Document Information

Modified date:
13 May 2022