Was this server a fresh install of 7.02 or an upgrade to 7.02? I would
bet money this was an upgrade and I have seen this several times... the
gateway gets hosed with the upgrade and the only fix is to do a fresh
install of 7.02.

 

Clint Tredway
Cynergy Systems | Consultant
706 7th St SE, Washington DC, 20003
W. http://www.cynergysystems.com
E. [EMAIL PROTECTED]

 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of stephen50232
Sent: Friday, February 29, 2008 10:41 AM
To: [email protected]
Subject: [flexcoders] Problems setting up Flex with CF 7.0.2

 

Hi,

I know this has been gone over again and again, but I cannot get CF
7.0.2 and Flex to work together.
I've read loads of blog posts, forum posts and the responses go from
"its really simple" to "its a nightmare to set up".
So I'm going to post how we currently have Flex and CF setup and see
if anyone can shed some light on why its not working.

What we are finding is that when we try to access the Flex2gateway via
the URL we get a 404 error message, and when we try and run a test app
that uses CF and Flex we get this error message:
errorID = 0
faultCode = "Client.Error.MessageSend"
faultDetail = "Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Failed: url:
'http://aacoldfusiondev/flex2gateway/'"
faultString = "Send failed"
message = "faultCode:Client.Error.MessageSend faultString:'Send
failed' faultDetail:'Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Failed: url:
'http://aacoldfusiondev/flex2gateway/''"
name = "Error"
rootCause = (Object)#1
code = "NetConnection.Call.Failed"
description = "HTTP: Failed"
details = "http://aacoldfusiondev/flex2gateway/";
level = "error"

So our setup is we have a dev server running IIS and windows server
2003. We have install CF Enterprise 7.0.2 on this server, and set the
Enable Flash Remoting support. The JVM that CF is using is version
1.4.2_09

We put our Flex applications under the wwwroot folder of Inetpub and
not the wwwroot folder under C:\CFusionMX7\wwwroot\.

One question though in the wwwroot of CFusion, the web-inf folder is
there, but it isn't under C:\inetpub\wwwroot should it. Should we move
the web-inf folder from CFusion to inetpub or copy it there. If so how
does Flex know when web-inf folder to read from?

I've seen that some people with a similar problem have made changes to
their service-config.xml file, by setting the IP address and port
number of the server. Is this a way to solve this problem? Any changes
we have made to the service-config.xml file do not seem to have
helped, even after we have restart the CF server.

We've been stuck setting this up for a while now, I always though that
CF and Flex we designed to work together smoothly with hardly any
setup problems, but that does seem to be.

Any help would be great.

Thanks

Stephen

 

Reply via email to