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 » WebSphere Interchange Server + Adapters » ICS -MQ - Connection problems

Post new topic  Reply to topic
 ICS -MQ - Connection problems « View previous topic :: View next topic » 
Author Message
bpsree
PostPosted: Thu Oct 21, 2004 11:34 am    Post subject: ICS -MQ - Connection problems Reply with quote

Novice

Joined: 13 Sep 2004
Posts: 18

We have a production ICS server that is running and I am trying to
connect to the Q Mgr. on the production server from another development
ICS server with the help of MQ adapters.

The MQ adapters are able to run for some time and pull the messages
for sometime and somehow the connection is getting lost and the MQ
adapters are stopping abruptly.

I got the following error message in the Error Logs of production Q Mgr.

Quote:
AMQ9208: Error on receive from host xxxx
EXPLANATION:
An error occurred receiving data from xxxx over TCP/IP. This may be due to a communications failure.
ACTION:
The return code from the TCP/IP (recv) call was 10054 (X'2746').


I have been suggested by one MQ person to create a dead letter Q on the
production box.

1) there is a dead letter queue SYSTEM.DEAD.LETTER.QUEUE defined on
the qmgr on the production server. Do I have to create another dead
letter Q to handle undeliverable messages?

2) Messages failed to be put to queue 'Q2' with reason code 2053. 2053
is MQRC_Q_FULL. If I increase the size of max. Q depth on this Queue,
would that help me to get rid off the connection problems.
I appreciate your suggestions..

Thank you,
Back to top
View user's profile Send private message
offshore
PostPosted: Thu Oct 21, 2004 12:19 pm    Post subject: Reply with quote

Master

Joined: 20 Jun 2002
Posts: 222

1.] No you don't need an additional DLQ. Only 1 per queue manager.

2.] I don't think so. You're dealing w/ 2 separate issues. If a particular queue is full, an additional messages attempted to be delivered to the queue will get places in the DLQ.

You need to figure you why you have a large amount of messages on that particular queue. Is the application not picking them up?


The return code 10054 means the connection was reset by the peer
computer - in other words, an existing connection was forcibly closed
by the remote host.
Back to top
View user's profile Send private message Send e-mail
bpsree
PostPosted: Fri Oct 22, 2004 4:31 am    Post subject: Thank you Reply with quote

Novice

Joined: 13 Sep 2004
Posts: 18

Thank you journeyman,
I am analyzing my application on the development server to figure what is happening exactly. As you said, I need not create another DLQ, but just make the Q Mgr. use the existing and the Max. Q Depth on the Q has nothing to do with resetting of the connection.

Thanks anyway!!
Back to top
View user's profile Send private message
csmith28
PostPosted: Fri Oct 22, 2004 12:01 pm    Post subject: Re: Thank you Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

bpsree wrote:
Thank you journeyman,
I am analyzing my application on the development server to figure what is happening exactly. As you said, I need not create another DLQ, but just make the Q Mgr. use the existing and the Max. Q Depth on the Q has nothing to do with resetting of the connection.

Thanks anyway!!


Well if the queue the application is putting to is full and the MQManager cannot put the messages anywhere else because not DLQ is defined or you have not told your MQMGR to use the SYSTEM.DEAD.LETTER.QUEUE with the -u argument when the MQMGR was created it may be causing the application to fail.

Historically when I see the "connection reset by peer" TCP/IP Return Code it means the application has failed (in most cases).

So if the application is getting a 2053 MQRC_Q_FULL, perhaps the it is failing because it does not know how to deal with these set of circumstances.

What you need to do is, figure out why your destination Queue is filling up. If you just enlarge the MAXDEPTH on the destination Queue and the application that is supposed to be GETTING those messages off that queue still isn't doing it's job then your queue will fill up again. The only difference is, it will have more messages in it waiting to be picked up.

offshore's advice was sound.
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
bpsree
PostPosted: Mon Oct 25, 2004 4:35 am    Post subject: DLQ assignment Reply with quote

Novice

Joined: 13 Sep 2004
Posts: 18

Thank you master,
The Q Mgr. is in production. And I am not sure how do I assign the SYSTEM DLQ to the existing Q Mgr.
Could you please let me know, how do I this. I have already increased the Max Q depth on the Input Q.
After pointing the Q mgr to the DLQ, I would run the application and see if it works fine.
Thanks!
Back to top
View user's profile Send private message
csmith28
PostPosted: Mon Oct 25, 2004 7:33 am    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

alter qmgr DEADQ(SYSTEM.DEAD.LETTER.QUEUE) or you can define your own unique DLQ but there isn't much point in it. You can only have one DLQ so why not use the default.
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
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 » WebSphere Interchange Server + Adapters » ICS -MQ - Connection problems
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.