I'm trying to setup Flex 3 to work with CF using Flash Remoting and I'm stuck getting the flex2gateway to work. I'm running CF 8 as a stand-alone server integrated into IIS, Flex 3 beta, Flex SDK 3 on WinXP.
Here's the error and various things I've tried. I've been all over the web and found a number of suggested resolutions but none of them work. Sites I've looked at include: http://www.drisgill.com/index.cfm/2006/3/22/Flex-2-Beta-2-- flex2gateway-Problem http://www.forta.com/blog/index.cfm?mode=search Here's the error from within the mxml file: [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://localhost/flex2gateway/cfamfpolling'"] Here's the error from hitting http://localhost/flex2gateway directly in the browser: java.lang.NullPointerException at jrun.servlet.JRunRequestDispatcher.invoke (JRunRequestDispatcher.java:283) at jrun.servlet.ServletEngineService.dispatch (ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable (JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable (ThreadPool.java:320) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable (ThreadPool.java:428) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable (ThreadPool.java:266) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) I'm still totally stuck here (it's been a solid 15 hours). I've visited at least 20 sites that all have proposed solutions, noneo f which worked for me. I also read through all the administering CF docs on Adobe. Here are some of the things I've tried: - running C:\ColdFusion8\bin\connectors\Remove_ALL_connectors.bat followed by C:\ColdFusion8\bin\connectors\IIS_connector.bat - Editing services-config.xml and changing the value of the uri argument in the endpoint node for the channel-definition of `cf- polling-amf'. I've tried all sorts of things like removing {context.root} from the path, hard coding the path, etc. What's strange to me is that no matter what I change the value too, even something fake like "FOOBAR", the error always shows the same failed url (and I restart CF in between too) - Reinstalling CF 8 - Going into my IIS setup - Turning off the IIS integration in jrun.xml by enabling it, disabling the proxy to IIS and setting the default port - Adding or removing the trailing "/" in my references to flex2gateway - Checking my IIS settings > JRunScripts > Virtual Directories > Local Path settings. I even recreated with Configured Web Server using (Programs > Adobe > Cold Fusion 8 > Web Server Configuration Tool) and tried changing my JRunScripts local path to the different directories that get created in "C:\ColdFusion8\runtime\lib\wsconfig" but anything other than "C:\ColdFusion8\runtime\lib\wsconfig\2" changed the 500 error to a page-not-found error. I feel like I've exhausted everything I can think of or have found online. Any help would be greatly appreciated. Thanks in advance, Noah