IBM Support

IT17818: Cannot deploy MQ Resource Adapter into Oracle WebLogic Server 12.2

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

  • Deploying either the IBM MQ v8.0 or v9.0 JCA Resource Adapter
    into Oracle Weblogic 12.2 results in errors, such as in
    following example, being reported in the server logs:
    
    <Failure occurred in the execution of deployment request with
    ID "30971720098934" for task "0" on [partition-name: DOMAIN].
    Error is:
    "weblogic.application.ModuleException:
    [1] In META-INF/ra.xml element <resourceadapter>, the property
    "connectionConcurrency" of type "java.lang.String": unable to
    find a set method in class
    "com.ibm.mq.connector.ResourceAdapterImpl".
    [2] In META-INF/ra.xml element <resourceadapter>, the property
    "logWriterEnabled" of type "java.lang.String": unable to find a
    set method in class "com.ibm.mq.connector.ResourceAdapterImpl".
    ... ...
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of the IBM MQ JCA Resource Adapter, including
    WebSphere Application Server V9.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    The ra.xml file within the META-INF folder of the IBM MQ JCA
    Resource Adapter did not fully comply to the JCA 1.7
    specification, as the types reflected for the 'config-property'
    elements did not have corresponding 'getter' methods in the
    class to which they referred.
    
    For example 'reconnectionRetryCount' was of type 'String', when
    the 'getReconnectionRetryCount' method of the implementing class
    actually returned an Integer.
    
    Additionally the equals() and hashCode() functions of
    'resourceadapter-class' and 'managedconnectionfactory-class'
    types did not comply with the JCA 1.7 specification.
    

Problem conclusion

  • The ra.xml file within the META-INF folder of the IBM MQ JCA
    Resource Adapter has been modified to ensure that the types of
    the 'config-property' elements reflect the getter methods of the
    implemented types.
    
    In the example above 'reconnectionRetryCount' has been changed
    from 'java.lang.String' to 'java.lang.Integer'.
    
    The equals() and hashCode() functions of 'resourceadapter-class'
    and 'managedconnectionfactory-class' types have also been
    changed to comply with the JCA 1.7 specification.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v8.0       8.0.0.7
    v9.0 CD    9.0.2
    v9.0 LTS   9.0.0.1
    
    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

    IT17818

  • Reported component name

    IBM MQ BASE M/P

  • Reported component ID

    5724H7261

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-11-06

  • Closed date

    2017-01-23

  • Last modified date

    2017-06-01

  • 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

    IBM MQ BASE M/P

  • Fixed component ID

    5724H7261

Applicable component levels

  • R900 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":"9.0","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
01 June 2017