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 » No listener... how to pick messages

Post new topic  Reply to topic
 No listener... how to pick messages « View previous topic :: View next topic » 
Author Message
betterchoices
PostPosted: Wed Jun 17, 2009 11:44 am    Post subject: No listener... how to pick messages Reply with quote

Novice

Joined: 08 Jun 2009
Posts: 18

Hi
I have a pplication which listenes to a Queue. I deployed application to the server. there was already MQ Explorer with Queue Manager and Queue, I generated bindings file using the JMS Administered Objects(Queue Manager and Queue's were already there).
I have a resource adapter which uses the JMS Admimistered Objects(Connection Factory and Destination) to connect to the Queue Manager and in turn Queue. My application uses this resource adapter.

But when i deploy the application i get an error messge ( Error Code 2059), and error suggests me to check weather Queue Manager is started in Client mode, and listener is up. I checked in MQ Explorer, Queue Manager is running and there are messages in the Queue, but when I check listeners(Under Queue manager), there are no listeners.
Queue Manager and Queues were not created by me. And I can't create listener.
My resource adapter, and applicaiotn is fine, because i tested them in my locval system. In my local system i cretaed the Queue manager and Queue, and there was a listener.
Now, My question is if there is no listener, then there is any way for the applicaiton to connect to the Queue manager in client mode.
Also, there is one another ESB(In server) which is already listeneing to that Queue, iF listener is problem, then why not that ESB(which is already listeneing to thje Queue), is not facing the problem.
Please Suggest, I am on client side and I have to provide immediate solution.
Thanks
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Jun 17, 2009 11:52 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Bindings connections do not require a listener.

Client connections do.
Back to top
View user's profile Send private message
betterchoices
PostPosted: Wed Jun 17, 2009 11:56 am    Post subject: Reply with quote

Novice

Joined: 08 Jun 2009
Posts: 18

yes i understand.. but previousle i faced some issues, when i was using bindings mode. I dont want to switch back to bindings mode. I want to use client mode only. If definite answer is no, means nothing can be done without listener then I can raise an alarm here to first create listener, then only proceed.
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Jun 17, 2009 12:21 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Why you think you won't have problems with client connections, when you do with bindings, I don't know.

You can't establish a new client connection without a listener, because the listener is responsible for listening to TCP/IP and responding to new requests by starting channels... and client connections use SVRCONN/CLNTCONN pairs.

So you either need a bindings connection or a listener. You can not use a client connection without a listener.
Back to top
View user's profile Send private message
betterchoices
PostPosted: Wed Jun 17, 2009 12:23 pm    Post subject: Reply with quote

Novice

Joined: 08 Jun 2009
Posts: 18

ok i m sure i cant use client connection without using listeners. I am opting for bindings mode. Thank you very much mqjeff for the information.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » No listener... how to pick messages
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.