Daylight saving in Trkey problem
Hello. We have linux machine and we have app in there. FOr date command, it shows true date but in spring boot application, we cant get true date. It iss 1 hour later. So we follow guides to update but we cant manage. for example here http://www.oracle.com/technetwork/java/javase/tzupdater-readme-136440.html#i... Please suggest us something to do. -- Caner Aydin Software Developer Infoowl Software Solutions & Consultancy +90 542 788 62 64 <%2B90%20530%20960%2035%2053> www.infoowl.net
root@vegan:/home/vegan/Downloads/tzupdater-2.1.0# java -jar tzupdater.jar -l file:///home/vegan/Downloads/tzdata2016g.tar.gz Using file:///home/vegan/Downloads/tzdata2016g.tar.gz as source for tzdata bundle. Error. SHA-512 hash for downloaded bundle does not match expected SHA-512 hash. Expected : 25d33125d34458b7a9af627ec3d47b76b1b1fe90e22bf715d2bc642506f97b2667754b948b010b0e54e36a81907b8003ebe9878c8e1f8bdc2ac70cff5bec834b Calculated : 17e8e70806e2f19cb05ea88d5fe46300251a814887adbd19e86a6b4cd4d9136e6f6bd77a8196f07efa3f6e718691d54bd60fb02c933dd915de91eb3ad73cbc32 Please reference tzupdater README i cant make this. i need to do sha512, i do as described but it doesnot work. On 4 November 2016 at 08:12, Caner Aydinbey <caner.aydinbey@infoowl.net> wrote:
Hello. We have linux machine and we have app in there.
FOr date command, it shows true date but in spring boot application, we cant get true date. It iss 1 hour later.
So we follow guides to update but we cant manage.
for example here
http://www.oracle.com/technetwork/java/javase/ tzupdater-readme-136440.html#issues
Please suggest us something to do.
--
Caner Aydin Software Developer Infoowl Software Solutions & Consultancy
+90 542 788 62 64 <%2B90%20530%20960%2035%2053> www.infoowl.net
-- Caner Aydin Software Developer Infoowl Software Solutions & Consultancy +90 542 788 62 64 <%2B90%20530%20960%2035%2053> www.infoowl.net
On 11/03/2016 11:16 PM, Caner Aydinbey wrote:
i need to do sha512, i do as described but it doesnot work.
I guess Oracle's TZUpdater tool normally checks your tzdata updates against a central server maintained by Oracle, and verifies that your update matches a checksum on file with the central server. This prevents users from installing their own changes (and also poses some interesting privacy and security implications -- did you know about that central server?). If I'm right, it sounds like you could fix things by running a shell command like this: sha512sum tzdata2016g.tar.gz | awk '{print $1}' >tzdata2016g.tar.gz.sha512 just before running TZUpdater. Here 'sha512sum' is the GNU core utilities SHA-512 checksummer and 'awk' is POSIX Awk. The documentation in http://www.oracle.com/technetwork/java/javase/tzupdater-readme-136440.html is unclear about this, though. For clarity, please ask Oracle tech support, as this mailing list is a generic one and we aren't expert in Oracle's quirks. You might also consider upgrading to 2016i instead of bothering with 2016g.
On 2016-11-04 13:00, Paul Eggert wrote:
On 11/03/2016 11:16 PM, Caner Aydinbey wrote:
i need to do sha512, i do as described but it doesnot work. I guess Oracle's TZUpdater tool normally checks your tzdata updates against a central server maintained by Oracle, and verifies that your update matches a checksum on file with the central server. This prevents users from installing their own changes (and also poses some interesting privacy and security implications -- did you know about that central server?). If I'm right, it sounds like you could fix things by running a shell command like this: sha512sum tzdata2016g.tar.gz | awk '{print $1}' >tzdata2016g.tar.gz.sha512 just before running TZUpdater. Here 'sha512sum' is the GNU core utilities SHA-512 checksummer and 'awk' is POSIX Awk. The documentation in http://www.oracle.com/technetwork/java/javase/tzupdater-readme-136440.html is unclear about this, though. For clarity, please ask Oracle tech support, as this mailing list is a generic one and we aren't expert in Oracle's quirks. You might also consider upgrading to 2016i instead of bothering with 2016g.
Try the attached script extracted from a larger one if it gets thru the filters. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
I solved for my local. THank you. But i need to do for docker containers. We have app that has 7-8 docker containers. Docker has its own jre. So what can i do about it? I couldnot find any guide for this. On 4 November 2016 at 22:00, Paul Eggert <eggert@cs.ucla.edu> wrote:
On 11/03/2016 11:16 PM, Caner Aydinbey wrote:
i need to do sha512, i do as described but it doesnot work.
I guess Oracle's TZUpdater tool normally checks your tzdata updates against a central server maintained by Oracle, and verifies that your update matches a checksum on file with the central server. This prevents users from installing their own changes (and also poses some interesting privacy and security implications -- did you know about that central server?).
If I'm right, it sounds like you could fix things by running a shell command like this:
sha512sum tzdata2016g.tar.gz | awk '{print $1}' >tzdata2016g.tar.gz.sha512
just before running TZUpdater. Here 'sha512sum' is the GNU core utilities SHA-512 checksummer and 'awk' is POSIX Awk. The documentation in http://www.oracle.com/technetwork/java/javase/tzupdater-readme-136440.html is unclear about this, though. For clarity, please ask Oracle tech support, as this mailing list is a generic one and we aren't expert in Oracle's quirks.
You might also consider upgrading to 2016i instead of bothering with 2016g.
-- Caner Aydin Software Developer Infoowl Software Solutions & Consultancy +90 542 788 62 64 <%2B90%20530%20960%2035%2053> www.infoowl.net
participants (3)
-
Brian Inglis -
Caner Aydinbey -
Paul Eggert