This content has been marked as final.
Show 2 replies
-
1. Re: jBoss 4.2.3GA and Websphere MQ 7.0
sjunejo Nov 2, 2009 10:48 AM (in response to sjunejo)I found the problem and resolved it. Actually I was looking for 'JNDI' name in incorect format.
I was using following in my jboss-web.xml (in web application) and jboss.xml (in mdb);
Incorrect Reference<resource-ref> <res-ref-name>jms/jmsConnectionFactory</res-ref-name> <res-type>javax.jms.ConnectionFactory</res-type> <jndi-name>wmq/myFC</jndi-name> </resource-ref>
Where 'wmq/myFC' is connection factory I defined to use MQ Server adaptor. I edited the above part in both (In Web application and MDB) jboss-web.xml and jboss.xml a follows and it worked;
Correct Reference<resource-ref> <res-ref-name>jms/jmsConnectionFactory</res-ref-name> <res-type>javax.jms.ConnectionFactory</res-type> <jndi-name>java:wmq/myFC</jndi-name> </resource-ref>
Hope this will help someone in the future.
--
SJunejo -
2. Re: jBoss 4.2.3GA and Websphere MQ 7.0
timfox Nov 2, 2009 11:36 AM (in response to sjunejo)This forum is about JBoss Messaging. The correct place to ask questions about other JMS providers is in the JCA user forum.