`

RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" 解决方案

    博客分类:
  • Flex
阅读更多

[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404:
url: 'http://localhost:8080/WebRoot/messagebroker/amf'"]
当我看到url时发现工程名是'a',但信息提示成了WebRoot,故在工程属性对话框-->Flex Server中的
Root   Url    -->http://localhost:8080/a
Context Root-->WebRoot 故把WebRoot改成'a',重新编译运行即可。
原因是myeclipse没有把用户某些设置更新过去。

分享到:
评论
3 楼 dimer1 2011-08-31  
2 楼 xlaohe1 2011-08-10  

谢谢你了。!
回帖是美德   
1 楼 csdn_zuoqiang 2010-10-04  
[RPC Fault faultString="No destination with id 'bllNgiv' is registered with any service." faultCode="Server.Processing" faultDetail="null"]

       at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:220]

       at mx.rpc::Responder/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responder.as:53]

       at mx.rpc::AsyncRequest/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:103]

       at NetConnectionMessageResponder/statusHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\channels\NetConnectionChannel.as:569]

       at mx.messaging::MessageResponder/status()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\MessageResponder.as:222]



如果遇到以上错误,先检查一下WebRoot>>WEB-INF>>flex>>remoting-config.xml文件和相应的java类是否已经创建好了,如果没有问题(我的情况)就把系统重新发布一次,重启一下MyEclipse,在运行就没问提了!

相关推荐

Global site tag (gtag.js) - Google Analytics