Expand my Community achievements bar.

"send fail" error with remote object

Avatar

Level 2
I am developing a web application with FDS remote object.
When I develop and test under window with tomcat on localhost, it
works fine. However, when I export it as war file and deploy on my
linux server, it comes as the following error:



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

at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler()

at mx.rpc::Responder/fault()

at mx.rpc::AsyncRequest/fault()

at mx.messaging::ChannelSet/::faultPendingSends()

at mx.messaging::ChannelSet/channelFaultHandler()

at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at
mx.messaging::Channel/mx.messaging:Channel::connectFailed()

at
mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed()

at
mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()



It seems something wrong with the FDS configuration, but I
couldn't figure out. Can someone help please. Thanks in advance.

1 Reply

Avatar

Level 1
Check the server log first and see what errors are being
reported there during start up of Tomcat. Sounds like the channel
configurations haven't been setup properly for the Linux box. You
should be able to deploy the same configuration to multiple web
apps as long as you specify tokens within the urls for a channel
endpoint, i.e. use "{server.name}" and "{server.port}"