您的位置:首页 > 大数据 > 人工智能

RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend"

2012-10-17 09:20 441 查看
[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'"]

遇到这样的错误最简单的方法就是在RemoteObject对象里面配置好amf对象像下面一样:

<s:RemoteObject id="manager" destination="manager" endpoint="http://localhost:8080/project/messagebroker/amf"/>

但是如果这样配置之后再出现了下面的错误呢?

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

这个时候就不再是你上面的配置问题了,是你的tomcat问题,把你的tomcat删除掉然后重新建立一个tomcat之后再把项目重新发布一遍,好了问题应该被解决掉了,tomcat有时候就是这样难以捉摸,当你遇到了莫名其妙的问题的时候,如果你确信自己配置没有问题,那么就试试把tomcat删除让后重新建立一个tomcat吧。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