ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » How to integrate MQ Series with Tomcat application server

Post new topic  Reply to topic
 How to integrate MQ Series with Tomcat application server « View previous topic :: View next topic » 
Author Message
akm.mohan
PostPosted: Wed Dec 10, 2008 5:49 pm    Post subject: How to integrate MQ Series with Tomcat application server Reply with quote

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
View user's profile Send private message
AkankshA
PostPosted: Wed Dec 10, 2008 7:59 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

JMS, JNDI sounds familiar now..


http://wiki.apache.org/tomcat/HowTo#head-b45c4c0b8c57d9efa1e9c5342650d5e534f55cfa
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
jerrydBrowser
PostPosted: Mon Feb 22, 2010 4:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Feb 22, 2010 9:03 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
markiecork
PostPosted: Mon Apr 19, 2010 2:59 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
nallabalu
PostPosted: Sun May 02, 2010 2:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » How to integrate MQ Series with Tomcat application server
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.