简体   繁体   English

WSO2 EI 6.3.0 - 时区问题

[英]WSO2 EI 6.3.0 - timezone issue

I have issue with dataservices in EI6.3.0 related to timezone. 我在与时区有关的EI6.3.0中有数据服务问题。 I am in: Central European Time (CET) +0100 UTC (Daylight Saving Time). 我在:中欧时间(CET)+0100 UTC(夏令时)。 When I invoke "select sysdate from dual" I still getting wrong time - 1 hour after my current time. 当我调用“从双重选择sysdate”时,我仍然得到错误的时间-当前时间之后的1小时。 For example when is 9.00 PM I get response 10.00 PM. 例如,当晚上9点我得到回应10.00 PM。 I have WSO2 AS 5.2.1 and there is no issue with time. 我有WSO2 AS 5.2.1,并且时间没有问题。 I tried serveral solution like : -Ddss.legacy.timezone.mode=true but none of them is working. 我尝试了几个解决方案,如:-Ddss.legacy.timezone.mode = true但它们都没有工作。 Can you help me? 你能帮助我吗?

I solved this issue by adding: Ddss.legacy.timezone.mode=true to both configuration: 我通过在两个配置中添加:Ddss.legacy.timezone.mode = true来解决此问题:
...\\wso2ei-6.3.0\\bin\\integrator.bat ... \\ wso2ei-6.3.0 \\ BIN \\ integrator.bat
...\\wso2ei-6.3.0\\yajsw-stable-11.11\\conf\\wrapper.conf ... \\ wso2ei-6.3.0 \\ yajsw稳定-11.11 \\的conf \\ wrapper.conf
Previously I forgot to add this entry to wrapper.conf cause I run WSO2 as windows service. 以前,我忘记将此条目添加到wrapper.conf中,因为我将WSO2作为Windows服务运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM