You can perform some tests to avoid experiencing trouble as you begin your work with ColdFusion.
Verify the following:
Before you install ColdFusion, ensure that your web server is installed and running.
Note: To run ColdFusion Administrator, you must enable cookies in your browser. |
If ColdFusion is installed on a remote server:http://hostname/CFIDE/administrator/index.cfm}}where, hostname is the name of the server on which ColdFusion resides. If you are using the internal web server, specify {{hostname :8500.
Note: On UNIX, the ColdFusion Administrator URL is case-sensitive. Ensure that you enter the address as shown. |
On a Windows platforms, ColdFusion runs under the host System account by default. However, ColdFusion application pages may not have the access rights required to interact with other resources, such as remote data sources, other application pages, and COM objects. Therefore, you must run ColdFusion under a specific account that provides the necessary access rights.
Log files generated by ColdFusion can help you monitor the activity of your server and ColdFusion applications. For details about setting your logging preferences.You can use the Log Viewer to analyze information in your log files so that you can troubleshoot your ColdFusion performance or repair problem pages in your site. For example, depending on your logging preferences, you can identify pages in your applications that take longer than a specified length of time to process.
Note: This discussion does not apply when deploying ColdFusion on a JEE server. To uninstall ColdFusion on a JEE server, uninstall the ColdFusion ODBC service on your Windows system (if installed, during installation of ColdFusion) and undeploy the ColdFusion application. |
Uninstalling ColdFusion deletes all ColdFusion program files and related components from your system.
To begin uninstalling the latest patch, click the Uninstall button.
Note: Uninstalling ColdFusion patches from the ColdFusion Administrator is not supported for JEE deployments. |
You can set or change the password that restricts access to ColdFusion Administrator pages as follows:
Note: This discussion does not apply when deploying ColdFusion on a JEE server. |
During installation, you typically start ColdFusion services and processes, and configure them to start and run whenever you start your system. After you perform any of the following actions in the ColdFusion Administrator, stop and restart ColdFusion services:
Note: This discussion does not apply when deploying ColdFusion on a JEE server. |
If you install ColdFusion in Windows, you can use the Windows Performance Monitor utility to track the performance of your server. This utility installs automatically as part of the ColdFusion installation, and works with a set of counters to monitor server performance. The following are the available ColdFusion counters: that you can enable in the Windows Performance Monitor:
If you install ColdFusion in Windows, you can use the Debugging Output Settings page to enable performance monitoring through the Windows Performance Monitor utility. To enable performance monitoring,
After you enable performance monitoring, you can configure the Performance Monitor.
The ColdFusion Multiserver Monitor lets you keep track of activities on multiple ColdFusion servers. You can quickly see the status of several servers, and view detailed information about each server.
To add a server to those you are monitoring,
Click OK.
To quickly see the status of all the servers you are monitoring, click Quick View. For each server you are monitoring, the Multiserver Monitor displays the server name, port, how long the server has been running, and whether there are any alerts.
To see a detailed status of all the servers you are monitoring, click Detailed View.
The detailed view lists each server. To see details about a server in the list, highlight it. The details appear at the bottom of the page. To see information about any server errors, click Errors.
Note: The errors listed on this page include only server errors. Application errors appear in the individual Server Monitor on the Summary page. |
If you register some servers in the Multiserver Monitor served by 127.0.0.1, and then open a Multiserver Monitor served by localhost, the servers are not considered to be the same servers. This is because Flash creates different shared objects for these IP addresses. The information that is stored in these shared objects is saved using XOR encryption. The master password for the Multiserver Monitor is stored using SHA1 encryption.
You can set the following on a per-application basis:
Custom tag paths
These settings override the server-side settings in the ColdFusion Administrator for the specified application only. Specifying per application settings does not change the server-wide settings. To set per application settings, you must first enable per application settings on the Settings page of the ColdFusion Administrator. You then set the mappings or custom tag paths in the Application.cfc file.
Custom Tags in per application settings override those defined in the ColdFusion Administrator. For example, if you have two custom tags of the same name and they are in different locations in the Administrator and per-application settings, the one in the per application settings is taken first.
Note: Per application settings are supported in applications that use an Application.cfc file only, not in applications that use an Application.cfm file. The per application settings do not work if you have disabled application variables on the Memory Variables page of the Administrator. |
To set the mappings per application,
Include code similar to the following in your Application.cfc file:
<cfset THIS.mappings["MyMap"]="c:\inetpub\myStuff"> |
or
<cfset StructInsert(THIS.mappings, "MyMap", "c:\inetpub\myStuff")> |
To set the custom tag paths per application,
Include code similar to the following in your Application.cfc file:
<cfset customtagpaths = ListAppend(customtagpaths,"c:\mapped3")> |
You can view a list of undelivered mails in the Server Settings > Mail > Undelivered Mail page. To access this page and manage your undelivered mails:
You can view and search log content using the Log Viewer page. This page identifies the content for each log file that you specified to view on the Log Files page.
Use the Log Viewer
Area |
Description |
---|---|
Launch Filter button |
Click to open the Filter dialog box so you can customize the content in the log file viewer. |
Searching file |
Identifies the name of the log files that you are viewing. |
View Raw Data |
Shows the actual content of the log file message, including the HTML tags, if they exist. Many error messages are formatted with HTML tags that are rendered by the browser. If an HTML tag exists, the raw data shows the tag attributes <p>hello</p>, whereas not viewing the file using the raw data feature shows "hello." |
Compact View |
Trims the content of the error messages and increases the count of viewed log entries from 10 to 20 per page. |
Number of messages or events |
Shows the total number of messages with links to view the previous and next pages. |
Date and Time |
Identifies the date and time the event occurred. |
Severity |
Level of severity: Fatal (errors that terminate the application), Error (recoverable errors), Warning (cautionary information), and Information (details the status and settings of the ColdFusion server. |
ThreadID |
Identifies the thread identification number for the event. This string is used by Adobe Technical Support personnel to track and troubleshoot problems. |
Application Name |
If applicable, shows the name of the application. |
Log Message |
Describes the error that occurred. |
Click Next to proceed with restoring the archive. The Deploy Location panel appears (see step 5).
Note: (For UNIX users only) If you must run the deploy process as a privileged user, select the Run This Deployment As A Specific User option. Then enter any system account name in the User name text box, and the corresponding account password in the Password text box. The user name and password must match the existing user name and password for this system; the deployment process runs as that user. If the user name and password do not match the existing user name and password for this system account, the deployment procedure fails. |
Přihlaste se ke svému účtu.