Author |
Message
|
akm.mohan |
Posted: Wed Dec 10, 2008 5:49 pm Post subject: How to integrate MQ Series with Tomcat application server |
|
|
Apprentice
Joined: 07 Oct 2008 Posts: 41
|
Hello friends,
I would like to integrate MQ series with Tomcat application server, My java application is on Tomcat server, want to use the mq series to send messages to other systems.
Any help is greatly appriciated.
Thanks in advance.., |
|
Back to top |
|
 |
AkankshA |
Posted: Wed Dec 10, 2008 7:59 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
|
Back to top |
|
 |
jerrydBrowser |
Posted: Mon Feb 22, 2010 4:46 pm Post subject: |
|
|
Newbie
Joined: 22 Feb 2010 Posts: 4
|
I have tried the solution provided in the link.
But this does not work, because the resource configuration does not provide any user id, password:
-----------
<Resource
name="jms/MyQCF"
auth="Container"
type="com.ibm.mq.jms.MQQueueConnectionFactory"
factory="com.ibm.mq.jms.MQQueueConnectionFactoryFactory"
description="JMS Queue Connection Factory for sending messages"
HOST="<mymqserver>"
PORT="1414"
CHAN="<mychannel>"
TRAN="1"
QMGR="<myqueuemanager>"/>
-------------
I only can make the connection work if I change the code from:
qcf.createQueueConnection();
to
qcf.createQueueConnection(<userid>, <password>);
But I still would like to configure the user name and password in the MQ resource; instead provide the user name and password in the code.
Can anyone provide some ideas?
Thanks |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Feb 22, 2010 9:03 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Have you looked into JAAS and setting the JAAS alias on the qcf/tcf?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
markiecork |
Posted: Mon Apr 19, 2010 2:59 am Post subject: |
|
|
Newbie
Joined: 18 Apr 2010 Posts: 4
|
Yes I have tried with JAAS but not solved the problem.
Please is any other way to integrate MQ Series with Tomcat application server?
Please any one know than suggest me. _________________ r4 dsi |
|
Back to top |
|
 |
nallabalu |
Posted: Sun May 02, 2010 2:29 pm Post subject: |
|
|
Novice
Joined: 29 Mar 2005 Posts: 19 Location: Long Island, NY
|
Ask the MQSeries Administrator to provide the userid in the MCAUSER on the queue manager to which your application is connecting, through the server-conn channel. I am not sure if this works..but seems like kind of a requirement(issue) i had experienced, give a try.. if it works!!.Good Luck  |
|
Back to top |
|
 |
|