This Blog is Moving to http://blog.drisgill.com
Viewing By Entry / Main
March 22, 2006
For those of you that have had tons of trouble getting ColdFusion remoting to work with the latest Flex 2 Beta 2. I think I have found the answer for you. Despite numerous complete uninstalls of both products and even a registry cleaning of many keys containing 'Flex', I still was unable to get Remoting to work on my home machine. However, installing on my clean work machine worked flawlessly. Well, I have reverse engineered the problem down to the web.xml file located in the WEB-INF folder of ColdFusion. For whatever reason (I suspect an old Flex Enterprise Services install) the new software will not add a few critical lines to the web.xml file. Anyways, here is a copy of my web.xml file, the missing lines were in a 'servlet' and 'servlet mapping' that both deal with the MessageBrokerServlet and the flex2gateway.
Comments
What was the behavior or error that would occur if you are affected by this issue?
I didnt write down the error, but in flex an error would pop up that mentioned an http connection error. Watching the CF output window I could see that CF was throwing an error trying to find 'flex2gateway'.
Not sure if it's same problem but Ben Forta covered this a couple of days ago on his blog
It appears to be somewhat different, I was following that thread as well. His involves the other xml file.
Before using your web.xml file I was getting the following error:
Error: faultCode:Client.Error.MessageSend faultString:'Send failed' faultDetail:'Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404'
Now it works! Thanks!
Merritt
Error: faultCode:Client.Error.MessageSend faultString:'Send failed' faultDetail:'Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404'
Now it works! Thanks!
Merritt
Another flex2gateway issue.
A restart of Apache after a 7.02 update of CFMX is required in order for the /flex2gateway/ to be found.
Flex projects running on the server were failing. The issue was that /flex2gateway/ was not found on the server. A simple restart of Apache fixed the issue.
A restart of Apache after a 7.02 update of CFMX is required in order for the /flex2gateway/ to be found.
Flex projects running on the server were failing. The issue was that /flex2gateway/ was not found on the server. A simple restart of Apache fixed the issue.
When I put this in my browsers http://dev.lightology.com/flex2gateway I am getting a page cannot be displayed. This was working before.
Can someone point me in the right direction on how to fix this issue?
Can someone point me in the right direction on how to fix this issue?
My Flex 2 apps weren't even compiling until I used your web.xml, but now they are. However, my flex2gateway still isn't working. But thanks for getting me further.
I also get the 500 Internal no page found error.
I also get the 500 Internal no page found error.
