Highlighted

Getting Channel.Connect.Failed

Avatar

Avatar

jlopes151

Avatar

jlopes151

jlopes151

18-06-2008

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]


Replies

Highlighted

Avatar

Avatar

michaelprichard

Avatar

michaelprichard

michaelprichard

23-06-2008

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

Avatar

Avatar

SujitG

Avatar

SujitG

SujitG

02-07-2008

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.
Highlighted

Avatar

Avatar

phamquochiep

Avatar

phamquochiep

phamquochiep

21-07-2010

did you resolve that problem?

Could you explain it to me?

Thanks!