Kathirvel K

To test the ColdFusion server:

Posted on: October 14, 2009


Test the ColdFusion server
To test the ColdFusion server:
Make sure the ColdFusion server is started.
Depending on your decision during the installation, ColdFusion may start automatically when you start your computer or you may have to start it manually.
To start ColdFusion manually in Windows, select Start > Control Panel > Administrative Tools, then double-click Services. Right-click ColdFusion 8 Application Server and select Start. Right-click and start ColdFusion 8 ODBC Server and ColdFusion 8 ODBC Agent.
To start ColdFusion manually on a Macintosh, open Finder, go to Applications/ColdFusion8, and double-click ColdFusionLauncher. In the ColdFusionLauncher dialog box, click Start ColdFusion 8.
In Dreamweaver, or any text editor, create a plain-text file, and call it timetest.cfm.
In the file, enter the following code:
<p>This page was created at <b>
<cfoutput>#TimeFormat(Now(), “HH:mm:ss”)#</cfoutput>
</b> on the computer running ColdFusion.</p>
This code displays the time when the page was processed on the server.
Copy the file to the web root folder of the computer running ColdFusion.
If ColdFusion is running on your local computer, copy the file to the following folder:
Windows: C:\ColdFusion8\wwwroot\
Macintosh: Applications/ColdFusion8/wwwroot/
In your web browser, enter the URL of your test page, and then press Enter.
If ColdFusion is running on your local computer, enter the following URL:
By default, the ColdFusion server uses port 8500.
If the test page opens and displays the current time, the application server is running normally. The specified time is known as dynamic content because it changes every time you request the page. Click your browser’s Refresh button to generate a new page with a different time.
Note: Looking at the source code (View > Source In Internet Explorer) will confirm that the page does not use any client-side JavaScript to achieve this effect.

Make sure the ColdFusion server is started.

Depending on your decision during the installation, ColdFusion may start automatically when you start your computer or you may have to start it manually.

To start ColdFusion manually in Windows, select Start > Control Panel > Administrative Tools, then double-click Services. Right-click ColdFusion 8 Application Server and select Start. Right-click and start ColdFusion 8 ODBC Server and ColdFusion 8 ODBC Agent.

To start ColdFusion manually on a Macintosh, open Finder, go to Applications/ColdFusion8, and double-click ColdFusionLauncher. In the ColdFusionLauncher dialog box, click Start ColdFusion 8.

In Dreamweaver, or any text editor, create a plain-text file, and call it timetest.cfm.

In the file, enter the following code:

<p>This page was created at <b>

<cfoutput>#TimeFormat(Now(), “HH:mm:ss”)#</cfoutput>

</b> on the computer running ColdFusion.</p>

This code displays the time when the page was processed on the server.

Copy the file to the web root folder of the computer running ColdFusion.

If ColdFusion is running on your local computer, copy the file to the following folder:

Windows: C:\ColdFusion8\wwwroot\

Macintosh: Applications/ColdFusion8/wwwroot/

In your web browser, enter the URL of your test page, and then press Enter.

If ColdFusion is running on your local computer, enter the following URL:

http://localhost:8500/timetest.cfm

By default, the ColdFusion server uses port 8500.

If the test page opens and displays the current time, the application server is running normally. The specified time is known as dynamic content because it changes every time you request the page. Click your browser’s Refresh button to generate a new page with a different time.

Note: Looking at the source code (View > Source In Internet Explorer) will confirm that the page does not use any client-side JavaScript to achieve this effect.

Source:http://www.adobe.com/devnet/dreamweaver/articles/setup_coldfusion_02.html

Advertisements
Tags:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: