IBM Support

PI32450: CLASSCASTEXCEPTION WHEN DOING A LOOKUP FOR A MQ CONNECTION FACTORY IN WAS/LIBERTY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A ClassCastException is emitted on a lookup when JMS code is
    implemented in an adapter due to a conflict between JMS classes
    provided in the Worklight library with the WebSphere runtime JMS
    classes.
    The use of the WMQ provider in Liberty or in the WAS Sibus fails
    when writting a message in a queue due to to private method
    invocations.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * MobileFirst developers of JMS adapters accessing to          *
    * WebSphere MQ                                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * In WebSphere Application Server and Liberty Profile two      *
    * exceptions are emitted when using JMS adapters or JMS coding *
    * :                                                            *
    * 1) A ClassCastException is emitted on a lookup when JMS code *
    * is implemented in an adapter due to a conflict between JMS   *
    * classes provided in the Worklight library with the WebSphere *
    * runtime JMS classes.                                         *
    * 2) The use of the WMQ provider in Liberty or in the WAS      *
    * Sibus fails when writting a message in a queue due to to     *
    * private method invocations.                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * NONE                                                         *
    ****************************************************************
    

Problem conclusion

  • The class confilct was fixed by removing the JMS classes from
    the worklight-jee-library jar file and the JMS adapter was fixed
    to support the definition of WebSphere MQ queue managers and
    queues  in the WebSphere SIBus and the WebSphere MQ messaging
    provider in Liberty Profile
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI32450

  • Reported component name

    WL/MFPF ENTERPR

  • Reported component ID

    5725I4300

  • Reported release

    620

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-01-09

  • Closed date

    2015-01-19

  • Last modified date

    2015-01-19

  • 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

    WL/MFPF ENTERPR

  • Fixed component ID

    5725I4300

Applicable component levels

  • R620 PSY

       UP

  • R630 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"620","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021