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

    Please HELP with CrossDomain.xml problem

    warpedghost
      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:\Inetpub\wwwroot\crossdomain.xml
      C:\Inetpub\vhosts\mysite.com\crossdomain.xml
      C:\Inetpub\vhosts\mysite.com\httpdocs\crossdomain.xml
      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">
      <cross-domain-policy>
      <allow-access-from domain="*" to-ports="*" secure="true" />
      </cross-domain-policy>

      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:
      C:\Inetpub\vhosts\mysite.com\httpdocs\test.swf


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