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 API Support » lost file :)

Post new topic  Reply to topic
 lost file :) « View previous topic :: View next topic » 
Author Message
thimerion
PostPosted: Thu May 10, 2007 4:09 am    Post subject: lost file :) Reply with quote

Acolyte

Joined: 08 May 2007
Posts: 67
Location: Belgium

Hi,

I lost a file send over mq ... I would expect to find it somewhere, but it's gone gone gone ...

I am using java to put it on mq.

I found this error in the log:
10:59AM Charles Rowcliffe: 04/19/07 15:36:59
AMQ9526: Message sequence number error for channel 'XXX.TO.YYY'.

EXPLANATION:
The local and remote queue managers do not agree on the next message sequence
number. A message with sequence number 1 has been sent when sequence number
167 was expected.
ACTION:
Determine the cause of the inconsistency. It could be that the synchronization
information has become damaged, or has been backed out to a previous version.
If the situation cannot be resolved, the sequence number can be manually reset
at the sending end of the channel using the RESET CHANNEL command.

However I am doing nothing with the sequence numbers.

The only thing that I am sending over the channel are the actual messages, and the remote administration traffic (to check the status of a remote queue manager that is)

Any Ideas?

Tim
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu May 10, 2007 4:13 am    Post subject: Reply with quote

Grand High Poobah

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

For the channel sequence numbers to get out of sync, you've had an abend or one of the channels has been deleted & redefined. Have a look in the Intercommunication manual for a full explaination, and resolution strategies.

If you were sending the file as persistent messages, it should be in the xmitq, or possibly the DLQ. If it was sent as non-persistent it could well be gone gone gone.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Thu May 10, 2007 4:13 am    Post subject: Re: lost file :) Reply with quote

Sentinel

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

Have you checked transmission queue or DLQ (if persistent message) ?

Don't forget to check sequence number on both QMGRs.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
thimerion
PostPosted: Thu May 10, 2007 4:27 am    Post subject: queues Reply with quote

Acolyte

Joined: 08 May 2007
Posts: 67
Location: Belgium

Hi,

Did check transmission queue.

DLQ is that the active logs?

Tim
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Thu May 10, 2007 4:30 am    Post subject: Re: queues Reply with quote

Sentinel

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

thimerion wrote:
Hi,

Did check transmission queue.

DLQ is that the active logs?

Tim



DLQ - Dead Letter Queue.

You haven't mentioned if this lost message was persistent or not.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
thimerion
PostPosted: Thu May 10, 2007 6:05 am    Post subject: not found Reply with quote

Acolyte

Joined: 08 May 2007
Posts: 67
Location: Belgium

Ah I see, no I did not find it on the DLQ , not on the transmission queue. And also not in the /log/qmnr/active logs because it was not persistant (have changed that now)

I was messing a lot with changing config when I lost the message, I would be more worried that I had been changing nothing on the config and I lost one.

Thanks,
Tim
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu May 10, 2007 6:41 am    Post subject: Re: not found Reply with quote

Grand High Poobah

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

thimerion wrote:
Ah I see, no I did not find it on the DLQ , not on the transmission queue. And also not in the /log/qmnr/active logs because it was not persistant (have changed that now)

I was messing a lot with changing config when I lost the message, I would be more worried that I had been changing nothing on the config and I lost one.

Thanks,
Tim


Don't look in the log files yourself - the queue manager can get annoyed by that and unexpected results can occur. Accept that persistent messages will always be in a queue visable through the approved interface; non persistent messages (as you've discovered) disappear under certain circumstances.

I would say that the "messing a lot" has caused the channel to get out of sync. Resolve this and all will be well.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
thimerion
PostPosted: Thu May 10, 2007 6:54 am    Post subject: Thanks Reply with quote

Acolyte

Joined: 08 May 2007
Posts: 67
Location: Belgium

Thanks guys !!!

All persistant now, so they can only be in 3 queues? Local queue, transmission queue and dead queue ...

Hope on never lose messages anymore now.

I'd really like to continue looking in the active logs ... taking a copy of them and then looking in them can't hurt I'd think so ?

Tim
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu May 10, 2007 7:11 am    Post subject: Re: Thanks Reply with quote

Grand High Poobah

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

thimerion wrote:
I'd really like to continue looking in the active logs ... taking a copy of them and then looking in them can't hurt I'd think so ?


I struggle to think what's of any value in them; they're a proprietary format & mostly binary. If you access them while the queue manager is accessing them, it can cause problems, FDCs and other things especially on Windows where the file locking is built to the same high quality as the rest of their wretched software.

If you must look in the logs, shut the queue manager down & use the dump log utility described in the System Admin manual. Again, I struggle to see the value but hey! It's your system.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » IBM MQ API Support » lost file :)
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.