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 » Messages are lost

Post new topic  Reply to topic Goto page 1, 2  Next
 Messages are lost « View previous topic :: View next topic » 
Author Message
Gert
PostPosted: Wed Jun 13, 2007 5:16 am    Post subject: Messages are lost Reply with quote

Newbie

Joined: 13 Jun 2007
Posts: 9

Hey,

I have the following situation:
- When I Stop my QM or the sender channel and I send in a message with BizTalk, this message stays on the queue or in BizTalk. When the I start everything back, the message is retried or send to AS400 correctly.

- I unplug my network cable and send in a message via BizTalk and MQSeries. The status of the sender channel is still running but after a few minutes it goed in the retry mode. When I then plugin my network cable again, the sender channel goes back in the Runnig modus but my message is lost!!! I do not know where the message is. It is not in biztalk because everything is on the same machine. Only the network connection to AS400 is lost.

How can I get my message are see where it is???
Back to top
View user's profile Send private message
DTran
PostPosted: Wed Jun 13, 2007 7:19 am    Post subject: Reply with quote

Acolyte

Joined: 11 May 2006
Posts: 62
Location: Amsterdam

Hi Gert,

is the message persisitent? if not, did your application puts an expiry on the message?
_________________
There are 10 types of people in this world - those who understand binary and those who don't
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
tleichen
PostPosted: Wed Jun 13, 2007 7:26 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

Are you sending from a client or server? Also, have you checked the dead letter queue?
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
Gert
PostPosted: Wed Jun 13, 2007 9:50 pm    Post subject: Reply with quote

Newbie

Joined: 13 Jun 2007
Posts: 9

DTran wrote:
Hi Gert,

is the message persisitent? if not, did your application puts an expiry on the message?

The message is Not Persistent.
How can I check the expiry?
Back to top
View user's profile Send private message
Gert
PostPosted: Wed Jun 13, 2007 9:51 pm    Post subject: Reply with quote

Newbie

Joined: 13 Jun 2007
Posts: 9

tleichen wrote:
Are you sending from a client or server? Also, have you checked the dead letter queue?


I am sending from a server.

I defined a dead letter queue but nothing is on if I am checking correct.
Can you give me the excact steps to check this?
Back to top
View user's profile Send private message
Nigelg
PostPosted: Wed Jun 13, 2007 10:21 pm    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Quote:
The message is Not Persistent


It is normal for a non-persistent msg to be lost if a channel fails. Set the channel attribute NPMSPEED to NORMAL.
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
Gert
PostPosted: Wed Jun 13, 2007 11:22 pm    Post subject: Reply with quote

Newbie

Joined: 13 Jun 2007
Posts: 9

Nigelg wrote:
Quote:
The message is Not Persistent


It is normal for a non-persistent msg to be lost if a channel fails. Set the channel attribute NPMSPEED to NORMAL.


Do I have to set it also to Persistent?

I thought that MQSeries was guaranteed delivery? How can I make it guaranteed?
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Wed Jun 13, 2007 11:30 pm    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Gert wrote:
Nigelg wrote:
Quote:
The message is Not Persistent


It is normal for a non-persistent msg to be lost if a channel fails. Set the channel attribute NPMSPEED to NORMAL.


Do I have to set it also to Persistent?

I thought that MQSeries was guaranteed delivery? How can I make it guaranteed?


Sometimes you need persistent messages , sometimes not.
It depends on design ?

If you need persistent messages just set this message attribute to 1 ?
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
Gert
PostPosted: Wed Jun 13, 2007 11:33 pm    Post subject: Reply with quote

Newbie

Joined: 13 Jun 2007
Posts: 9

marcin.kasinski wrote:
Gert wrote:
Nigelg wrote:
Quote:
The message is Not Persistent


It is normal for a non-persistent msg to be lost if a channel fails. Set the channel attribute NPMSPEED to NORMAL.


Do I have to set it also to Persistent?

I thought that MQSeries was guaranteed delivery? How can I make it guaranteed?


Sometimes you need persistent messages , sometimes not.
It depends on design ?

If you need persistent messages just set this message attribute to 1 ?


What is the actual difference between persistent and non-persistent?

This is not clear to me.

In the HELP file is written that persistent message survive network and communication failures.
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Wed Jun 13, 2007 11:39 pm    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Gert wrote:

What is the actual difference between persistent and non-persistent?

This is not clear to me.

In the HELP file is written that persistent message survive network and communication failures.


It is true.

Persistent message survive network and communication failures because they are stored on filesystem.
Non-persistent message won't survive network and communication failures because they are kept in memory.
_________________
Marcin


Last edited by marcin.kasinski on Thu Jun 14, 2007 12:02 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Gert
PostPosted: Wed Jun 13, 2007 11:47 pm    Post subject: Reply with quote

Newbie

Joined: 13 Jun 2007
Posts: 9

marcin.kasinski wrote:
Gert wrote:

What is the actual difference between persistent and non-persistent?

This is not clear to me.

In the HELP file is written that persistent message survive network and communication failures.


An it is true ?

Persistent message survive network and communication failures because they are stored on filesystem.
Non-persistent message won't survive network and communication failures because they are kept in memory.


So persistent is just slower because of the filesystem. We have a lot of small messages so this would not be a problem.

When a message is send ok, it will be deleted from the filesystem?

Where can I find these saved messages?
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Wed Jun 13, 2007 11:57 pm    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Gert wrote:


So persistent is just slower because of the filesystem.

Yes
Gert wrote:

When a message is send ok, it will be deleted from the filesystem?

Yes
Gert wrote:

Where can I find these saved messages?


Why do you need this information ?

For you the most important is information if message survive failure and QMGR restart.

Both types of messages you cat get and pu twit hthe same API.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Thu Jun 14, 2007 12:41 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Gert wrote:

Where can I find these saved messages?


In the queue manager's log, in a propietory IBM format which is undocumented and likely to change without warning between versions if IBM decide they need to change it.

Don't go looking. Queue managers (especially Windows ones) can get cross if they find there's another file handle open on their logs while they're running.....

(Don't ask how I know that!)
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Gert
PostPosted: Thu Jun 14, 2007 1:26 am    Post subject: Reply with quote

Newbie

Joined: 13 Jun 2007
Posts: 9

I did a test with persistent messages and this works ok even with unpluging the network cable and pluging it back in.

Thanks...
Back to top
View user's profile Send private message
Nigelg
PostPosted: Thu Jun 14, 2007 12:56 pm    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Why did you not do as I suggested?

Setting the NPMSPEED attribute to NORMAL causes non-persistent msgs to act like persistent msgs as far as channels are concerned, i.e. the msgs are read from the xmitq in syncpoint, and rolled back to the xmitq in the event of a channel failure.
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » Messages are lost
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.