We are facing weird issue with AEM. server date is showing in the PDT and also, we are using the -Duser.timezone in the timezone to set the timezone as PST but still in the siteadmin#, seeing some different timezone. Please advice, logs are fine, it is showing correct timezone only.
bash-4.2$ date
Mon May 2 13:35:01 PDT 2016
CQ_JVM_OPTS -Duser.timezone=America/Los_Angeles
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Sandeep,
Could you please check that all your server AEM, Unix, any DB, any other server is set to the same time zone and is in sync. See if that helps, but I believe this was the first thing you might have checked.
One more thing, AEM's default timezone is America/Los_Angeles if could remember it correctly. remove your timezone arg once and see if this solves this problem. While this is not a solution to this issue but might help you if you need this urgently.
If everything fails close this ticket and log a ticket with daycare.
Thanks
Tuhin
Views
Replies
Total Likes
Hi Sandeep,
If you are using -Duser.timezone that should be more than enough to show the correct time.
Please note that the time shown in the siteadmin is the last edited/modified time. So the current time wont be there in the siteadmin.
Thanks
Tuhin
Views
Replies
Total Likes
Hi
Supporting Tuhin,
Please have a look at this old forum threads:-
//In the start up script pass the JVM param -Duser.timezone with the value you want
Reference article:- https://forums.adobe.com/thread/1061940
//
When user makes any modification on page the PagePostProcessor saves the content along with modifying date. As it is done at server side it should take server timezone. I have seen issue with earlier jdk bug in one of envirnoment. Coud you please explictely set system property (-Duser.timezone) & verify.
I hope this would be useful for you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
kautuksahni wrote...
Hi
Supporting Tuhin,
Please have a look at this old forum threads:-
//In the start up script pass the JVM param -Duser.timezone with the value you want
Reference article:- https://forums.adobe.com/thread/1061940
//
When user makes any modification on page the PagePostProcessor saves the content along with modifying date. As it is done at server side it should take server timezone. I have seen issue with earlier jdk bug in one of envirnoment. Coud you please explictely set system property (-Duser.timezone) & verify.
I hope this would be useful for you.
Thanks and Regards
Kautuk Sahni
Hi Kautuk,
We already have -Duser.timezone in the CQ_JVM_OPTS parameter and date command is showing the PST timezone only but still it is showing the time CurrentTime -3 hours in the siteadmin. Please advice what else i need to do to fix this.
CQ_JVM_OPTS='-server -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xmx4096m -XX:MaxPermSize=512M -Djava.awt.headless=true -javaagent:/app/A
EM6/author/crx-quickstart/app/newrelic/newrelic.jar -Djava.io.tmpdir=/app/AEM6/author/tmp -Duser.timezone=America/Los_Angeles'
I have opened a ticket for my Unix team but they are not sure if any other system property which needs to be updated.
Views
Replies
Total Likes
Hi Sandeep,
Could you please check that all your server AEM, Unix, any DB, any other server is set to the same time zone and is in sync. See if that helps, but I believe this was the first thing you might have checked.
One more thing, AEM's default timezone is America/Los_Angeles if could remember it correctly. remove your timezone arg once and see if this solves this problem. While this is not a solution to this issue but might help you if you need this urgently.
If everything fails close this ticket and log a ticket with daycare.
Thanks
Tuhin
Views
Replies
Total Likes
Yup, earlier timezone field was not there in the start script but DayCare support person advised to add the value in the script. I will reopen the ticket. thanks.
Views
Replies
Total Likes
If you are opening a day care ticket then please close this one.
Thanks
Tuhin
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies