Jazz Build Engine Timestamp revisited
I am running Jazz 4.0.4 on a Red Hat Enterprise Linux 6 server virtual machine. I run bot the RTC eclipse client and the JBE on the same machine
All the times displayed in the RTC client are correct (EDT)
But the JBE timestamp appears to EST.
[jfeldman@bosvmjerry ~]$ date
Fri May 2 16:01:00 EDT 2014
[jfeldman@bosvmjerry ~]$ myjbe
2014-05-02 15:01:09 [Jazz build engine] Running build loop...
2014-05-02 15:01:09 [Jazz build engine] Waiting for request...
The build listing in the client shows the correct start time.
I am certain that the virtual machine is configured correctly. Also, the repository server is in the same timezone.
All the times displayed in the RTC client are correct (EDT)
But the JBE timestamp appears to EST.
[jfeldman@bosvmjerry ~]$ date
Fri May 2 16:01:00 EDT 2014
[jfeldman@bosvmjerry ~]$ myjbe
2014-05-02 15:01:09 [Jazz build engine] Running build loop...
2014-05-02 15:01:09 [Jazz build engine] Waiting for request...
The build listing in the client shows the correct start time.
I am certain that the virtual machine is configured correctly. Also, the repository server is in the same timezone.
Accepted answer
Ralph.
Issue resolved:
[devusr@USSLTCSNL2483 eclipse]$ cat jbe.ini
-vm
/usr/bin/java
--launcher.suppressErrors
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Dcom.ibm.team.filesystem.client.disable.fslistener=true
-Duser.timezone=America/New_York
-verbose:gc
[devusr@USSLTCSNL2483 eclipse]$ date
Fri Mar 17 14:31:59 EDT 2017
[devusr@USSLTCSNL2483 eclipse]$ ./jbe -repository https://10.118.19.57:9443/ccm/ -userId mikuzmenko -passwordFile ./passwd -engineID t_main -data /data/Build/empi_usjar/code -interactive
2017-03-17 14:32:04 [Jazz build engine] Running build loop...
2017-03-17 14:32:04 [Jazz build engine] Waiting for request...
Thank you
Comments
Mikhail Kuzmenko
Mar 19 '17, 6:46 p.m.We have the same problem. Any updates?
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Mar 17 '17, 10:11 a.m.What are the timezone settings of
Mikhail Kuzmenko
Mar 17 '17, 10:29 a.m.>>The machine that hosts the JBE
Eastern Standard Time
Mikhail Kuzmenko
Mar 17 '17, 10:30 a.m.All Windows hosts was shift to daytime automatically with
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Mar 17 '17, 10:31 a.m.The server that hosts the JBE shows the same timezone the JBE shows - at least from the information above. So there is no surprised the JBE shows the same. Am I missing something?
Mikhail Kuzmenko
Mar 19 '17, 6:47 p.m.JBE does not show timezone actually.
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Mar 17 '17, 10:52 a.m.I would have expected the JBE uses the timezone of the machine.
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Mar 17 '17, 11:02 a.m.The java application likely uses SimpleDateFormat http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html#timezone to print the time , so GMT+/- hour might be also a valid input.
Mikhail Kuzmenko
Mar 19 '17, 6:47 p.m.Ralph.
Mikhail Kuzmenko
Mar 19 '17, 6:47 p.m.Correction:
Mikhail Kuzmenko
Mar 19 '17, 6:47 p.m.Sorry for confuse you: