0 Replies Latest reply on Feb 23, 2007 8:47 AM by warpedghost

    Please HELP with CrossDomain.xml problem

      I'm using Flex2 with Java as the backend. On my local machine everything works fine. When I deployed the Java war file to the hosting server and moved the swf there as well I keep getting the following error "Security error accessing url" faultCode="Channel.Security.Error". After reading on this it says I need a crossdomain.xml file put at the root of my server.
      I have placed a crossdomain.xml file at the following areas.

      C:\Program Files\SWsoft\Plesk\Additional\Tomcat\webapps\crossdomain.xml

      the following is in the crossdomain.xml

      <?xml version="1.0"?>
      <!DOCTYPE cross-domain-policy SYSTEM " http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
      <allow-access-from domain="*" to-ports="*" secure="true" />

      the war file is deployed here:
      C:\Program Files\SWsoft\Plesk\Additional\Tomcat\psa-webapps\mysite.com\testjava.war

      and the swf file is located here:

      I don't know what I'm missing. Please someone help me.