History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: SDK-12908
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: C C
Assignee: Gong
Reporter: Gary Mangum
Votes: 2
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Flex SDK

Compiler forces AMFChannel to specify port, but specifying port causes Firefox to hang

Created: 10/04/07 03:25 PM   Updated: 11/21/07 09:20 AM
Component/s: RPC: General
Security Level: Public (All JIRA Users )

Issue Links:
Cloners
This issue is cloned by:
SDK-12953 You can't use an endpoint URI without... Closed
 
Duplicate
This issue duplicates:
SDK-12953 You can't use an endpoint URI without... Closed
 

Severity: Crash/Hang
Reproducibility: Every Time
Discoverability: High
Found in Version: Moxie M3 (Beta 2) - 183654
Milestone:
Affected OS(s): All OS Platforms
Steps to Reproduce:
I upgraded to Flex Builder 3 Beta 2.

When I compiled, I got the following compiler error:
 "Invalid endpoint port '' specified for channel definition 'my-amf'."

I changed my services-config.xml file to include the port in the URL when defining my endpoint like this:

        <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
            <endpoint uri="http://www.myCoolCompany.com:80/Fluorine/Gateway.aspx" class="flex.messaging.endpoints.AMFEndpoint"/>
        </channel-definition>

This allowed me to get past the compiler errors.

Then we discovered that this change causes problems with Firefox FlashPlayer 9.0.47.0. When my SWF tries to communicate using Flash Remoting it will hang and never return. This only seems to be a problem with Firefox and is not a problem with the later versions of FlashPlayer that are available to developers.

This is a big problem!

The current release of Flash Player is 9.0.47.0. This is the version that has the problem! Even if a later upgrade could fix the problem, I don't want to force my users to download a new flash player right now.

Why does beta 2 force this compiler error. This strict port definition requirement does not seem necessary and my SWF has been working without this port defined for quite some time.

Please remove this compiler error so that we can compile without it. To get rid of this problem for my users I was forced to go back to Flex Builder 3 beta 1. :-(

Language Found: English
Bugbase Id: none
Triaged: No
Regression: Yes
QA Owner: Gong
Resolved by: Trevor Baker
Participants: Gary Mangum, Gong, Kevin Langdon, Larry McLister, Lauren Park and Trevor Baker
JDK: Sun 1.6.x


 All   Comments      Sort Order:
Larry McLister - [10/04/07 11:16 PM ]
moved to SDK...

Kevin Langdon - [10/08/07 02:42 PM ]
The reason this does not work in Firefox is due to a crossdomain issue. If you watch traffic the player request the crossdomain xml from the server with port 80 appended. However on actual data requests the browser removes :80 as it is default http port. Therefore those data requests fail because the player sees it as a domain violation.

I don't think this is an SDK issue. It should probably be in the Flex Builder or Actionscript Compiler projects. This can't be fixed in the player, browser, or sdk, its a compiler issue.

Lauren Park - [10/18/07 06:55 PM ]
Sorry, had put this back in internal review --> back to wichan.

Trevor Baker - [11/21/07 09:18 AM ]
This issue was resolved by the fix in SDK-12953