IBM Support

IV47964: MQ V7 RA JBOSS THROWS AN EXCEPTION: NO PROPERTY "WMQ_MESSAGE_BODY" FOR ADMIN OBJECT.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When setting the "WMQ_MESSAGE_BODY" destination property on a
    JMS queue in the resource definitions XML file when deploying to
    a JBOSS server, the exception is reported:
    
    org.jboss.deployers.spi.DeploymentException: No property
    'WMQ_MESSAGE_BODY' for admin object 'interface javax.jms.Queue'
    ra=jboss.jca:name='wmq.jmsra.rar',service=RARDeployment
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects users of the WebSphere MQ v7 Resource Adapter
    who wish to set the WMQ_MESSAGE_BODY property on a JMS
    destination.
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows) +Java
    ****************************************************************
    PROBLEM SUMMARY:
    The WMQ_MESSAGE_BODY destination property can be used to specify
    whether a JMS application processes the MQRFH2 of a WebSphere MQ
    message as part of the JMS message body or a message header.
    
    The WMQ_MESSAGE_BODY is described in the WebSphere MQ Infocenter
    under
    the following path:
    WebSphere MQ
    > Using Java >WebSphere MQ classes for JMS
    > Writing applications > Accessing WebSphere MQ features
    >Accessing WebSphere MQ message data
    
    However the WMQ_MESSAGE_BODY property was not exposed as a
    configurable property when creating and configuring a queue
    destination JMS object in the JNDI store. Therefore this
    property was not recognised when specified in the resource
    definitions JBOSS-ds.xml file.
    

Problem conclusion

  • The WebSphere MQ Resource Adapter has been extended to expose
    the WMQ_MESSAGE_PROPERTY as a configuration property by the name
    of "messageBodyStyle" that can be set on JMS Destinations (JMS
    Queues and JMS Topics).
    
    For example, to configure destinations to have the
    WMQ_MESSAGE_BODY
    property
    set to the value "JMS", set the following property
    in the destination resource definition:
    
    messageBodyStyle=JMS
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v7.1       7.1.0.5
    v7.0       7.0.1.12
    v7.5       7.5.0.3
    
    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

    IV47964

  • Reported component name

    WMQ LIN X86 V7

  • Reported component ID

    5724H7224

  • Reported release

    701

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-06

  • Closed date

    2013-10-31

  • Last modified date

    2013-12-18

  • 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 LIN X86 V7

  • Fixed component ID

    5724H7224

Applicable component levels

  • R701 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFKSJ","label":"WebSphere MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022