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 Message Broker (ACE) Support » Mistmatch in the timestamp of Broker's Trace output and MQM

Post new topic  Reply to topic
 Mistmatch in the timestamp of Broker's Trace output and MQM « View previous topic :: View next topic » 
Author Message
torryramesh
PostPosted: Wed Apr 27, 2005 12:20 pm    Post subject: Mistmatch in the timestamp of Broker's Trace output and MQM Reply with quote

Novice

Joined: 06 Aug 2004
Posts: 15

Environment:
AIX V 5, WMQI 2.1 with CSD 6, MQ V 5.3

Issue brief: Mistmatch in the timestamp of Broker's Trace output and MQMD PutTime.

Issue Description: We have built a message tracking tool to monitor flow of interface messages in production. When the message reaches the hub,
we store the MQMD put time in the DB to later display in the UI for the message. Also, trace is enabled for all the execution groups (this will be retained for some time...). The trace file has a time one hour behind what the puttime represents.
Eg.
MQMD PUT TIME to HUB -> 15:56:04
Broker Trace - Message Arrival time -> 16:56:04

(All times are represented in GMT.)

Can anyone suggest why this might happen ? Do we have to set any parameter in MQ or in the Broker so that these two give the same picture ?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 27, 2005 12:47 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So, your Broker is acting as a hub.

That means that messages coming from other computers are passing through the Broker.

And you're surprised that the clock on the other computers is different than the one on the broker?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
torryramesh
PostPosted: Thu Apr 28, 2005 12:19 pm    Post subject: Mismatch in Timstamp. Reply with quote

Novice

Joined: 06 Aug 2004
Posts: 15

I believe the MQ Queue Manager at the source will convert its local time into GMT which is then filled in MQMD PutTime.
Based on this assumption, why should the Broker trace indicate a different timestamp
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 28, 2005 12:56 pm    Post subject: Re: Mismatch in Timstamp. Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

torryramesh wrote:
I believe the MQ Queue Manager at the source will convert its local time into GMT which is then filled in MQMD PutTime.
Based on this assumption, why should the Broker trace indicate a different timestamp


Because the clock on machine A is different than machine B.

So when the time on machine A gets converted to GMT, it is still wrong.

And so when it moves over to machine B, it's still a different time than the GMT time on machine B.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Apr 28, 2005 8:02 pm    Post subject: Reply with quote

Grand High Poobah

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

Or just assume computer B has set its Time Zone to CET
Now for whatever reason B has forgotten to define a summer time period.

Voila B is now sending messages (if it's clock is set to display the correct local time) that are no longer keeping GMT time but GMT + 1.

So when B sends a message at 17:00 GMT (19:00) local (Summer time in CET = GMT +2) it's GMT time gets set to 18:00. (And you get 1 hour synchronization problem right there)

Just because a computer displays the right time does not mean that it's time zone settings are right. !! This will skew the way GMT/UTC is calculated from local time...



Back to top
View user's profile Send private message Send e-mail
torryramesh
PostPosted: Fri Apr 29, 2005 11:29 am    Post subject: Reply with quote

Novice

Joined: 06 Aug 2004
Posts: 15

One more fact that I would like to add to my initial question:
We have a cluster set up in the production environment. We have API Exits(Put) configured for all applications connecting to hub.

So, when the Source Application connects to QMgr A which is in Eastern Time and puts a message to a clustered queue, the exits caputre the PUTTIME - SOURCE. This can be different from Broker's timestamp and we know it.

But, when the message is actually put in the physical queue in the hub, another put time is generated. Lets call this PUTTIME-HUB. My question on the Mismatch of timestamp is between this PUTTIME-HUB and the WMQI Broker Trace timestamp and nothing to do with PUTTIME-SOURCE.

Sorry for misleading the group. Would appreciate if you could share some more on what you think.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Apr 29, 2005 7:52 pm    Post subject: Reply with quote

Grand High Poobah

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

Well that would all depend on what is happening between the 2 registrations:
A) uncorrectly defined TimeZones
B) Communications problems ?? Remember MQ is Asynchronous !!
C) Work build up. It may take time to get to the message in the queue.

Etc ....

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 » WebSphere Message Broker (ACE) Support » Mistmatch in the timestamp of Broker's Trace output and MQM
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.