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 » General Discussion » Failed to obtain a connection with MQSeries

Post new topic  Reply to topic
 Failed to obtain a connection with MQSeries « View previous topic :: View next topic » 
Author Message
sas_kannan
PostPosted: Sat Aug 27, 2005 3:42 am    Post subject: Failed to obtain a connection with MQSeries Reply with quote

Newbie

Joined: 27 Aug 2005
Posts: 8
Location: Tirunelveli

Hi,
I am trying out implementing IBM WebSphere Business Integration Server Express v4.3.1. I am trying to work out with a JText Adapter, (JTextConnectorExample, The one I downloaded from Web) I've successfully deployed it into the ICS. While trying to start the JText and TestConnectors I recieve the following error.
----------------------
Failed to obtain a connection with MQSeries, queue manager name = WebSphereICS.queue.manager, channel=CHANNEL1, host=bissvr, port=1414. [info]::MQSeries:Completion code 2 Reason code 2059

---------------
While trying it using the TestConnector Utility the following error is raised.

MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused
MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused


What could be the problem? Any help is appreciated.

With regards,
S.A.Senthil Kannan
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
hopsala
PostPosted: Sat Aug 27, 2005 4:25 am    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

Well, it's quite simple - if you had looked through the literature (as you should do after reading this reply) you would have known that 2059 means MQRC_Q_MGR_NOT_AVAILABLE.
That is to say, either the ip address is wrong (bissvr 1414), there is a communication error, the listener is down, the qmanager is down, or many a similar problem.
So, check all these out, check CHANNEL1 exists on your QM, and if everything seems ok - have a look at the error log AMQERR01.LOG.

For more info, read MQ literature and search this forum for "2059" or "Jtext". If you solved the problem - tell us how, if you did not solve the problem - post your standard adapter configuration properties.
Back to top
View user's profile Send private message
vennela
PostPosted: Sat Aug 27, 2005 6:53 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Apart from all the above checks:
Have you created a channel called CHANNEL1 which is a SVRCONN type of channel.

If there is no specific reason for you to use MQ as the transport property for your connector, then change it to IDL and that should help you to start the connector agent easily.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Michael Dag
PostPosted: Sun Aug 28, 2005 6:09 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Moving to General Discussion
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sas_kannan
PostPosted: Sun Aug 28, 2005 8:05 pm    Post subject: Reply with quote

Newbie

Joined: 27 Aug 2005
Posts: 8
Location: Tirunelveli

Hi Hopsala,

Thanks for all your comments and help regarding to fix the problem with MQ Series. As you mentioned it was quite simple, there was no LISTENER for the CHANNEL. Once I started teh LISTENER, Hurrah! it worked fine.

Thank you Vennela for your suggestions, as my requirement is that to use MQ as I work in an environment where things are in asynchronous, I chose MQ as a best candidate...

Thank you one and all..

With Regards,
S.A. Senthil Kannan
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
vennela
PostPosted: Mon Aug 29, 2005 10:43 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Quote:
Thank you Vennela for your suggestions, as my requirement is that to use MQ as I work in an environment where things are in asynchronous, I chose MQ as a best candidate...


Also, if your collab is a long running transactional collab, then you must specify MQ or JMS as the transport type.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sas_kannan
PostPosted: Tue Aug 30, 2005 8:32 pm    Post subject: How to start the Lisener Automaically Reply with quote

Newbie

Joined: 27 Aug 2005
Posts: 8
Location: Tirunelveli

Hi,

I have a problem with the listener again. Whenever the server machine needs a restart I have to customarily start the LISTENER.. Is there any way to make it start automatically when the Queue Manager starts..

The problem I 've identified is every time I have to set the Protocol Type as TCP in the Parameters Tab and then start it ...

Is there any way to work around this problem?...

Thanks in advance...

With regards,
Senthil Kannan
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Mr Butcher
PostPosted: Tue Aug 30, 2005 10:16 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

with version 6 this may work, but with version 5 it is up to you to start the listener.
depending on the plattform you may (unix) use httpd or a start command (script during startup or qmgr start script) to start a listener. windows should be started automatically if defined in the services. other plattforms differ.

check the quick beginnings manual.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
Ratan
PostPosted: Fri Sep 02, 2005 9:45 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Quote:
Whenever the server machine needs a restart


So I assume you are using windows. Just create a listener in MQ Services for that Queue Manager.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Fri Sep 02, 2005 11:36 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

And if you happen to be on Windows with MQ 5.3 CSD 06 don't forget to apply the relevant APAR...

Enjoy
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 » General Discussion » Failed to obtain a connection with MQSeries
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.