IBM Support

IC59983: WEBSPHERE MQ V7 CLIENT SHIPPED WITH LOTUS EXPEDITOR GETS JAVA.LANG.CLASSNOTFOUNDEXCEPTION: JMSPRODUCER.<CLASS NAME>

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • While using WebSphere MQ (WMQ) V7 client shipped with Lotus
    Expeditor, the following ClassNotFoundException is thrown:
    
    com.ibm.msg.client.jms.DetailedMessageFormatException:
    JMSCC0053: An exception occurred deserializing a message,
    exception:'java.lang.ClassNotFoundException:
    jmsproducer.<class name>'. It was not possible to deserialize
    the message because of the exception shown. Examine the
    linked exception for detail of the error.
    at java.lang.reflect.AccessibleObject.invokeV
    (AccessibleObject.java:195)
    ... 11 more
    Caused by: java.lang.ClassNotFoundException:
    jmsproducer.<class name>
    at java.lang.Class.forName(Class.java:162)
    at com.ibm.msg.client.commonservices.cssystem.CSSystem.
    loadClassInternal(CSSystem.java:287)
    ... 16 more
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects all users of the OGSi bundles shipped as
    part of the WebSphere MQ (WMQ) Version 7 Java client.
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows) +Java
    ****************************************************************
    PROBLEM SUMMARY:
    If the WMQ V7 Java client classes need to load any arbitrary
    classes (for instance, if a JMSSender has a custom Serializable
    object which is set on a JMSObjectMessage), then a
    java.lang.ClassNotFoundException was thrown because the class
    requested was not part of the OGSi bundle being used.
    

Problem conclusion

  • The manifest.mf for the WebSphere MQ V7 Java client OGSi bundle:
    
    com.ibm.msg.client.osgi.jms_X.X.X.X.jar
    
    has been updated to include the following entry:
    
    DynamicImport-Package: *
    
    This allows the Java client to access classes that are not
    explicitly part of the OGSi bundle.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.0
    --------           --------------------
    Windows            U200306
    AIX                U823774
    HP-UX (PA-RISC)    U823665
    HP-UX (Itanium)    U823667
    Solaris (SPARC)    U823772
    Solaris (x86-64)   U824344
    iSeries            tbc_p700_0_1_0
    Linux (x86)        U823664
    Linux (x86-64)     U823773
    Linux (zSeries)    U823668
    Linux (Power)      U823666
    
    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

    IC59983

  • Reported component name

    WMQ WINDOWS V7

  • Reported component ID

    5724H7220

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-02-12

  • Closed date

    2009-02-23

  • Last modified date

    2009-02-23

  • 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 WINDOWS V7

  • Fixed component ID

    5724H7220

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCPQ63","label":"APAR \/ Maintenance"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
23 February 2009