Flex 3 and ColdFusion MX 702

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

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

Similar Messages

  • Flex 3 and ColdFusion

    Not sure if I posted too much the first time, so lets take
    this one stap.
    I am so confused on this flex2gateway directory and cannot
    find a single answer in Google or the groups.
    Is the flex2gateway directory something that needs to be
    added to each app to access CF? I am getting this error on my app
    (Flex3 and BlueDragon 7):
    faultCode:Client.Error.MessageSend
    faultString:'Send failed'
    faultDetail:'Channel.Connect.Failed error
    NetConnection.Call.Failed: HTTP: Status 403: url: '
    http://med.umich.edu/flex2gateway/''
    If I need to add this directory (flex2gateway), what goes in
    it? I just want to connect to my CFC and populate the Flex app with
    my data!

    Ok, here is the answer since no one seems to know it. You
    cannot connect to CF if you A.) are running blue dragon or B.) Dont
    have the config files set up in Adobe CF.....
    If A or B, you need to use WebService or
    HTTPRequest...

  • How do I save a file to a server using flex and coldfusion?

    How do I save a file to a server using flex and coldfusion?
    On the CF side I might need to use this:
    <cffile action="UPLOAD" filefield="Filedata"
    destination="#expandpath('..\somepath)#"
    nameconflict="overwrite">
    And on the flex side I might need to use something like this:
    var sendVars:URLVariables = new URLVariables();
    sendVars.action = "upload";
    var request:URLRequest = new URLRequest();
    request.data = sendVars;
    request.url = _strUploadScript;
    request.method = URLRequestMethod.POST;
    _refUploadFile = new FileReference();
    _refUploadFile = _arrUploadFiles[_numCurrentUpload].data;
    _refUploadFile.addEventListener(ProgressEvent.PROGRESS,
    onUploadProgress);
    _refUploadFile.addEventListener(Event.COMPLETE,
    onUploadComplete);
    _refUploadFile.addEventListener(IOErrorEvent.IO_ERROR,
    onUploadIoError);
    _refUploadFile.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
    onUploadSecurityError);
    _refUploadFile.upload(request, "file", false);
    I just don't know how to put it all together in Coldfusion.

    try this...
    http://cf-creations.co.uk/blog/index.cfm/2008/9/20/Flex--File-Upload-Form--Part-One--Build ing-The-Initial-Form

  • Anyone know how to gernerate CRUD applications with flex and coldfusion?

    Anyone know how to gernerate CRUD applications with flex and
    coldfusion? I am working with a remote coldsfusion installation
    with MS SQL and I don't have RDS.

    You might investigate "squidhead". It is CF based. I'm not
    sure if it has any Flex related features.
    http://squidhead.riaforge.org/

  • Flex 3 missing Coldfusion CRUD

    I just installed Flex 3, and I get RDS working fine. I was
    going to quickly build an app to test using the Coldfusion CRUD
    Wizard, but it appears to be non-existent in Flex 3?
    Help! Where did it go? Am I missing something? The only thing
    I found was a CFC wizard on the the RDS Dataview tab, but I need
    the entire CRUD application wizard, not just a few CFCs.
    Thanks!

    This appears to be a bug in the Windows Vista x64
    functionality with Flex 3 (even when the program is run as
    Administrator). I have posted a bug report and the work-around I
    discovered here at Adobe's Flex Bug and Issue Management System:
    https://bugs.adobe.com/jira/browse/FB-12276
    In case the link above becomes invalid, the problem is that
    NONE of the Wizard Folder expand to show and of the wizards
    available in the Wizard Selection window when you click to expand
    any folder and show its contents. The work-around is to type part
    of the name of the particular wizard you want to run in the search
    field above the wizard folder listings. This will cause the folder
    to expand and reveal the wizards matching what the user has typed.
    In my case I had to install Flex 3 on my Windows XP system to know
    the names of what I was searching for, and typing "cold" brought up
    the ColdFusion CRUD wizard below the folder.

  • CF9 and Flex 3 and RPC Problem?

    Hi,
    I am using Flex 3.2 and ColdFusion 9 and having some problem that I haven't experience before.  Previously things worked on CF 8 so maybe that's the issue? I am using a RemoteObject to call ColdFusion and I'm getting this runtime error:
    [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://yapp.swf/flex2gateway/'"]
    For some reason the URL is not right tho, if you look at last part of the error message, that URL is close to mine, but it's not right.  I'm not even sure why it's saying failed url or what the url even points to now that I think about it.
    Any help highly appreciated.
    -Westside

    Ok...I'm a jerk...
    If I use
    amxmlc.exe HelloWorld.mxml
    It gives me an error...But if I use...
    amxmlc.bat HelloWorld.mxml
    Everything works fine...I needed the extra parameters -;)
    Greetings,
    Blag.

  • Multi page help flex 2 and CF

    hey guys
    I am creating this apps and so far, I have a search page
    that display data once user fills out a form (form and result) are
    all in one state/page. Now what I would like to do is when user
    clicks on one of the search result I would like to go to a details
    page. How do I do this? Currently user can move between pages via
    view stack and wipe up/down effect between pages. I want to keep
    the same effect, but now when user clicks on a record/row the page
    wipe's up and the down effect is the details page. If you can point
    me to a tutorial or some sample code that would be great. I am
    completely new to flex/action scripting.
    thanks
    Jay

    Look for the CF Extensions in the Flex 2 install directory.
    On Windows, the default location is:
    C:\Program Files\Adobe\Flex Builder 2\ColdFusion Extensions for Flex Builder
    There's a zip file there (the extension) and a "installation" html file. Read that .

  • Flex SDK and AIR runtime version in mobile

    Hi, guys.
    I'm trying to make my first Flex mobile app.
    I'm a little confused about the relationship between Flex SDK and AIR  runtime versions for mobile development.
    In the "Developing Mobile Applications with ADOBE FLEX 4.6 and ADOBE FLASH BUILDER 4.6" pdf document, it says:
    "AIR requirements
    Flex mobile projects and ActionScript mobile projects require AIR 2.6 or a higher version. You can run mobile projects on physical devices that support AIR 2.6 or a higher version of AIR.
    You can install AIR 2.6 or a higher version only on supported Android devices that run Android 2.2 or a higher version. For the complete list of supported Android devices, see Certified Devices. Also, review the minimum system requirements to run Adobe AIR on Android devices at Mobile System Requirements.
    Note: If you do not have a device that supports AIR 2.6 or a higher version of AIR, you can use Flash Builder to launch and debug mobile applications on the desktop."
    So, I go and check the Certified devices in http://www.adobe.com/devnet-apps/flashruntimes/certified-devices.html and find that the minimun FLASH PLAYER version accepted by ALL devices is FP 10.1
    1. Does this mean that if I want to release an app to target ALL mobile devices, then I can only use Flex 4.5?
    2. Do support for Flash Player mean the same than support for Adobe AIR? Or the application will prompt the user to install whatever version of the AIR runtime and all of them would be supported by the device, even in the FLASH PLAYER support is for a lesser version?
    Thanks!

    Thanks for your help, Flex harUI,
    The first impression that comes to mind is that FP version is indeed only for the web browser plugin. Then, why does the official Flex 4.6 mobile development documentation have a link to that page that only speaks about the supported FP version in mobiles under the title "AIR requirements"??
    This makes it way too confusing.
    Do you know whether there is something like an equivalent matrix/list of mobile devices with their supported AIR runtime versions?  I went a great deal in trying to keep my original app under 400kb... I didn't know that in the end it would end up weighing 9.5Mb... :S
    Thanks again,

  • Flex 2 and Actionscript 3  Workshop in LA

    It's a late notice, but important to any Flash professional
    out there. I just want everyone to know about this rare
    opportunity. Fly out to LA if you have to!
    Flex Builder 2 & Action Script 3 Training Workshop
    Date: Thu, Fri, & Sat, May 11,12, & 13 (9a-5p, ~20
    classroom hours)
    Location: Venice, California 90291
    Instructor: Zach Stepek
    Price: $690
    Description: Flex expert and Stateline (Illinois) Macromedia
    User Group Manager Zach Stepek will lead an in-depth three-day
    workshop on the new generation of Flex -- the first tool for the
    Flash Platform that utilizes the awesome processing power of AS3!
    --

    Might be an idea to post this in the Flex2 or AS3 forums
    where people who
    are interested in these can read it.
    "JonJonMenendez" <[email protected]> wrote
    in message
    news:e3ouru$fm1$[email protected]..
    > It's a late notice, but important to any Flash
    professional out there. I
    > just
    > want everyone to know about this rare opportunity. Fly
    out to LA if you
    > have to!
    > Flex Builder 2 & Action Script 3 Training Workshop
    > Date: Thu, Fri, & Sat, May 11,12, & 13 (9a-5p,
    ~20 classroom hours)
    > Location: Venice, California 90291
    > Instructor: Zach Stepek
    > Price: $690
    > Description: Flex expert and Stateline (Illinois)
    Macromedia User Group
    > Manager Zach Stepek will lead an in-depth three-day
    workshop on the new
    > generation of Flex -- the first tool for the Flash
    Platform that utilizes
    > the
    > awesome processing power of AS3! --
    >

  • Flex 3 to Flex 4 migration issue (Flex charting and Special char)

    Hi All,
    I have migrated Flex 3 to Flex 4 and in Flex charting axis label, I am not able to see less then sign ( < ). I tried to use &lt;  but it's not working, I have attached sample code.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx"
                    minWidth="955" minHeight="600" initialize="init()">
         <fx:Declarations>
             <s:SolidColor id="s1" color="#738994"/>
             <mx:SeriesInterpolate id="seriesInterpolate" duration="800"/>
             <mx:SeriesSlide id="seriesSlide" duration="800" direction="up"/>
             <mx:SeriesZoom id="seriesZoom"
                            duration="1000"
                            minimumElementDuration="50"
                            elementOffset="50"
                            verticalFocus="top"
                            horizontalFocus="left"
                            relativeTo="chart"/>
         </fx:Declarations>
         <fx:Script>
            <![CDATA[
                 import mx.collections.ArrayCollection;
                 [Bindable]
                 public var student:ArrayCollection = new ArrayCollection([
                     {Stream: "Management", Girls:1000, Boys:1400, TotalStudent:2400},
                     {Stream: "&lt;Computer Science", Girls:800, Boys:1200, TotalStudent:2000},
                     {Stream: "< Mechanical", Girls:200, Boys:1500, TotalStudent:1700},
                     {Stream: "> Electical", Girls:800, Boys:850, TotalStudent:1650},
                     {Stream: "Electronics", Girls:500, Boys:1000, TotalStudent:1500},
                     {Stream: "Civil", Girls:300, Boys:900, TotalStudent:1200}
                 private function update():void {
                     var str:String = catfDP.selectedItem.data;
                     if(str == "Girls"){
                         cs1.yField = str;
                         cs1.displayName = str;
                         cs1.setStyle("fill" , "738994");
                     }else if(str == "Boys"){
                         cs1.yField = str;
                         cs1.displayName = str;
                         cs1.setStyle("fill" , "999990");
                     }else{
                         cs1.yField = str;
                         cs1.displayName = str;
                         cs1.setStyle("fill" , "406374");
                 private function init():void{
                     catfDP.selectedIndex= 0;
                     effectDP.selectedIndex= 0;
             ]]>
         </fx:Script>
         <s:Panel title="Chart Effect Example" width="627" height="565">
             <s:layout>
                 <s:VerticalLayout/>
             </s:layout>
             <mx:ApplicationControlBar dock="true" width="625" height="82">
                 <mx:Form>
                     <mx:FormItem label="Category Field:">
                         <s:DropDownList id="catfDP" change="update();" prompt="--Select--" width="136"
                                         height="19">
                             <s:dataProvider>
                                 <mx:ArrayList>
                                     <fx:Object data="Girls" label="Girls" />
                                     <fx:Object data="Boys" label="Boys" />
                                     <fx:Object data="TotalStudent" label="TotalStudent" />
                                 </mx:ArrayList>
                             </s:dataProvider>
                         </s:DropDownList>
                     </mx:FormItem>
                     <mx:FormItem label="Choose Chart Effect:">
                         <s:DropDownList id="effectDP" change="update();" width="136" prompt="--Select--">
                             <s:dataProvider>
                                 <mx:ArrayList>
                                     <fx:Object label="seriesInterpolate" data="{seriesInterpolate}" />
                                     <fx:Object label="seriesSlide" data="{seriesSlide}" />
                                     <fx:Object label="seriesZoom" data="{seriesZoom}" />
                                 </mx:ArrayList>
                             </s:dataProvider>
                         </s:DropDownList>
                     </mx:FormItem>
                 </mx:Form>
             </mx:ApplicationControlBar>
             <mx:ColumnChart id="cchart"
                             dataProvider="{student}"
                             showDataTips="true"
                             width="621"
                             fontFamily="verdana" height="402">
                 <mx:verticalAxis>
                     <mx:LinearAxis title="Number of Students" />
                 </mx:verticalAxis>
                 <mx:horizontalAxis>
                     <mx:CategoryAxis dataProvider="{student}"
                                      categoryField="Stream"
                                      title="Stream"/>
                 </mx:horizontalAxis>
                 <mx:series>
                     <mx:ColumnSeries id="cs1"
                                      xField="Stream"
                                      yField="Girls"
                                      displayName="Girls"
                                      fill="{s1}"
                                      showDataEffect="{effectDP.selectedItem.data}"/>
                 </mx:series>
             </mx:ColumnChart>
             <s:HGroup>
                 <mx:Legend dataProvider="{cchart}"
                            direction="horizontal"/>
                 <s:VGroup>
                 </s:VGroup>
             </s:HGroup>
         </s:Panel>
    </s:Application>

    Thank you very much for you answer.
    I have solved this problem using Itemrenderer.
    <?xml version="1.0" encoding="utf-8"?>
    <s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx"
                    autoDrawBackground="true">
        <mx:Label htmlText="{data.text}"/>
    </s:ItemRenderer>
    and in chart I have used labelRenderer. in label I have used  &lt; for ( < ) sign.
    <mx:horizontalAxis>
                    <mx:CategoryAxis
                        dataProvider="{expenses}"
                        categoryField="Month"
                        title="FY 2006"
                        id="a1"
                        />
                </mx:horizontalAxis>
                <mx:horizontalAxisRenderers>
                    <mx:AxisRenderer labelRotation="45" axis="{a1}" labelRenderer="chase.BarChartLabelRenderer"/>
                </mx:horizontalAxisRenderers>
                <mx:verticalAxisRenderers>
                    <mx:AxisRenderer labelRotation="45" axis="{a1}" labelRenderer="chase.BarChartLabelRenderer"/>
                </mx:verticalAxisRenderers>

  • WORKING example of BlazeDS with Flex 3 and FlexBuilder

    Can someone point me to an actual working example with BlazeDS used with Flex 3 and Eclipse?
    The examples on livedocs are broken or imcomplete. Others work to varying degrees but fail at some point.
    What I'd like to see is the following:
    1. How to create a project using
         a. Flex 3.0
         b. BlazeDS
         c. Eclipse - FULL project creation and deployment instructions.
         d. An example where the project is NOT created within the BlazeDS webapp that comes with the BlazeDS/Tomcat combo.
         e. An example where the ENTIRE project can be compiled and deployed to Tomcat in one shot.
         f.  An example where a DB can he altered using standard CRUD methods with the display displaying updated records without and event being used to
             refresh the view of the records.
    This shouldn't be too much to ask if Flex is to be expected to be taken seriously in data-driven applications. I've looked all over the web for weeks for something likethis and have come up with nothing. I don't need Spring or Hibernate at this point. Any help would be greatly appreciated as I'm working on a proof-of-concept at this time and the pressure is mounting to come up with something.
    Thanks!

    here is some stuff I wrote while back(they both have recorded video you can watch);
    http://ledtechdesign.com/2009/02/blazeds-tutorial-part-i-simple-remoting/
    http://ledtechdesign.com/2009/02/tutorial-blazeds-simple-remoting-part-ii-flex/

  • Flex 3 and Java - Integrated Development on Eclipse

    I am new to flex as well as to eclipse. I have downloaded
    Adobe Flex Builder 3.0 and installed it. I want to use java at the
    back-end, but I don't have Java perspective option in eclipse.
    Therefore, I am currently using 2 IDE(s), one is
    flex-builder, and other is Eclipse for Web tool platform
    (eclipse-jee-europa-winter-win32.zip).
    Is there anyway that I can benefit integrated development of
    Flex and java using same IDE?

    I wouldn't try it really... it's not worth the issues you'd
    probably run into and the work of getting it setup, if it's even
    possible. I just run Eclipse and FB separate. If you have a gig of
    ram you should be fine doing this I think.
    If you *really* want to get rid of one, you can use the Flex
    plugin for Eclipse, but I've heard people complain about it not
    playing nice with Java.

  • Flex 3 and LCDS Integration

    Hello,
    I am trying to build an application which needs remoting. I
    was trying to implement this using Flex 3 and LCDS.
    I have some experience with flex, but I am pretty new to
    LCDS. Can any one please direct me to a good tutorial on getting a
    web app to work with flex and lcds? The documentation on Adobe
    website doesn't help much.
    Thanks in advance
    Cheers
    Phanindra

    The documentation should help,
    why not start with something simple with Blaze-DS??
    Ries

  • Protected Flex field and Custom Views

    Hi,
    I have created some project variables in oracle bpm 11.1.1.6.0 project.After deployment, these variables are coming as Protected flex field but for some reason these are not visible when I define custom views.
    I also tried creating Protected flex field on BPm workspace, mapped these variables to human task payload, yet again when creating custom view i cannot see them.
    This problem is only happening with protected flex field and not public flex field.
    Please let me know how to add protected flex fields in custom view.
    Regards...

    why do you think it's an apps question?

  • Flex SDK and commercial Websites

    Hello,
    I have to build and RIA for a Companys Intranet and i am not sure, if it is legal or possible to do so for free with the Flex SDK?
    I also would like to know, whats the difference between the Free Adobe Flex SDK and the OPen Source Flex SDK? Which of those do i need to
    create the website for free? (If its possible).
    Thanks in advance!

    Thanks for your help, Flex harUI,
    The first impression that comes to mind is that FP version is indeed only for the web browser plugin. Then, why does the official Flex 4.6 mobile development documentation have a link to that page that only speaks about the supported FP version in mobiles under the title "AIR requirements"??
    This makes it way too confusing.
    Do you know whether there is something like an equivalent matrix/list of mobile devices with their supported AIR runtime versions?  I went a great deal in trying to keep my original app under 400kb... I didn't know that in the end it would end up weighing 9.5Mb... :S
    Thanks again,

Maybe you are looking for

  • How do you  add a description to a customized Roadmap node or subnode?

    Hello friends, I was able to create a roadmap and create subnodes for some customized roadmaps, however I must also be able to provide descriptions to the roadmap (upper right side of the roadmaps).  I access create/assign under the document button u

  • Updater freezes. Shuffle corrupted. Please help.

    Before I get started I'll try to be clear on a few things. UPDATER VERSION IS IRRELEVANT. I've tried with three different versions. ITUNES VERSION IS IRRELEVANT. This is unrelated to itunes. Short story: Program problem disallowed safe shuffle remova

  • PEXR2002 IDoc

    Hi Experts, Does anyone have any experience getting the PEXR2002 IDoc to work? Its based on the PAYEXT message type. This IDoc is to be sent to the bank, containing pay data. Here are my following questions: - How do we connect to the banks system? -

  • ERP2005 MSS reporting in a federated portal network

    Hello, We are implementing ERP2005 MSS on a federated portal network, and we’re facing a problem with the MSS reporting IView (application mss~rpt). When we execute this function on the producer portal (the portal connected to the ECC backend, with t

  • Re: Backing up an Environment

    Sanchez, Try this simple escript: findactenv exportenv exit Note that this will only export the active environments - no simulated environments will be exported. It's also a good idea to rebuild your environment repository every now and then. How oft