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 » Monitoring events Timezone

Post new topic  Reply to topic
 Monitoring events Timezone « View previous topic :: View next topic » 
Author Message
ashoka
PostPosted: Wed Feb 24, 2016 11:25 pm    Post subject: Monitoring events Timezone Reply with quote

Newbie

Joined: 17 Jun 2015
Posts: 6

When I raised a monitoring event on a node, in the event message I'm getting GMT time stamp in the field "creationTime".
Is there any possibility of getting the LocalTime in the "creationTime"
Back to top
View user's profile Send private message
maurito
PostPosted: Thu Feb 25, 2016 1:18 am    Post subject: Re: Monitoring events Timezone Reply with quote

Partisan

Joined: 17 Apr 2014
Posts: 358

ashoka wrote:
When I raised a monitoring event on a node, in the event message I'm getting GMT time stamp in the field "creationTime".
Is there any possibility of getting the LocalTime in the "creationTime"

What does the documentation say about creationTime ?
Is it a configurable property ?, can it be changed ?
Back to top
View user's profile Send private message
ruimadaleno
PostPosted: Thu Feb 25, 2016 1:48 am    Post subject: Reply with quote

Master

Joined: 08 May 2014
Posts: 274

all events are recorded in GMT time, afaik, in broker version 8, you cannot change this behaviour.

Please check your version documentation.
_________________
Best regards

Rui Madaleno
Back to top
View user's profile Send private message
timber
PostPosted: Thu Feb 25, 2016 2:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1292

Why would you *want* local time in the monitoring event?

Best practice is to always use UTC when communicating with a computer. Apply a time zone only when communicating with a human.
Back to top
View user's profile Send private message
ruimadaleno
PostPosted: Thu Feb 25, 2016 2:58 am    Post subject: Reply with quote

Master

Joined: 08 May 2014
Posts: 274

timber wrote:

Best practice is to always use UTC when communicating with a computer. Apply a time zone only when communicating with a human.


i agree
_________________
Best regards

Rui Madaleno
Back to top
View user's profile Send private message
ashoka
PostPosted: Thu Feb 25, 2016 3:40 am    Post subject: For Record Replay Reply with quote

Newbie

Joined: 17 Jun 2015
Posts: 6

timber wrote:
Why would you *want* local time in the monitoring event?

Best practice is to always use UTC when communicating with a computer. Apply a time zone only when communicating with a human.


Actually I was implementing Record Replay, while logging the event data into database I'm getting GMT timestamp but I need local time stamp.
Back to top
View user's profile Send private message
ashoka
PostPosted: Thu Feb 25, 2016 3:42 am    Post subject: Reply with quote

Newbie

Joined: 17 Jun 2015
Posts: 6

ruimadaleno wrote:
all events are recorded in GMT time, afaik, in broker version 8, you cannot change this behaviour.

Please check your version documentation.



Is there any possibility by using EJB in broker
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 25, 2016 5:25 am    Post subject: Reply with quote

Grand High Poobah

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

ashoka wrote:
ruimadaleno wrote:
all events are recorded in GMT time, afaik, in broker version 8, you cannot change this behaviour.

Please check your version documentation.



Is there any possibility by using EJB in broker

There is the possibility of using java. However the broker is not a J2EE container. So no EJB's...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ashoka
PostPosted: Thu Feb 25, 2016 5:54 am    Post subject: Reply with quote

Newbie

Joined: 17 Jun 2015
Posts: 6

fjb_saper wrote:
ashoka wrote:
ruimadaleno wrote:
all events are recorded in GMT time, afaik, in broker version 8, you cannot change this behaviour.

Please check your version documentation.



Is there any possibility by using EJB in broker

There is the possibility of using java. However the broker is not a J2EE container. So no EJB's...


If we see the toolkit installation directory we had one file "WMBEventEmitterEAR.ear" file.
I'm trying to change that time format in .ear file but I'm unable to do this.
Do you have any idea on this.
Back to top
View user's profile Send private message
timber
PostPosted: Thu Feb 25, 2016 6:20 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1292

Quote:
Actually I was implementing Record Replay, while logging the event data into database I'm getting GMT timestamp but I need local time stamp.
Why do you need the local time stamp? Why can't the code that consumes the event apply the local time zone?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Feb 25, 2016 6:55 am    Post subject: Reply with quote

Grand High Poobah

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

ashoka wrote:
If we see the toolkit installation directory we had one file "WMBEventEmitterEAR.ear" file.


On the understanding I don't get Java, what has something in the Toolkit directory got to do with how the Runtime produces event messages?

I echo the belief of my associate that IIB isn't a J2EE Container.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Feb 25, 2016 6:55 am    Post subject: Reply with quote

Grand High Poobah

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

timber wrote:
Quote:
Actually I was implementing Record Replay, while logging the event data into database I'm getting GMT timestamp but I need local time stamp.
Why do you need the local time stamp? Why can't the code that consumes the event apply the local time zone?



_________________
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 » WebSphere Message Broker (ACE) Support » Monitoring events Timezone
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.