Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404
来源:互联网 发布:流星网络电视手机版 编辑:程序博客网 时间:2024/06/04 12:26
我的遇到的第二中情况,因为是初学所以丢三落四,找了好久终于发现了这篇文章解决了我的问题。分享给大家(初学者)
第一种情况:
- [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404: url: 'http://localhost:8889/WebRoot/messagebroker/amf'"]
当url中是webroot而不是工程名称时:修改工程属性中的上下文目录为工程名称解决
第二种情况:
[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404: url: 'http://localhost:8089/flexDemo/messagebroker/amf'"]
当url中工程名称已经更新进去,有可能是web.xml里没有配置flexservlet和监听,没有配置的话也会出现以上错误
网上说的其他的修改方式,没有验证,我说的只是情况之一
解决方法就是在web.xml中添加如下说明;
<listener>
<listener-class>flex.messaging.HttpFlexSession</listener-class>
</listener>
<servlet>
<servlet-name>MessageBrokerServlet</servlet-name>
<servlet-class>flex.messaging.MessageBrokerServlet</servlet-class>
<init-param>
<param-name>services.configuration.file</param-name>
<param-value>/WEB-INF/flex/services-config.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>MessageBrokerServlet</servlet-name>
<url-pattern>/messagebroker/*</url-pattern>
</servlet-mapping>
- Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404
- Flex Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed
- Flex Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed
- 针对flex Channel.Connect.Failed error NetConnection.Call.Failed 404
- 解决方法:faultDetail = "Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url:
- faultCode:Client.Error.MessageSend faultString:'Send failed' faultDetail:'Channel.Connect.Failed error NetConnection.Call.Failed
- faultDetail = "NetConnection.Call.Failed: HTTP: Status 404: url: 'http://localhost...
- 解决远程连接FMS服务器报错 NetConnection.Connect.Failed
- connect failed error 10055
- [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnectio
- [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetC
- FMS 解决NetConnection.Connecti.Failed
- The request failed with HTTP status 417: Expectation failed.
- Web Service Error: “The request failed with HTTP status 401: Unauthorized.”
- Web Service Error: “The request failed with HTTP status 401: Unauthorized.”
- Error EDDDAV: Call to ZHEGV failed
- log4j:ERROR setFile(null, true) call failed
- log4j:ERROR setFile(null,true) call failed.
- SecureCRT 6.7配置文件保存和导入7.1
- contextPath出错感受
- 微信公众平台开发调试
- Java 线程暂停与继续
- MyEclipse6.5的速度性能优化大提速(转)
- Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404
- 通过 正则表达式-零宽断言 获取指定内容
- android监听手机网络连接状态改变的后台服务
- coc类游戏客户端实现
- 相机帧率和曝光时间的关系
- 关于delphi keyPreview application.MainForm
- Java线程安全的单例模式的几种实现
- HTML标准化
- GDI高效绘图