Groups | Blog | Home
all groups > coldfusion flash integration > june 2005 >

coldfusion flash integration : How do I enable Flash Remoting on CFMX7?


moset
6/12/2005 12:00:00 AM
I just purchased CFMX7 and everything is working fine except Flash Remoting.
Every where I've read, I'm lead to believe it's built in to the server and once
the server is up and running it should just work.

When I connect to my domain /flashservices/gateway I get an error rather than
the blank page indicating that it's working. I've modified my
gateway-config.xml file to un-comment
<adapter>coldfusion.flash.adapter.CFWSAdapter</adapter> and I've restarted the
server with no luck. I'm running Apache on Linux on port 80.

Please help! I've exhausted all on-line Macromedia resources. Is this an
Enterprise only feature? I'm running CFMX7 Standard Version.

Thanks in advance!!
tzimmerman
6/14/2005 4:03:30 PM
tek333
6/14/2005 9:46:10 PM
Hot Fix 2 solves the gateway-URL bug.

But if you were using the old 'blank page' method to confirm your flash
remoting was working correctly, MM disabled that undocumented feature in CFMX7.
Now, the only way to confirm flash remoting is to have a functional SWF on your
server that uses FM.
shibu narayanan
6/15/2005 9:04:50 AM
Can anyone direct me to some link where I can find good resources for flash remoting and coldfusion 7.

moset
6/15/2005 10:37:59 PM
Thanks for the advice - I was almost certain it would work after applying the
hot fix. No such luck. :-(

I do notice that I keep receiving the following error message in my flash.log
file.

"Error","jrpp-2","06/15/05","17:31:04",,"An error occurred during service
invocation "

Any other ideas? I appreciate the help guys!
DStanten
6/15/2005 10:38:29 PM
Just to add to what tek333 said, in CFMX7 there is also a new option that
allows you to specify a "redirect url", so that if a request for
flashservices/gateway comes in from a browser, you can display whatever handler
page you would like the user to see. In the
{cfroot}/WEB-INF/gateway-config.xml file, you can specify the "redirect url" in
this section:
<!-- A redirect URL can be supplied to handle HTTP requests that were
not sent with AMF data -->
<redirect-url>http://host:8501/dude.cfm</redirect-url>

For info on this, see:
http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001479.htm

which is part of the chapter on Flash Remoting and CFMX7 which starts here:
http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001477.htm



AddThis Social Bookmark Button