0 Replies Latest reply on Mar 23, 2009 10:19 AM by saravanakumar nanjap

    messagebroker/amf configuration - BlazeDS

    saravanakumar nanjap
      Hi,
      I am working on Flex with BlazeDS
      I have a problem in channel-definition end point URL.
      This is my services-config.xml configuration.
      <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
      <endpoint url=" http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
      </channel-definition>

      My Context path is MySite ==> ...TomcatX/webapps/MySite
      It works fine in localhost. http://localhost:8080/MySite/index.html

      I moved the build to production environment, and run http://www.mydomain.com.
      I get
      [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: ' http://www.mydomain.com/messagebroker/amf'"
      error.



      I have changed context root from '/MySite' to '/'
      Again I am getting the same error.

      Can someone help me to solve this issue?