Highlighted

CF9 and Flex timezone issue

Advisor ,
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

440

Likes

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

CF9 and Flex timezone issue

Advisor ,
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

441

Likes

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
Jun 17, 2016 0
Advisor ,
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 !

Likes

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
Reply
Loading...
Jun 21, 2016 0
Advisor ,
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,

Likes

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
Reply
Loading...
Jun 24, 2016 0
LEGEND ,
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,

^_^

Likes

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
Reply
Loading...
Jun 24, 2016 0
Advisor ,
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...

Likes

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
Reply
Loading...
Jun 24, 2016 0
LEGEND ,
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,

^_^

Likes

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
Reply
Loading...
Jun 24, 2016 0
Adobe Community Professional ,
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.

Likes

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
Reply
Loading...
Jul 02, 2016 0
Advisor ,
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 !

Likes

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
Reply
Loading...
Jul 03, 2016 0
BKBK LATEST
Adobe Community Professional ,
Jul 03, 2016

Copy link to clipboard

Copied

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.

Likes

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
Reply
Loading...
Jul 03, 2016 0