Re: [flexcoders] Help: Flex 3 + CF8 + Remoting = 500 error with http://localhost/flex2gateway
also, why are you using cf-polling-amf channel for a remote object? Shouldn't you use the cf-amf one? Also, as Tom said, when you change anything in your configuration, you might want to do a project clean to be sure that your app uses the latest version of your services-config.xml. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
RE: [flexcoders] Help: Flex 3 + CF8 + Remoting = 500 error with http://localhost/flex2gateway
I ran into this problem also. I looked at other web sites that the flex2gateway did work and noticed that the CF8 update to my CF7 installed make virtual directories to CFIDE and JRunScripts. So I made these virtual directories in my new web site and the gateway started working. I think all you need is the JRunScripts and not the CFIDE, but I could be mistaken. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João Fernandes Sent: Wednesday, March 05, 2008 9:26 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Help: Flex 3 + CF8 + Remoting = 500 error with http://localhost/flex2gateway also, why are you using cf-polling-amf channel for a remote object? Shouldn't you use the cf-amf one? Also, as Tom said, when you change anything in your configuration, you might want to do a project clean to be sure that your app uses the latest version of your services-config.xml. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
Re: [flexcoders] Help: Flex 3 + CF8 + Remoting = 500 error with http://localhost/flex2gateway
On Tuesday 04 Mar 2008, noahbirdy wrote: 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) The URL is compiled into the Flex application (using --services argument), and supports run time interpolated things like {server.host}. Therefore if you alter the settings you need to recomple the Flex client against those new settings. -- Tom Chiverton Helping to greatly implement B2B action-items on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Help: Flex 3 + CF8 + Remoting = 500 error with http://localhost/flex2gateway
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