Expand my Community achievements bar.

Getting Channel.Connect.Failed

Avatar

Level 2
I'm building a Flex 3 app, with BlazeDS deploying to Tomcat
6.0 I have built/Run the example BlazeDS code with out error. When
I try to access my remote bean from my app I get



[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Status 404: url: '
http://localhost:8400/WebContent/messagebroker/amf'"

at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\...

at
mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49]

at
mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:103]

at
mx.messaging::ChannelSet/faultPendingSends()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\ChannelSet.as:1399]

at
mx.messaging::ChannelSet/channelFaultHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\ChannelSet.as:935]

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at
mx.messaging::Channel/connectFailed()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\Channel.as:997]

at
mx.messaging.channels::PollingChannel/connectFailed()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\PollingChannel.as:354]

at
mx.messaging.channels::AMFChannel/statusHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\AMFChannel.as:369]


3 Replies

Avatar

Former Community Member
I am getting the same thing....where is WebContent being set?
I set up the project as a Flex Project and with WTP. Ideas?

Avatar

Level 2
Hi,



Can you please try tracing the FaultEvent.fault.rootCause
object and see if there is any error message. Usually exceptions
thrown from the server is available in this rootCause object.



Hope this helps.

Avatar

Level 1

did you resolve that problem?

Could you explain it to me?

Thanks!