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:
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:
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.
Archived Comments
Ray,
Arron West has a video tutorial.
http://www.trajiklyhip.com/...
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
Ray can you confirm that installing BlazsDS with CF8 will not affect existing Flex/AMF/CF Flash Remoting functionality (not LifeCycle) - I assume not. Be nice if CF9 comes with a BlazeDS option in the Admin like they have for LifeCycle.
@johans:
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.
Ray,
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?
A-freaking-men. :)
Ray,
If you are trying to get FMS working on a ColdFusion Server, hopefully this blog can help.
http://www.hemtalreja.com/?...
Thanks
-Hem
Nope, not worried about FMS for now.