Cannot select TimeZone - JVM returns differently formatted timezone
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
症状
Once logged in the Admin dashboard displays an error
Going to General Configuration in Admin the main timezone regions appear but the timezone dropdown list is not populated.
atlassian-jira.log に次のエラーが返される。
2011-08-17 18:32:59,928 http-8080-6 ERROR timp 1112x44x1 1ws28jx 10.1.1.241 /secure/admin/EditApplicationProperties!default.jspa [webwork.util.ValueStack] query="/timeZoneInfos" {[id="null" type="5" values=""]} {[id="timeZoneInfos" type="8" values=""]}
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
...
Caused by: java.lang.IllegalArgumentException: The datetime zone id is not recognised: GMT+10:00
at org.joda.time.DateTimeZone.forID(DateTimeZone.java:199)
at com.atlassian.jira.timezone.TimeZoneIds$1.apply(TimeZoneIds.java:30)
at com.atlassian.jira.timezone.TimeZoneIds$1.apply(TimeZoneIds.java:27)
at com.google.common.collect.MapMaker$StrategyImpl.compute(MapMaker.java:592)
診断
For example, Java returns GMT +10:00 instead of "Australia/Brisbane"
C:\JIRA\test>java ShowTimeZone
java.util.TimeZone.getDefault().getID() is 'GMT+10:00'原因
Possible issue with the windows implementation with JVM.
ソリューション
ソリューション
Modify the timezone as per our Set the timezone for the Java environment for Jira Data Center KB article, for example -Duser.timezone=Australia/Brisbane.
この内容はお役に立ちましたか?