MDBs fail to process messages with message selectors containing OR or IS NULL clauses
 Technote (troubleshooting)
 
Problem(Abstract)
When running message-driven beans (MDBs) on WebSphere® Application Server V5 or V5.1 that get messages from a queue or topic on WebSphere MQ 5.3 CSD 4 or embedded messaging, messages that contain message selectors with OR or IS NULL clauses are not processed. The following exception is issued and can be seen in the SystemOut.log:

javax.jms.JMSException: MQJMS1025: failed to browse message
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:540)
at com.ibm.mq.jms.MQQueueAgentThread1Impl.browse(MQQueueAgentThread1Impl.java:324)
at com.ibm.mq.jms.MQQueueAgentThread.run(MQQueueAgentThread.java:1553)
at java.lang.Thread.run(Thread.java:513)
---- Begin backtrace for Nested Throwables
com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2026
at com.ibm.mq.jms.MQQueueAgentThread1Impl.makeSuitableForDelivery(MQQueueAgentThread1Impl.java:583)
at com.ibm.mq.jms.MQQueueAgentThread1Impl.browse(MQQueueAgentThread1Impl.java:251)
at com.ibm.mq.jms.MQQueueAgentThread.run(MQQueueAgentThread.java:1553)
at java.lang.Thread.run(Thread.java:513)
 
Cause
The cause of this error is a defect with MQ 5.3 CSD 4, APAR IC37500. WebSphere Application Server V5.0.2 and V5.1.0 install the CSD 4 level of embedded messaging. Therefore, the problem surfaces if WebSphere V5.0.2 or V5.1.0 embedded messaging is used, or if the full MQ 5.3 CSD 4 product is used.
 
Resolving the problem
The problem can be resolved in the following ways:
  • If the full WebSphere MQ 5.3 product is used, install CSD 5 or higher.

  • If WebSphere embedded messaging is used, upgrade to WebSphere Application Server V5.1.1, which ships with the CSD 7 level of embedded messaging.

  • If WebSphere embedded messaging is used, install the WebSphere Embedded Messaging interim fixes for WebSphere Application Server V5.0.2 or the WebSphere Embedded Messaging interim fixes for WebSphere Application Server V5.1, available at: https://www6.software.ibm.com/dl/wsmqcsd/wsmqcsd-p
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Business Integration WebSphere MQ Java AIX, HP-UX, Linux, Linux zSeries, Linux/390, Solaris, Windows, Windows 2000, Windows 2003, Windows NT, Windows XP 5.3 All Editions
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Java Message Service (JMS)
Operating system(s): Solaris
Software version: 5.1.1.3
Software edition:
Reference #: 1197090
IBM Group: Software Group
Modified date: Jan 31, 2005