[flex] 大家帮我看看:blazeds+eclipse+tomcat+flex搭建出404错误

roger_588 2009-03-09
(mx.messaging.messages::ErrorMessage)#0

  body = (Object)#1

  clientId = (null)

  correlationId = "39ECD686-B1D7-2E9D-BBF5-EA5B5135AB46"

  destination = ""

  extendedData = (null)

  faultCode = "Client.Error.MessageSend"

  faultDetail = "Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404: url: 'http://localhost:8888/flex/messagebroker/amf'"

  faultString = "Send failed"

  headers = (Object)#2

  messageId = "30B96ECD-365E-78C9-4333-EA5B51649AA6"

  rootCause = (mx.messaging.events::ChannelFaultEvent)

配了半天也没看出什么问题,以前搭了多少便,虽然也出错过,但也弄出来了,过了段时间再搭建抱错。请各位大家赐教!感激不尽。
    <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>

   <!--remoting-config.xml-->
    <destination id="HelloRemoting">
    <properties>
        <source>com.roger.HelloWorld</source>
        </properties>
    </destination>


   <flexProperties flexServerType="8" flexWarLocation="D:/blazeds.war"     serverContextRoot="/flex" serverRoot="D:/work-space/flex/WebContent" serverRootURL="http://localhost:8888/flex/" toolCompile="true" useServerFlexSDK="false" version="1"/>
roger_588 2009-03-09
我等着。快来人。
roger_588 2009-03-09
人都到哪去了?
liuleigang 2009-03-27
应该是 channel的问题,看看services-config.xml,remoting-config.xml
yhknight 2009-03-30
我也是同样的问题 急人!!
roger_588 2009-04-15
问题早已解决谢谢各位。解决办法:channel问题,channelSet()重新写下channel路径。
lubiao66 2010-04-09
能不能讲清楚点啊
Global site tag (gtag.js) - Google Analytics