cancel
Showing results for 
Search instead for 
Did you mean: 

Time Zone change for WebAs Java

Former Member
0 Kudos

Hi Folks!!!

Is there any way for changing the time zone for java stack ? We have few java application which should be running in different time zones and we can not change the server time zone.

I have tried using the parameter -Duser.timezone=ECT. But this doen't work.

Any other suggestions?

Regards,

Vamshi.

Accepted Solutions (1)

Accepted Solutions (1)

JPReyes
Active Contributor
0 Kudos

Nothing much I can add, it should work...

Read,

Regards

Juan

Former Member
0 Kudos

Hi Juan,

Thanks for your reply.

I have used this parameter, I have made these entries in the config tool, JVM parameters settings:

-Duser.timezone=Europe/Germany

Then I restarted the SAP cluster, But still in the system properties user settings I am able to see as Europe/London.

Regards,

Vamshi.

Former Member
0 Kudos

Hi Vamshi,

The SUN Java platform maintains a private repository of time zone data in locally installed files (.../jre/lib/zi) as part of the Java Runtime Environment software. Applying whatever operating system time zone patches will have no effect on the accuracy of the Java platform's time zone data. Application time is sourced from system time on the OS.

Please refer to below URLs for more informative data

Time zones and the Java Runtime Environment: Frequently Asked Questions

http://java.sun.com/javase/timezones/DST_faq.html

Note 834520 - Mapping of time zones between UME and ABAP

https://service.sap.com/sap/support/notes/834520

I hope this information helps you.

Regards

Sekhar

Former Member
0 Kudos

Hi Folks,

The parameter -Duser.timezone=Europe/Paris works, I was using Europe/Germany which was wrong format.

Regards,

Vamshi.

Answers (0)