深藍(lán)的天空下,有你有我...
          共享酸、甜、苦、辣
          posts - 23,comments - 19,trackbacks - 0
          詳細(xì)的報(bào)錯(cuò)內(nèi)容: Error: (mx.messaging.messages::ErrorMessage)#0 body = (Object)#1 clientId = (null) correlationId = "BF5E2F0B-2E2D-AE6C-F609-5A62F45603F0" destination = "" extendedData = (null) faultCode = "Client.Error.MessageSend" faultDetail = "Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://localhost:8080/freight/messagebroker/amf'" faultString = "Send failed" headers = (Object)#2 messageId = "00C50FEC-A91C-FB7E-5C3E-5A62F9489CE9" rootCause = (mx.messaging.events::ChannelFaultEvent)#3 bubbles = false cancelable = false channel = (mx.messaging.channels::AMFChannel)#4 authenticated = false channelSets = (Array)#5 connected = false connectTimeout = -1 enableSmallMessages = true endpoint = "http://localhost:8080/freight/messagebroker/amf" failoverURIs = (Array)#6 id = "my-amf" mpiEnabled = false netConnection = (flash.net::NetConnection)#7 client = (mx.messaging.channels::AMFChannel)#4 connected = false maxPeerConnections = 8 objectEncoding = 3 proxyType = "none" uri = "http://localhost:37813/freight/messagebroker/amf?hostport=localhost:8080&https=N&id=-1" piggybackingEnabled = false polling = false pollingEnabled = true pollingInterval = 3000 protocol = "http" reconnecting = false recordMessageSizes = false recordMessageTimes = false requestTimeout = -1 uri = "http://{server.name}:{server.port}/freight/messagebroker/amf" url = "http://{server.name}:{server.port}/freight/messagebroker/amf" useSmallMessages = false channelId = "my-amf" connected = false currentTarget = (mx.messaging.channels::AMFChannel)#4 eventPhase = 2 faultCode = "Channel.Connect.Failed" faultDetail = "NetConnection.Call.Failed: HTTP: Failed: url: 'http://localhost:8080/freight/messagebroker/amf'" faultString = "error" reconnecting = false rejected = false rootCause = (Object)#8 code = "NetConnection.Call.Failed" description = "HTTP: Failed" details = "http://localhost:37813/freight/messagebroker/amf?hostport=localhost:8080&https=N&id=-1" level = "error" target = (mx.messaging.channels::AMFChannel)#4 type = "channelFault" timestamp = 0 timeToLive = 0 at f/faultHandler()[F:\FB45\f\src\f.mxml:87] at mx.rpc::Responder/fault()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\Responder.as:68] at mx.rpc::AsyncToken/http://www.adobe.com/2006/flex/mx/internal::applyFault()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\AsyncToken.as:219] at mx.rpc.events::FaultEvent/http://www.adobe.com/2006/flex/mx/internal::callTokenResponders()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\events\FaultEvent.as:204] at mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\AbstractOperation.as:244] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:350] at mx.rpc::Responder/fault()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\Responder.as:68] at mx.rpc::AsyncRequest/fault()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:113] at mx.messaging::ChannelSet/faultPendingSends()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\messaging\ChannelSet.as:1619] at mx.messaging::ChannelSet/channelFaultHandler()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\messaging\ChannelSet.as:1209] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.messaging::Channel/connectFailed()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\messaging\Channel.as:1117] at mx.messaging.channels::PollingChannel/connectFailed()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\messaging\channels\PollingChannel.as:435] at mx.messaging.channels::AMFChannel/statusHandler()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\messaging\channels\AMFChannel.as:453] ============================================================== 剛開始在網(wǎng)上找到的答案都是: 1.改Project屬性的Flex服務(wù)器頁內(nèi)容 Root URL(根 URL)為:http://localhost:8080/你的JAVA項(xiàng)目名/ Context root (上下文根目錄)為:/你的JAVA項(xiàng)目名 2.改services-config.xml 里的 https://{server.name}:{server.port}/{context.root}/messagebroker/amf 為 https://{server.name}:{server.port}/你的JAVA項(xiàng)目名}/messagebroker/amf 其實(shí)都不貼切!!! !!!!!! 真正的解決問題的方法是: 打開你的工程下/.actionScriptProperties文件,查找“includeNetmonSwc”,從“true”改為“false”,它的作用是:是否導(dǎo)入網(wǎng)絡(luò)監(jiān)視器SWC。作為編譯配置,當(dāng)然要關(guān)閉。 本文出自 “徐晨光的博客” 博客,請務(wù)必保留此出處http://xuchenguang.blog.51cto.com/730272/529873 !!!!!! 隱約記得自己是試過FB里網(wǎng)絡(luò)監(jiān)視器的功能。
          posted on 2011-10-31 23:08 三刀流の逆風(fēng) 閱讀(3197) 評論(0)  編輯  收藏 所屬分類: Flex
          主站蜘蛛池模板: 台东县| 海阳市| 江达县| 花莲市| 双辽市| 德化县| 永善县| 兰坪| 昌黎县| 新沂市| 德兴市| 沾化县| 蒙山县| 大足县| 柳江县| 张家界市| 西乌珠穆沁旗| 惠东县| 奉新县| 五台县| 城市| 绿春县| 濮阳县| 绍兴市| 米泉市| 浏阳市| 顺平县| 县级市| 嘉祥县| 青海省| 宁波市| 华蓥市| 新晃| 桐乡市| 彝良县| 安西县| 香港| 黎川县| 渝中区| 错那县| 桑日县|