1 Reply Latest reply on Jan 28, 2008 1:10 AM by Mihai Corlan

    Flex 3 and ColdFusion MX 702

    Eastweb
      I have seen a few posts on similar problems in the Flex 2 forums, but unfortunately no solution that would help me!

      Everything is working perfectly if I run Flex 3 on the same server as Cf is installed but if I try to set up the Flex project on my workstation I only get "Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml."!

      So, obviously there is something wrong in how I specify the web root and url. I am running the J2EE version of CF and the IIS instead of the built-in webserver. I have tried so many different settings, changing the location of the config file, switching to the cf webserver, verifying that I can browse to the same location and that the flash2gateway is correct...

      Does anyone know how I should configure this correctly?

      Hi, Johan
        • 1. Re: Flex 3 and ColdFusion MX 702
          Mihai Corlan Adobe Employee
          Hi Eastweb,

          I presume you have Flex Builder Beta 3. I think you should choose CF with ColdFusion Flash Remoting on the first page of the wizard. Second page of the wizard you should select:
          - Deployed to J2EE server;
          - Web root - browse to IIS web root folder
          - uncheck ColdFusion WAR is located in Web root and browse to WAR folder of the deployed ColdFusion (for example C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\).

          This should do the trick.

          regards,
          Mihai