Hide Forgot
project_key: SOA See user forum post for details: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=134669 What's happening is that a test is performed for a non-existent name (__dummy2@#$%) - a NameNotFoundException should be raised, but IBM MQ is returning a NotContextException exception.
Link: Added: This issue is a dependency of JBESB-1698
Link: Added: This issue is a dependency of JBQA-1581
Hey Kevin, Do you have a second to look at this again - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=134669 - I commented out the test for __dummy2@#$% - the .esb deploys cleanly now - and runs without an error. But the listener never receives the message. I did notice the following in the server.log (attached) - what's happening here? - Thx! 2008-05-01 12:09:46,743 DEBUG [org.hibernate.pretty.Printer] org.jboss.soa.esb.monitoring.pojo.JMXData{attribute=org.jboss.soa.esb.monitoring.pojo.JMXAttribute#130, countvalue=null, timevalue=null, textvalue=<JMS-ESBListener listenerClass="org.jboss.soa.esb.listeners.message.MessageAwareListener" maxThreads="1" service-category="HelloWorld_ActionESB" service-description="Hello World" service-name="SimpleListener"> <EPR acknowledge-mode="AUTO_ACKNOWLEDGE" connection-factory="ConnectionFactory" destination-name="B" destination-type="queue" jndi-URL="localhost:1414/SYSTEM.DEF.SVRCONN" jndi-context-factory="com.ibm.mq.jms.context.WMQInitialContextFactory" persistent="true" protocol="jms" transacted="false"/> <action action="displayAction" class="org.jboss.soa.esb.samples.quickstart.helloworldaction.MyJMSListenerAction" exceptionMethod="exceptionHandler" process="displayMessage"/> <action action="playAction" class="org.jboss.soa.esb.samples.quickstart.helloworldaction.MyJMSListenerAction" exceptionMethod="exceptionHandler" process="playWithMessage"/> <action action="notificationAction" class="org.jboss.soa.esb.actions.Notifier" okMethod="notifyOK"> <NotificationList type="OK"> <target class="NotifyConsole"/> <target class="NotifyQueues"> <messageProp name="quickstart" value="hello_world_action"/> <queue connection-factory="ConnectionFactory" jndiName="HELLO_WORLD_ACTION"> <property name="java.naming.factory.initial" value="com.ibm.mq.jms.context.WMQInitialContextFactory"/> </queue> </target> </NotificationList> </action> </JMS-ESBListener>, statdate=2008-05-01 12:09:46, server=stacks2.lab.bos.redhat.com:1099, id=316}
Attachment: Added: server.log.zip
Verified resolved in CR1 build for CP02. <jms-provider name="JBossMQ" jndi-URL="localhost:1414/SYSTEM.DEF.SVRCONN" jndi-context-factory="com.ibm.mq.jms.context.WMQInitialContextFactory" connection-factory="ConnectionFactory" > And IBM MQ: -bash-3.2$ runmqlsr -m ConnectionFactory -t tcp 5724-H72 (C) Copyright IBM Corp. 1994, 2005. ALL RIGHTS RESERVED. MQSeriesClient-6.0.0-0 MQSeriesClient-U808001-6.0.2-1 MQSeriesConfig-6.0.0-0 MQSeriesConfig-U808001-6.0.2-1 MQSeriesFTA-6.0.0-0 MQSeriesFTA-U808001-6.0.2-1 MQSeriesIES30-6.0.0-0 MQSeriesIES30-U808001-6.0.2-1 MQSeriesJava-6.0.0-0 MQSeriesJava-U808001-6.0.2-1 MQSeriesKeyMan-6.0.0-0 MQSeriesKeyMan-U808001-6.0.2-1 MQSeriesMan-6.0.0-0 MQSeriesMan-U808001-6.0.2-1 MQSeriesMsg_de-6.0.0-0 MQSeriesMsg_de-U808001-6.0.2-1 MQSeriesMsg_es-6.0.0-0 MQSeriesMsg_es-U808001-6.0.2-1 MQSeriesMsg_fr-6.0.0-0 MQSeriesMsg_fr-U808001-6.0.2-1 MQSeriesMsg_it-6.0.0-0 MQSeriesMsg_it-U808001-6.0.2-1 MQSeriesMsg_ja-6.0.0-0 MQSeriesMsg_ja-U808001-6.0.2-1 MQSeriesMsg_ko-6.0.0-0 MQSeriesMsg_ko-U808001-6.0.2-1 MQSeriesMsg_pt-6.0.0-0 MQSeriesMsg_pt-U808001-6.0.2-1 MQSeriesMsg_Zh_CN-6.0.0-0 MQSeriesMsg_Zh_CN-U808001-6.0.2-1 MQSeriesMsg_Zh_TW-6.0.0-0 MQSeriesMsg_Zh_TW-U808001-6.0.2-1 MQSeriesRuntime-6.0.0-0 MQSeriesRuntime-U808001-6.0.2-1 MQSeriesSamples-6.0.0-0 MQSeriesSamples-U808001-6.0.2-1 MQSeriesSDK-6.0.0-0 MQSeriesSDK-U808001-6.0.2-1 MQSeriesServer-6.0.0-0 MQSeriesServer-U808001-6.0.2-1 MQSeriesTXClient-6.0.0-0 MQSeriesTXClient-U808001-6.0.2-1 And the changed version of helloworld referenced here: http://jira.jboss.com/jira/browse/JBQA-1581