• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CF9 and Flex timezone issue

Advisor ,
Jun 17, 2016 Jun 17, 2016

Copy link to clipboard

Copied

Hi all,

I have this issue:

Apache Flex Users - Time zone issue

I am stuck trying to set the MyProxyBootstrapService example described in

FLEX: Handling Timezone Offset - Stack Overflow

Anyone from here can help?

Thanks in advanced.

Views

808

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Jun 21, 2016 Jun 21, 2016

Copy link to clipboard

Copied

This is the solution to my issue

http://flexblog.faratasystems.com/index.php/flex-local-datestime-transfer-issue/

I copied the LineItemDTO.java file into C:\ColdFusion9\wwwroot\WEB-INF\classes

as package com;

import java.io.Serializable; ...bla...

In My app i have the folder src\com, I add the file to this folder as:

package com

{

        import flash.events.EventDispatcher;

        [RemoteClass(alias="com.LineItemDTO")] ... bla...

Restart CF and start working. Now the client and server are using the same time zone.

Works fine in windows 7, but it doesn't work when I move my solution to windows 2003 server with CF9.

I run out of ideas, any ideas how to debug this issue?

Thanks !

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Jun 24, 2016 Jun 24, 2016

Copy link to clipboard

Copied

No CF expert can help ??

I found something that it was misleading my laptop solution.

When I connected to my laptop remotely with different time zone (hawai) the solution doesn't work.

It should be an explanation, anyone?

Thanks,

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 24, 2016 Jun 24, 2016

Copy link to clipboard

Copied

I wish I could be of assistance, but I know enough of CFAdmin to be dangerous, and I've never used Flex, so..

As opposed as I am to cross-posting, hopefully the powers-that-be wouldn't mind if you also posted this to CF Administration and/or a Flex forum.  You might find experts in those forums.

HTH,

^_^

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Jun 24, 2016 Jun 24, 2016

Copy link to clipboard

Copied

As you see in my first post I already have an open thread in Flex

Apache Flex Users - Time zone issue

They also asking to find someone in CF

I am out of ideas...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 24, 2016 Jun 24, 2016

Copy link to clipboard

Copied

Try the CF Administration forum.  This appears to be a configuration issue, which only CF Administrators can change.

HTH,

^_^

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 02, 2016 Jul 02, 2016

Copy link to clipboard

Copied

JFB00, did you also implement another suggestion from the Faratasystems blog, namely, that you also need to set the JVM timezone to UTC? You had to do this in the Coldfusion Administrator.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Jul 03, 2016 Jul 03, 2016

Copy link to clipboard

Copied

Yes, I did that BKBK. Also reboot the CF  server after. But the same issue.

Thanks for you reply !

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 03, 2016 Jul 03, 2016

Copy link to clipboard

Copied

LATEST

jfb00 wrote:

I found something that it was misleading my laptop solution.

When I connected to my laptop remotely with different time zone (hawai) the solution doesn't work.

What do you mean by "the solution doesn't work"? Please let us know:

What code you use;

What you expect it to do;

A description of the change or workaround you attempted;

What you expect the change or workaround to do;

What the result is;

Why this doesn't do what you expect it to.

When you pass the date object as a transient Java variable, then it should revert to its default value. Always. Even if the input date has Hawai timezone. So there is something going wrong in your procedure.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation