IBM Support

IC85167: COM.IBM.MSG.CLIENT.JMS.DETAILEDJMSEXCEPTION: JMSWMQ1006: THE VALUE FOR 'JMSTYPE':'MCD://XMLNSC' IS NOT VALID.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • JMS messages can be serialised to an output stream and
    deserialised from an input stream back to a JMS message.
    
    When a JMS text message with JMSType set to a value beginning
    with 'mcd://' which has been
    serialised is deserialised, an exception is thrown. The top of
    the stack output looks like:
    
    com.ibm.msg.client.jms.DetailedJMSException:
    JMSWMQ1006: The value for 'JMSType':'mcd://xmlnsc' is not valid.
    The value 'mcd://xmlnsc' for property 'JMSType' is not correct.
    Check the linked WebSphere MQ exception reason and completion
    code.
    at
    sun.reflect.GeneratedConstructorAccessor32.newInstance
    (UnknownSource)
    
    at
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delega
    tingConstructorAccessorImpl.java:39)
    
    at
    java.lang.reflect.Constructor.newInstance(Constructor.java:527)
    at
    com.ibm.msg.client.commonservices.j2se.NLSServices.createExcepti
    on(NLSServices.java:313)
    
    at
    com.ibm.msg.client.commonservices.nls.NLSServices.createExceptio
    n(NLSServices.java:388)
    
    at
    com.ibm.msg.client.wmq.messages.TransientMessageHeader.throwBadJ
    MSTypeException(TransientMessageHeader.java:613)
    
    at
    com.ibm.msg.client.wmq.messages.TransientMessageHeader.setJMSTyp
    e(TransientMessageHeader.java:500)
    
    at
    com.ibm.msg.client.jms.internal.JmsMessageImpl.setJMSType(JmsMes
    sageImpl.java:898)
    
    at
    com.ibm.msg.client.jms.internal.JmsMessageImpl.copyProperties(Jm
    sMessageImpl.java:2174)
    
    at
    com.ibm.jms.JMSTextMessage.readObject(JMSTextMessage.java:160)
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affect users of:
    - The WebSphere MQ V7 classes for JMS.
    - The WebSphere MQ V7 Resource Adapter.
    - The WebSphere Application Server V7 WebSphere MQ messaging
    provider.
    - The WebSphere Application Server V8 WebSphere MQ messaging
    provider.
    - The WebSphere Application Server V8.5 WebSphere MQ messaging
    provider.
    - The WebSphere Application Server V6.1 WebSphere MQ messaging
    provider who have configured the WebSphere variable
    MQ_INSTALL_ROOT to point to a WebSphere MQ V7 installation.
    
    
    who are attempting to deserialise messages which have the
    JMSType property set to a value beginning with mcd://
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows) +Java
    ****************************************************************
    PROBLEM SUMMARY:
    When the message was deserialised, the contents of the input
    stream object
    were inspected to see what type of message this was. As part of
    this, a temporary internal representation of the message was
    created.
    
    In this temporary message, the message class property indicating
    this was a message containing text was not set. When it came to
    set the value of the JMSType on this message from the data in
    the input stream, an exception was thrown, as setting this
    property to a value starting mcd:// is only valid for text or
    bytes type messages.
    

Problem conclusion

  • The message class property is set correctly when deserialising
    text type messages, and JMS text messages with the JMSType
    property set to a value beginning 'mcd://' can now be
    deserialised without the
    error occurring.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.10
    --------           --------------------
    Windows            U200352
    AIX                U853055
    HP-UX (PA-RISC)    U853082
    HP-UX (Itanium)    U853087
    Solaris (SPARC)    U853083
    Solaris (x86-64)   U853089
    iSeries            7.0.1.10
    Linux (x86)        U853084
    Linux (x86-64)     U853088
    Linux (zSeries)    U853085
    Linux (Power)      U853086
    
                       v7.1
    Platform           Fix Pack 7.1.0.3
    --------           --------------------
    Windows            7.1.0.3
    AIX                7.1.0.3
    HP-UX (Itanium)    7.1.0.3
    Solaris (SPARC)    7.1.0.3
    Solaris (x86-64)   7.1.0.3
    iSeries            7.1.0.3
    Linux (x86)        7.1.0.3
    Linux (x86-64)     7.1.0.3
    Linux (zSeries)    7.1.0.3
    Linux (Power)      7.1.0.3
    
    Platform           v7.5
    --------           --------------------
    Multiplatforms     7.5.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

    IC85167

  • Reported component name

    WMQ WINDOWS V7

  • Reported component ID

    5724H7220

  • Reported release

    701

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-07-09

  • Closed date

    2012-11-26

  • Last modified date

    2012-11-26

  • APAR is sysrouted FROM one or more of the following:

    PM68138

  • APAR is sysrouted TO one or more of the following:

    PM68784

Fix information

  • Fixed component name

    WMQ WINDOWS V7

  • Fixed component ID

    5724H7220

Applicable component levels

  • R701 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSDEZSF","label":"IBM WebSphere MQ Managed File Transfer for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
31 March 2023