IBM Support

IC97457: WMQ 7.5 APPLICATION USING OSGI CLASSES FOR JAVA RECEIVES CLASSNOTFOUND EXCEPTION WHEN CONNECTING TO QUEUE MANAGER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After deploying the bundle com.ibm.mq.osgi.java_7.5.0.2.jar in
    the OSGi environment, the application gets a ClassNotFound
    exception when connecting to a WebSphere MQ queue manager.
    
    Caused by: java.lang.NoClassDefFoundError:
    javax/net/ssl/HandshakeCompletedListener
    

Local fix

  • Use IBM JRE. (from L3)
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects users of the com.ibm.mq.osgi.java_7.5.0.2 (or
    earlier fixpack version) WebSphere MQ Classes for Java OSGi
    bundle with an Oracle Java Runtime Environment (JRE) who are
    attempting to create a connection to a queue manager.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM SUMMARY:
    Applications using the com.ibm.mq.osgi.java_7.5.0.2 bundle (or a
    different version of the same bundle) could not connect to a
    queue manager when running with an Oracle JRE. The Oracle did
    not by default load a number of required packages, this resulted
    in the packages not being available to the application at
    runtime which resulted in the ClassNotFoundException being
    thrown.
    

Problem conclusion

  • The packages not loaded by default by the Oracle JRE have been
    added to the WebSphere MQ Classes for Java OSGI bundle
    imports, to request that these dependencies are loaded using
    this bundle with the Oracle JRE.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v7.5       7.5.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

    IC97457

  • Reported component name

    WMQ BASE MULTIP

  • Reported component ID

    5724H7241

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-11-06

  • Closed date

    2013-12-13

  • Last modified date

    2013-12-13

  • 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

    5724H7241

Applicable component levels

  • R750 PSY

       UP

[{"Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSFKSJ","label":"WebSphere MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5"}]

Document Information

Modified date:
22 September 2021