Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Configuring and managing ColdFusion servers

From: ColdFusion Builder Essential Training

Video: Configuring and managing ColdFusion servers

A great deal of advanced functionality is available to CF Builder if you hook it directly to your ColdFusion server. You can add and manage multiple servers directly inside the server view of CF Builder. Once you have a ColdFusion server configured, you'll be able to access data sources and file system data on the server as well as get SQL code hinting, view components on the server and =hook directly into Web services. So, the first thing you need to do is add a server. If you don't already have the Servers view open-- as you can see here, it's on the bottom half of the default UI.

Configuring and managing ColdFusion servers

A great deal of advanced functionality is available to CF Builder if you hook it directly to your ColdFusion server. You can add and manage multiple servers directly inside the server view of CF Builder. Once you have a ColdFusion server configured, you'll be able to access data sources and file system data on the server as well as get SQL code hinting, view components on the server and =hook directly into Web services. So, the first thing you need to do is add a server. If you don't already have the Servers view open-- as you can see here, it's on the bottom half of the default UI.

You can go up to Window, choose Show View and select Servers. Once you're in the Servers view, you'll see this little Add Server icon. If you click the little down arrow, you can choose Connect to ColdFusion Server, which opens the New ColdFusion Server Setup dialog, which looks a little bit intimidating. Since we're working on a local ColdFusion server, we're not going to have to fill out most of the stuff on this dialog. So, let's just get started. I'll give my server a name. We'll call it Local CF9. If I like I can give a description.

If I have three or four or a dozen servers that I'm going to be working with and they will help me to know which one I'm managing inside the Servers view. So, we'll call this my Local ColdFusion 9 Installation. Now for the Application Server, the default is Jrun, which again is what our local development ColdFusion 9 is running on top of. If you are using a different application server, you'll need to choose Other. You will not however be able to start and stop ColdFusion directly from CF Builder if you're not using Jrun.

So, the next thing we'll provide is our host name. Since we're working on our local machine, we'll call that localhost. If you needed a different IP address or even a proper domain name, you'd enter that here. And since we're working locally, we'll leave Is Local selected. If you choose Is Remote, nothing really changes, although you won't be able to auto start and stop your servers, but the dialog doesn't change at all. So, we're going to leave this at Is Local. And then our WebServer Port, the default for a ColdFusion 9 development instance is 8500 and then for Context Root and Application Server Name, you only need those if you're going to be using a multi-instance ColdFusion server.

So, if you had a ColdFusion server with multiple instances setup, you would need to tell CF Builder which instance you're going to be hooking into so that it knows what to use for RDS and all those other wonderful features we're going to be using. So, the last thing on this dialog is we're going to enter in our RDS user name and password, which you should have set up when you installed ColdFusion9. And then we're also going to Auto Start and Auto Stop this server. What that means is when CF Builder shuts down, when we quit CF Builder, it will automatically stop the ColdFusion server.

When we start CF Builder up, it will automatically start the ColdFusion server. That means that CF 9 will be up and ready to go as soon as we start CF Builder and it'll shut down so it's not using any computer resources when we're done working for the day and we quit the application. So, once that dialog is complete, we'll click Next and now we need to specify our local server settings. So, I'm going to choose where my server home directory. So, I click Browse and in this case, my local ColdFusion server is under Applications in ColdFusion9.

If you are on the Windows' side that's most likely under your C drive in the ColdFusion9 directory. So, I'll click Choose and ColdFusion9 will do the rest for us. It can determine the version and it sets our web root. If we were using a remote server, we would need to select the ColdFusion version in this little dropdown list. Now these next two we're not going to be using for our local installation, but the URL Prefix and Virtual Host Settings are used if you need to access files that are outside of your regular web root. For example, if you have CFCs that live outside the web root that you need CF Builder to be aware of, you can specify those here in the URL Prefixes.

And Virtual Host Settings you'll use if you're using a server that's hosting multiple web sites on the same IPs. You will specify each of those web sites, their individual ports and document roots, all that other kind of good stuff. So, as we're just using our regular local installation, we don't need to worry about any of this either. So, we'll click Next. Now it's going to ask us if we want to install some extensions that come with CF Builder, which include an ORM CFC builder and a standard CFC builder extension.

