Posts filed under 'ColdFusion MX 7'

How I installed ColdFusion 8 on Mac OS X

The setup steps below are taken from a rough article I put together covering Cairngorm, Flex 3, and ColdFusion 8. The setup used ColdFusion 8 through Apache (XAMPP) all on Mac OS X.

Setup:

    XAMPP

  1. Download latest XAMPP for OS X
  2. Follow instructions on XAMPP’s site: Installation, Start, Test
    ColdFusion 8

  1. You need Admin rights to install ColdFusion 8 on Mac OS X.
  2. Download the Developer Edition of the ColdFusion 8 from Adobe.com
  3. Unzip the downloaded Mac OS X version of the ColdFusion 8
  4. Open a Terminal. Type “sudo open ” in the terminal. Then navigate to the “ColdFusion 8 Install.app” that you unzipped. Drag it over to the Terminal app, it will paste the path for you (should look something like “sudo open /Users/renaun/Desktop/downloads/ColdFusion\ 8\ Installer.app/”. Click enter.
  5. Now we are in the ColdFusion Wizard, here are what I selected as the installation options
    1. Clicked Ok
    2. Clicked Next
    3. Clicked “I accept….” and then Next
    4. Checked the Developer Edition and then clicked Next
    5. Select the “Server Configuration” option , then click Next
    6. I had no other installs, so left it checked No, and clicked Next
    7. I did not want the documentation, startup scripts, or Adobe LiveCycle Data Services ES. I unchecked all 3 and then clicked Next
    8. I left the default install directory “/Applications/ColdFusion8″, and clicked Next
    9. I did not need to update from earlier versions of ColdFusion, so I left it No and clicked Next
    10. I left “Configure web server connected for ColdFusion” selected and clicked on the Add button. Use the values below to fill out the form, then click OK
    11. Web Server: Apache
    12. Config. Dir: /Applications/xampp/etc
    13. Dir and file name of server binary: /Applications/xampp/xamppfiles/bin/httpd
    14. Dir and file name of server control script: /Applications/xampp/xamppfiles/bin/apachectl
    15. Click Next
    16. I put my CFIDE in the default Mac web sites folder, which I changed the “DocumentRoot” value in the /Applications/xampp/etc/httpd.conf file of xampp also. So select your default web server DocumentRoot. Either:
      /Applications/xampp/xamppfiles/htdocs
      /Users/renaun/Sites/
      Click Next
    17. Enter a password for the CFIDE administration login and click Next
    18. Enabled RDS and give a password if you want. I did not, click Next
    19. Provide your Mac OS X user’s password and click Next
    20. Click Install and wait for it to install
    21. Click Ok, and it will open the CFIDE administration login wizard
    22. Log in with your password setup eariler in the wizard
  6. To Start/Stop ColdFusion manual open a Terminal app and type in Either:
    sudo /Applications/ColdFuions8/bin/coldfusion start
    - or -
    sudo /Applications/ColdFusion8/bin/coldfusion stop

21 comments August 7th, 2007


Cairngorm Multiple Backend Example Update

I posted about an Flex example using Cairngorm Store and multiple backends (ColdFusion Remoting and WebServices, AMFPHP using AMF0 and AMFPHP 1.9 alpha using AMF3). I goofed and forgot to put one updated file into the download. It was a change to the ProductVO to handle some WebService VO property conversion.

You can read my first post here:
http://renaun.com/blog/2006/12/19/170/

and get the update here:
http://api.renaun.com/flex2/posts/CairngormStoreMultipleBackend/CairngormStoreMultipleBackend.zip

PS: Thanks to Pete pointing out the missing file to me.

5 comments January 20th, 2007

All in One - Cairngorm Store Example (ColdFusion, AMFPHP, AMFPHP 1.9, and WebServices)

I have updated the Cairngorm Store multiple backend example. Along with the updated source code I have deploy a live running example. The 4 backends it supports now is ColdFusion Remoting AMF3, AMFPHP AMF0 using the RemoteObjectAMF0 class, AMFPHP 1.9 AMF3, and ColdFusion WebServices.

See it live here!

Get the source here!

To change the backend of the Cairngorm Store example just select the backend you want from ComboBox and then click on the Refresh Data button. I had to do write some exception code to convert the returned XML data into the ArrayCollection to conform all the backend but besides that it was really easy to integrate all of them into the Services.mxml.

PS: I just installed a new license on the ColdFusion server with a new Apache web server configuration so let me know if there are any issues.

26 comments December 19th, 2006

ColdFusion MX 7.0.2 didn’t play nice with RedHat ES4

I have been fighting to get ColdFusion MX 7.0.2 on a RedHat ES4 box. I did a typical install straight from the download (coldfusion-702-lin.bin) to the integration with Apache. Everything seemed fine until I started trying to connect with my Flex 2 applications. I received this error messages, which don’t show up any where on the web, except for a reference to a FDS/ColdFusion installation issue.

[Flex] Exception when invoking service: coldfusion-flashremoting-service
with message: Flex Message (flex.messaging.messages.RemotingMessage)
operation = getStatisticsByName
clientId = 34629AE6-CD0E-48A5-BFA8-852FE58DF5AD
destination = ColdFusion
messageId = EA7DE3DE-7499-ACA5-4614-D4564829D4FA
timestamp = 1163203485725
timeToLive = 1163203485725
body = null
hdr(DSEndpoint) = my-cfamf
exception: flex.messaging.MessageException:
flex/messaging/io/amf/UnknownTypeException

[Flex] Error handling message: flex.messaging.MessageException:
flex/messaging/io/amf/UnknownTypeException
incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage)
operation = getStatisticsByName
clientId = 34629AE6-CD0E-48A5-BFA8-852FE58DF5AD
destination = ColdFusion
messageId = EA7DE3DE-7499-ACA5-4614-D4564829D4FA
timestamp = 1163203485725
timeToLive = 1163203485725
body = null
hdr(DSEndpoint) = my-cfamf
errorReply: Flex Message (flex.messaging.messages.ErrorMessage)
clientId = null
correlationId = EA7DE3DE-7499-ACA5-4614-D4564829D4FA
destination = ColdFusion
messageId = 34629AF3-020B-CBF3-29F7-BBB32E69FF55
timestamp = 1163203485730
timeToLive = 0
body = null
code = Server.Processing
message = flex/messaging/io/amf/UnknownTypeException
details = null
rootCause = java.lang.NoClassDefFoundError:
flex/messaging/io/amf/UnknownTypeException
body = null
extendedData = null

