2012-06-18 246 views
0

我们有一个Flex应用程序,有时会引发此错误Intermittent Channel.Connect.Failed错误NetConnection.Call.Failed:HTTP:Failured:url 'http:// nsmjboss:8400/backbone/messagebroker/amf'间歇性Channel.Connect.Failed错误NetConnection.Call.Failed:HTTP:失败:url

我可以在酿酒器中点击该链接,它工作正常,而且在我们的日志中没有看到任何错误。 我services-config.xml中

<flex-client> 
    <timeout-minutes>120</timeout-minutes> 
</flex-client> 

<channels> 
    <channel-definition id="backbone-amf" class="mx.messaging.channels.AMFChannel"> 
     <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/> 
      <properties> 
      <connect-timeout-seconds>480</connect-timeout-seconds> 
     </properties>   
    </channel-definition>  

    <channel-definition id="backbone-streaming-amf" class="mx.messaging.channels.StreamingAMFChannel"> 
     <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/streamingamf" class="flex.messaging.endpoints.StreamingAMFEndpoint"/> 
    </channel-definition> 

    <channel-definition id="backbone-polling-amf" class="mx.messaging.channels.AMFChannel"> 
     <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/> 
     <properties> 
      <polling-enabled>true</polling-enabled> 
      <polling-interval-seconds>4</polling-interval-seconds> 
     </properties> 
    </channel-definition> 

任何想法可能是什么造成的?

回答

0

尝试在您的浏览器上激活代理并查看是否问题得到解决。 见question