Skip to main content
Inspiring
August 23, 2013
Answered

CF10 Flash Remoting

  • August 23, 2013
  • 4 replies
  • 2823 views

Hi all,

upgraded to CF10 from 9 this week and just realised that Flash Remoting is no longer working.  Any idea how I enable it within CF10?

Thanks

    This topic has been closed for replies.
    Correct answer carl type3

    yes...if I put the servername rather than localhost I get an empty page back - i.e.

    <html><head></head><body></body></html>


    Hi Phil, In ColdFusion10\config\wsconfig\1\uriworkermap.properties file

    /cfformgateway/* = cfusion
    /CFFormGateway/* = cfusion
    /flex2gateway/* = cfusion
    /flex2gateway = cfusion
    /cffileservlet/* = cfusion
    /CFFileServlet/* = cfusion
    /cfform-internal/* = cfusion
    /flashservices/gateway/* = cfusion
    /flashservices/gateway = cfusion
    /flex-internal/* = cfusion
    /rest/* = cfusion
    /*.cfml/* = cfusion
    /*.mxml = cfusion
    /*.as = cfusion
    /*.cfm = cfusion
    /*.cfm/* = cfusion
    /*.swc = cfusion
    /*.cfml = cfusion
    /*.cfc = cfusion
    /*.cfc/* = cfusion
    /*.cfr = cfusion

    Add the bolded line above. I may add take a copy of uriworkermap before changes.

    Restart IIS and maybe restart CF tho IIS restart should be enough to apply change.

    Test your flash.

    HTH, Carl.

    4 replies

    JeffryHouser
    Participating Frequently
    March 7, 2017

    I just spent a day knocking my head over the same issue; and this is one of the highest search results for the problem, so wanted to share my solution in hopes it will help others.  

    My environment was CF10 with Apache Web Server 2.2 .

    I was able to get Flex Remoting working by adding this line to the Apache config:

    JkMountCopy All

    As I understand it; this basically tells Apache Web Server that the jk module loading is inherited by all virtual hosts.  I got the idea from here​.

    I hope this helps someone.

    Known Participant
    October 12, 2016

    Okay, I stumbled on this post because I suddenly was getting flex2gateway errors.  I tried the solution mentioned here but to no avail.  The underlying issue was I had when I migrated from Apache running sites on /Library/WebServer/Documents to /Users/{Username}/Sites/test and used Virtual Hosts. I immediately got:

    "Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404: url: 'http://test.dev/flex2gateway/'"

    The one line I was missing from the /etc/apache2/extra/hhtpd-vhosts.conf virtual host groups was: JkMountFile "/Applications/ColdFusion11/config/wsconfig/1/uriworkermap.properties"

    I hope this helps others running Apache 2 using Virtual Hosts with ColdFusion 10, 11, or 2016 with the same issue.

    March 21, 2016

    Hey Adobe, I'm using brand new ColdFusion 2016, and it STILL has this error in the uriworkermap.properties file. My CFC/AMF application wasn't working on the new version, and I searched high and low for an answer and found this fix from 2 versions back still applies.

    Petro_O__Bochan
    Inspiring
    August 23, 2013

    What does this url produce - http://localhost/flashservices/gateway/? Mind ending slash.

    Inspiring
    August 23, 2013

    Page not found....

    Petro_O__Bochan
    Inspiring
    August 23, 2013

    Does it produce same result with and without ending forward slash?