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 IBM MQ Support » Message lost while disconnection two machines!

Post new topic  Reply to topic
 Message lost while disconnection two machines! « View previous topic :: View next topic » 
Author Message
JImmy
PostPosted: Tue Jan 21, 2003 10:38 pm    Post subject: Message lost while disconnection two machines! Reply with quote

Acolyte

Joined: 23 Feb 2002
Posts: 59
Location: Shanghai, China

Hi,
I define a sender channel in my local machine and a receiver channel in a
remote machine. Also I define the remote queue definition and transmission
queue in my local machine and a local queue in the remote machine.
If I disconnect the remote machine from my loal machine, all the message
sent to remote queue definition should be stored in transmission queue. But
I found that after the disconnection, the first message put to remote queue
definition can not be stored in the transmission queue, and all the
following message can be stored in transmission queue.
Can anybody tell me why?

Thanks

Jimmy
Back to top
View user's profile Send private message Visit poster's website AIM Address
emileke
PostPosted: Tue Jan 21, 2003 11:57 pm    Post subject: Reply with quote

Centurion

Joined: 19 Aug 2001
Posts: 110
Location: South Africa

What do you mean by disconnect the remote machine?
Do you disconnect before you send the messages?
Is it not on the remote machine?

If by disconnect you mean rebooting of the remote machine, is the local queue and the messages persistent?
_________________
Emile M Kearns
Back to top
View user's profile Send private message
JImmy
PostPosted: Wed Jan 22, 2003 12:01 am    Post subject: Reply with quote

Acolyte

Joined: 23 Feb 2002
Posts: 59
Location: Shanghai, China

Thanks for you response,

1. I disconnect the remote machine from our LAN, that is what i said disconnection.

2. I disconnect first, send the message second

3. local queue is not assigned the persistent attribute.
Back to top
View user's profile Send private message Visit poster's website AIM Address
emileke
PostPosted: Wed Jan 22, 2003 1:28 am    Post subject: Reply with quote

Centurion

Joined: 19 Aug 2001
Posts: 110
Location: South Africa

Why don't you try the following;

1. Stop the channel between local and remote machine.
2. Send the message to the remote queue on local machine.
3. See if all the messages are in the XMITQ.
4. If not, check the DLQ if you have one assigned to your QMGR, in fact , make sure that you always have a DLQ assigned to the DLQ.
_________________
Emile M Kearns
Back to top
View user's profile Send private message
mgrabinski
PostPosted: Wed Jan 22, 2003 11:31 pm    Post subject: Reply with quote

Master

Joined: 16 Oct 2001
Posts: 246
Location: Katowice, Poland

Hi Jimmy,

Here is what you are experiencing:

You are sending a bunch of non-persistent messages over a channel with NPMSPEED set to FAST (default settings). When you disconnect the remote host, the message currently on the way doesn't reach the remote manager. Your local manager thinks the message has been sent and tries to send another. Doing so it discovers that the link is down, so doesn't send any more messages.

To solve it, simply send persistent messages or set the NPMSPEED parameter of the sender channel to NORMAL. Both settings will enable an internal "commit" processing in the channel and no message will be lost.
_________________
Marcin Grabinski <><
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 » General IBM MQ Support » Message lost while disconnection two machines!
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.