Connection between flex and java failing on server
Hi I am working on a project using flex/java/blazeds. This worked fine on local host however now that i have uploaded to a tomcat server(online), after having an error with the service uri, this error has now seemingly been solved, yet I am receiving开发者_运维技巧 another error which is as follows:
[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://mydomain.co.cc/site/messagebroker/amf'"]
Does anyone have any idea what is causing this? i looked around online and found some suggestions but none of them seem to have helped.
Thanks in advance
The problem was that the url on the server had an additional "/blazeds", once I re uploaded the file in a way to remove this the error did not occur.
Thanks once again for the help
[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://localhost/admin/amf'"]
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/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.messaging::Channel/connectFailed()
at mx.messaging.channels::PollingChannel/connectFailed()
at mx.messaging.channels::AMFChannel/statusHandler()
精彩评论