At this point, we are not going to install these extensions because I'm going to cover this later in another chapter. So, click Finish and down here, it is going to set up our ColdFusion server and immediately start it since I had elected to have the server auto-start. So, as you can see, it's showing me everything in the log view for ColdFusion server as the server gets started up. And now we can see it's ready to go. It took 15 seconds to get the server started.

It's now that your server is set up, we'll go back to the Servers view and you can see that it is currently running. If I scroll over here to the side, you can see there's the description I typed in. There's the server type, which is local, my host and my port. Across the top, here we also have options to restart the server, ColdFusion 9 servers can't be paused, and we can stop the server. We can also open the logs for each server. We can look at the event gateways, the server logs. Again, we're going to cover an another video, but for now, I'll show you how to stop and start the server.

Scroll back over here to the left and if I just right-click on the server I also have all those same options. We can restart, stop, delete or edit the server. I could even launch the Server Monitor or the ColdFusion Administrator directly from here. So, let's stop the server. If I go back over here to the console, we can see it didn't take any time at all to completely stop the ColdFusion server and then it destroys all the resources the ColdFusion server was using. Go back over here to the Servers view and we can see that that server is now listed as Stopped.

So, this time I'll click on the little play icon and we'll start the server back up. We now know how to add and manage all of your ColdFusion servers in CF Builder, but don't go overboard. Be sure to configure just what you need in order to keep CF Builder working nice and smooth and double-check your configurations before moving on to developing your application. A good number of features depend on having access to your project's ColdFusion server, so make sure you have all those settings correct.

Show transcript

This video is part of

Image for ColdFusion Builder Essential Training
ColdFusion Builder Essential Training

40 video lessons · 3885 viewers

Daniel Short
Author

 
Expand all | Collapse all
  1. 7m 48s
    1. Welcome
      59s
    2. Installing ColdFusion Builder
      2m 20s
    3. Installing ColdFusion Builder as a plug-in
      3m 18s
    4. Using the exercise files
      1m 11s
  2. 17m 42s
    1. Workspace overview
      2m 25s
    2. Organizing your workspace
      6m 19s
    3. Adding and selecting workspaces
      2m 53s
    4. Installing and managing plug-ins
      6m 5s
  3. 12m 12s
    1. Creating projects
      2m 11s
    2. Importing projects
      2m 48s
    3. Creating project working sets
      2m 23s
    4. Managing projects
      2m 22s
    5. Linking folders
      2m 28s
  4. 23m 2s
    1. Configuring and managing ColdFusion servers
      6m 26s
    2. Using the Services Browser
      4m 15s
    3. Using RDS Dataview and Fileview
      4m 52s
    4. Using FTP
      7m 29s
  5. 18m 10s
    1. Creating editor profiles
      2m 6s
    2. Using Code Assist
      5m 43s
    3. Setting code coloring
      4m 5s
    4. Using shortcut keys
      3m 5s
    5. Working with outlines and syntax checking
      3m 11s
  6. 37m 40s
    1. Using code completion
      7m 25s
    2. Using snippets
      9m 23s
    3. Using SQL editing and the Query Viewer
      5m 55s
    4. Working with components
      7m 27s
    5. Working with variable mapping
      2m 14s
    6. Navigating code and documents
      5m 16s
  7. 13m 12s
    1. Getting set up
      3m 50s
    2. Using the ColdFusion debugger
      5m 37s
    3. Watching logs with Tailview
      3m 45s
  8. 13m 8s
    1. Installing extensions
      4m 5s
    2. Using the CFC Generator extension for ColdFusion 8
      4m 52s
    3. Using the CFC Generator extension for ColdFusion ORM
      4m 11s
  9. 34m 5s
    1. Building a simple contact form extension
      3m 42s
    2. Creating user interfaces
      8m 55s
    3. Packaging the extension
      3m 55s
    4. Building the handler
      8m 10s
    5. Using the Builder extension
      9m 23s
  10. 25s
    1. Goodbye
      25s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed ColdFusion Builder Essential Training.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.