I'm trying to get BlazeDS working with ColdFusion. I plan to eventually do it to a Windows server, but for now, I'm working locally on my Mac. I have no need for Livecycle to work, I'm happy with completely changing it to BlazeDS. I was happy to find a complete install guide for Blaze and CF here.
However, I got tripped up on step 7:
While nice and clear, I only read the first sentence. I had downloaded the binary package of BlazeDS and wasn't quite sure what they meant by "ZIP file (not the WAR file)". I plainly saw the 4 config files from the JAR, so I just used those. Of course, nothing ColdFusion-wise existed in those configs, and when I tried to do a simple remoting call, it failed. If you download the source version of BlazeDS instead, you will have the folder mentioned in the instructions and your config will work perfectly. I tend to avoid source distributions because I assume they will make me build the source into binaries, but from what I can see, the source version also includes the JARs anyway. I hope this helps people as it definitely tripped me up at first.Set up the configuration files for BlazeDS. You can copy the set of configuration files from the BlazeDS ZIP file (not the WAR file). Copy the following files in resources/ColdFusion to ColdFusion8/wwwroot/WEB-INF/flex:
Comment 1 written by Hem Talreja on 19 April 2009, at 11:38 AM
Arron West has a video tutorial.
http://www.trajiklyhip.com/blog/index.cfm/2008/8/2...
p.s. I renamed *.war to *.zip and was able to unzip the contents of the file.
Note: It was easier for me to reinstall ColdFusion with LifeCycle ES and swap out the files.
I hope this helps
Comment 2 written by johans on 19 April 2009, at 2:55 PM
Comment 3 written by Raymond Camden on 19 April 2009, at 2:56 PM
This is NOT scientific proof.
I had an existing AIR client that made use of remoting to hit a CFC. This DID break at first when I didn't follow the directions right, but works fine now.
My new issue is getting messaging working using event gateways.
Comment 4 written by Kevin S on 20 April 2009, at 11:10 AM
I really feel that the integration of Flex and ColdFusion with LCDS or BlazeDS is entirely too manual and has a really high chance of error as I experienced the same frustrations you did. It would be nice if future versions of these products had installers or configuration GUIs to alleviate the confusion and lost time. Would you agree?
Comment 5 written by Raymond Camden on 20 April 2009, at 12:30 PM
Comment 6 written by Hem Talreja on 23 April 2009, at 8:40 PM
If you are trying to get FMS working on a ColdFusion Server, hopefully this blog can help.
http://www.hemtalreja.com/?p=300
Thanks
-Hem
Comment 7 written by Raymond Camden on 24 April 2009, at 7:42 AM
[Add Comment] [Subscribe to Comments]