Expand my Community achievements bar.

Unable to deploy application on server.

Avatar

Level 2
Hi,

I am seriously intrigued by the way flex applications
behaves. I have my flex-app successfully compiled in Flex Builder
2. Now this creates a .swf file which can readily access the
HTTPService calls made to URLs on the internet. However when I
deploy the same file[basically the HTML wrapper and .swf file] onto
my J2EE application server with FDS, I get the error :



[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Status 500"]



This is continously beleaguering me ever since I am trying to
deploy the same onto the app server. Has this anything to do with
my server settings ?

Please help



TIA

Shishir
1 Reply

Avatar

Level 3
Does your HTTPService has useProxy set to true or false? If
true, and thus you're planning on using the ProxyService from FDS,
did you check the server startup logs to check that the FDS web
application started up correctly (that is, there were no
configuration errors)? If you are using the proxy service, have you
created a destination or modified the DefaultHTTP destination
accordingly to allow other dynamic-url patterns to be proxied
through the proxy service destination? If you're not using the
proxy, can you check that you can browse to the URL you're trying
to contact? Have you used the debug version of the player and
looked for more error information? Do you know about the security
sandbox and when to use a crossdomain.xml file?