Hi Asankha. Maybe this is going off topic, but I just can't get the JNDI working. I found this article: http://www.boodi.com/2008/08/ibm-websphere-mq-and-tomcat-jndi.html Do I need to set a JNDI context within tomcat like this ? <Resource name="ConnectionFactory" auth="Container" type="com.ibm.mq.jms.MQTopicConnectionFactory" factory="com.ibm.mq.jms.MQTopicConnectionFactoryFactory" description="JMS Queue Connection Factory for sending messages" HOST="remote-server" PORT="1480" CHAN="SVR_CHANNEL" TRAN="1" QMGR="QM"/> then reference it within axis2.xml ? thanks Remsy
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Asankha C. Perera Sent: September 24, 2008 10:06 PM To: [email protected] Subject: Re: [esb-java-user] MQ series message listener Hi Remsy Hi. I am only allowed to connect to the mq manager with these parameters, so I don't have access to the remote mq server. Can I use these parameters to establish an MQ listener: manager name, queue name, host, channel, port, userid, password and I have the ibm mq jar files on the lib directory. Can you try to simply connect to a MQ destination and print a message? Try to use a simple client extended from something like [1]. You will need to make the MQ client JAR/s available to this program, and also set the JNDI properties to correctly connect to your remote MQ server. When you have successfully connected with this JMS client, you have everything needed to connect to MQ from the ESB - which will be very clear then. You copy the same JAR/s into the ESB's lib folder, and specify them in the axis2.xml and or JMS addresses. Do I need to have esb on the same server of wmq ? No asankha [1] http://java.sun.com/j2ee/1.4/docs/tutorial/examples/jms/simple/src/SimpleSynchConsumer.java
_______________________________________________ Esb-java-user mailing list [email protected] http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