After many attempts of uninstalling and re-installing I got it to work. The method to the madness was that I had to:
1. Install ColdFusion MX 7.0.1 (which you can’t download directly, luckily I had a copy on another server)
2. Then install 7.0.1 updater (coldfusion-70-updater-lin.bin)
3. Then install 7.0.2 updater (coldfusion-70-updater2-lin.bin)

When the server came up using the steps above, it all worked like it should have. This is only my third install of ColdFusion MX 7.0.2 on non-development box and I was shocked I had so much trouble with this one. Hopefully this post will stand as a reminder for me, and a help for other people stuck with the same error message above.

10 comments November 10th, 2006

Cairngorm Store Example using ColdFusion RemoteObject as backend

I have created another port of the Adobe Flex Cairngorm Store example using ColdFusion RemoteObject on the backend. This example actually is created to show how to switch between different backends. The ColdFusion WebService implementation is not working at this time and I am trying to track down the Cairngorm 2.1 changes that has affect it or if the problem is else where. The 2 backends that are working are ColdFusion RemoteObject and AMFPHP with RemoteObjectAMF0.

Get the source here!

You can read more on the AMFPHP implementation in my previous post.

4 comments November 1st, 2006

ColdFusion MX 7.0.2 hosting to work with Flex 2

I have not been following who is providing the latest ColdFusion MX 7.0.2 hosting, but its important if you are trying to use Flex 2’s RPC services.

I picked up a google news alert that says “CrystalTech Offering ColdFusion MX 7 Web Hosting With Adobe Flex 2″.

Continue Reading Add comment September 27th, 2006

ColdFusion Query of Queries Order By Case Sensitivity Fun

Have you ever tried using ORDER BY in a query of queries in ColdFusion, well come to find out its case sensitive, and I need it to be case insensitive. Read on for me solution to the problem.

Continue Reading 6 comments July 15th, 2006

Download JPG’s with ColdFusion from a Linux server

I am working on a Flex and ColdFusion file upload/download component and came across the fun Linux and Windows file format issues. The files will upload correctly but if you try and pull down a JPG file form the linux server with ColdFusion’s tag with the default charset it will not come down correctly.

Continue Reading 2 comments July 7th, 2006

Flex2 FileReference API for Uploading Files

I read through the article titled, “Using the FileReference API to upload files in Flex 2 applications”. It is a good starting point for learning how to use the file upload and download capabilites in Flex 2 and Flash Player 9. …

Continue Reading 7 comments June 27th, 2006

Flex Builder 2 and CFEclipse

If you have not tried already, it is possible to have CFEclipse installed into the standalone version of Flex Builder 2….

Continue Reading 3 comments June 24th, 2006

Previous Posts


Disclaimer: I work as a Flash/Flex Developer for Adobe Systems Incorporated. The opinions expressed here represent my own and not those of my employer.

My Amazon.com Wish List

Calendar

July 2008
S M T W T F S
« Jun    
 12345
6789101112
13141516171819
20212223242526
2728293031  

Posts by Month

Posts by Category


Flex.org - The Directory for Flex