This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Connecting to remote WebSphere MQ from Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » Tomcat
Bookmark "Connecting to remote WebSphere MQ from Tomcat" Watch "Connecting to remote WebSphere MQ from Tomcat" New topic

Connecting to remote WebSphere MQ from Tomcat

Vijay Chandran
Ranch Hand

Joined: Jan 07, 2007
Posts: 186

Dear friends,

I am creating a JMS application which will connect to remote WebSphere MQ from a servlet deployed in Tomcat. This is my configuration in Tomcat's conf/context.xml file.

<Resource name="jms/MyQCF" auth="Container" type="" factory="" HOST="" PORT="1415" CHAN="SAMPLEMQ" TRAN="1" QMGR="MQTestQueueManager"/>

<Resource name="jms/MyQueue" auth="Container" type="" factory=""

My query is:
I want to connect to the WebSphere MQ when tomcat restarts and configure some minimum/maximum number of connections, so that a connection pool is created and whenever i run that application a connection should be taken from that connection pool.

Using Tomcat 5.5.25, JDK1.5, WebSphere MQ V6.0

Kindly provide your help,

Thanks & Regards,

f angi

Joined: Mar 07, 2011
Posts: 1
hi !

this subject is quite old, but i'm facing the same problem (jms pooling with MQ)
did you found a solution ?
I agree. Here's the link:
subject: Connecting to remote WebSphere MQ from Tomcat
It's not a secret anymore!