This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Connecting to remote WebSphere MQ from Tomcat

 
Ranch Hand
Posts: 186
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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="com.ibm.mq.jms.MQQueueConnectionFactory" factory="com.ibm.mq.jms.MQQueueConnectionFactoryFactory" HOST="172.22.2.132" PORT="1415" CHAN="SAMPLEMQ" TRAN="1" QMGR="MQTestQueueManager"/>


<Resource name="jms/MyQueue" auth="Container" type="com.ibm.mq.jms.MQQueue" factory="com.ibm.mq.jms.MQQueueFactory"
QU="TestQueue"/>

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,
Vijay



 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi !

this subject is quite old, but i'm facing the same problem (jms pooling with MQ)
did you found a solution ?
thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!