Skip to main content
Participating Frequently
April 3, 2008
Question

Getting Started CF 8 + Flex 3

  • April 3, 2008
  • 3 replies
  • 396 views
http://www.adobe.com/devnet/coldfusion/articles/data_app.html

The above link is the tutorial I am trying to follow. Where I get sidetracked is that I am installed as a stand alone server which is the only way the SE edition allows (Im using developer now). At that point I am supposed to modify the data-management-config.xml file. I copy and paste from <destination> tag to closing </destination tag>. Then I add some code in Flex, also copied and pasted and save my project.

I get this error - channel not found for reference 'cf-rtmp' in destination 'artgallerydataservice'.

Anybody have the same thing happen? I am on a Mac OSX
Also what is up with the data wizards and mac, they are not supported??
    This topic has been closed for replies.

    3 replies

    Participant
    April 23, 2008
    LiveCycle DataServices is installed.
    I uncommented the cf-rtmp.
    Now I'm looking at a bunch of runtime errors. I did some searching and found an article/comment/forum page for Brian where people have had similar issues... http://www.newpointmedia.com/blog/index.cfm/2008/2/27/New-Adobe-Article-Building-your-first-data-management-application-with-ColdFusion-and-Flex

    There is supposed to be an update to the tutorial coming soon which will hopefully address all of these issues (it would probably help if he explained a little bit more about the why's and what's.... I grasp the general concept but that doesn't mean much.......)
    so I'm going to start from square one with CF8 and work my way back to this point... i'm kind of stuck in Flex until I can figure this integration out.

    Thanks!

    Inspiring
    April 23, 2008
    I know this may seem obvious but did you select the option to install LiveCycle DataServices when you installed CF8?

    Assuming that's the case, check your services-config.xml file (in WEB-INF/flex -- the same folder that contains the data management config xml file).

    It's likely that your channel definition for cf-rtmp is commented out. I cannot recall now but seem to remember that my cf-rtmp channel was commented out when I first ran through the LCDS tutorials.

    If you're still having trouble, can you post snippets from the data-management-config.xml, services-config.xml, and your MXML files of the relevant code (i.e., the destination element, the channel definition, and the data service call from Flex).

    Cheers,
    Craig
    Participating Frequently
    April 23, 2008
    I quit messing around with the CF side for the moment. I am getting the Flex side down (which is sweet) then I will give that tutorial another shot. I will try what you recommend.
    Participant
    April 23, 2008
    i'm having the same problem. i'm just beginning to learn Flex and Coldfusion so i thought it was just me... maybe it's a Mac thing....
    i understand it gets a little annoying to constantly mention the minor differences in Adobe programs when working between a pc and a mac but these differences do exist and can mean the difference between success and failure.

    did you figure anything out?