Join David Gassner for an in-depth discussion in this video Starting and stopping ColdFusion on Mac OS X, part of ColdFusion 9 Essential Training.
- View Offline
ColdFusion 9 is installed on Mac OS X so that you can start and stop it as you need. ColdFusion takes quite a bit of memory to run in the background. So if you aren't using it for development at any given point, it's usually a good idea to shut the server down. I'll show you here how to start and stop the server. Go to your Mac hard disk, and from there to the Applications folder, and then to the ColdFusion 9 folder. Locate and open the ColdFusionLauncher application by double-clicking it. The ColdFusionLauncher application is a very simple visual application with three buttons: to start, and stop the server, and to launch the Web Server Connector utility.
The web server connector utility can be used to connect ColdFusion to your copy of Apache that came with Mac OS X. If ColdFusion is already running, and you click the Start ColdFusion 9 button, you'll see this message: 'ColdFusion 9 is already running'. ColdFusion was started up when I first installed it. If you need to restart ColdFusion for any reason, click the Stop button. It takes a few moments to shut down the server. As I mentioned, ColdFusion uses quite a bit of memory and runs multiple services. Once you get the message that ColdFusion 9 has stopped, click the Start button.
Once again, you'll see a series of messages. When you see that ColdFusion has started, you can test the server by navigating to the ColdFusion Administrator application. Go to any browser. I'll open Firefox and navigate to this URL: http://127.0.0.1:8500. As I've described previously, this is the host IP address and the port number, then /CFIDE, then /administrator.
Notice that CFIDE is uppercase and administrator is lowercase. I'll press Enter, and I go to the ColdFusion 9 Administrator login screen. I'll type in the password that I created during the installation process and click Login. Now I'm in the ColdFusion Administrator screen. If you can run ColdFusion Administrator, then you know that the ColdFusion Server is working correctly. Now I'll bookmark this location in my browser. In Firefox, I choose Bookmarks > Bookmark This Page, and click Done.
Later on, if I want to go to ColdFusion Administrator, I can simply pull down the list of Bookmarks and jump to the Administrator application. If I need to login again, I'll be presented with the login screen and then I'll be able to manage everything about my ColdFusion installation.
- Using ColdFusion Builder to define a default page template
- Defining a data source with ColdFusion Administrator
- Creating data access ColdFusion Components (CFCs) in ColdFusion Builder
- Using ColdFusion ORM (Object Relational Mapping)
- Applying dynamically developed URLs to datasets
- Validating data entry forms and defining client-side validation rules