0 Replies Latest reply on Oct 20, 2007 8:28 AM by CF_WebHed

    Cannot access Flex sites by URL

    CF_WebHed

      Hi,

      I have recently been moving some Flex apps onto a new server, now the problem I'm having is that any Flex app that uses Remoting is only available via the IP address. When I call the site via the URL I create in IIS i always get this error message:

      mx.rpc::Fault)#0
      errorID = 0
      faultCode = "Server.Processing"
      faultDetail = (null)
      faultString = "java.lang.NullPointerException"
      message = "faultCode:Server.Processing faultString:'java.lang.NullPointerException' faultDetail:'null'"
      name = "Error"
      rootCause = (null)

      Now when I call the same site via the IP address I don't get an error message and the site works. I've been researching this problem and asked other people about this and it seems that the problem has to do with the service-config.xml file, so I've checked my service-config.xml file and the endpoint entries are fine, e.g:

      <endpoint uri=" http://{server.name}:{server.port}{context.root}/flex2gateway/cfamfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>

      Which seems fine, I've also put a crossdomain policy file in the root of my app and that's not fixing the problem. So I'm stuck for ideas.

      Can anyone shed so light and ideas and what to check to solve this problem?

      Thanks

      Stephen