Brugerhåndbog Annuller

Install the server configuration

  1. ColdFusion User Guide
  2. Introduction to ColdFusion
    1. About Adobe ColdFusion
    2. Download Adobe ColdFusion
    3. What's new in ColdFusion (2021 release)
    4. ColdFusion (2021 release) Release Notes
    5. Deprecated Features
    6. REST enhancements in ColdFusion (2018 release)
    7. Server Auto-Lockdown
    8. Asynchronous programming
    9. Docker images for ColdFusion
  3. Adobe ColdFusion (2021 release)
    1. Install ColdFusion- Zip Installer
    2. Install ColdFusion- GUI Installer
    3. ColdFusion Licensing and Activation
    4. ColdFusion Package Manager
    5. CFSetup configuration tool
    6. SAML in ColdFusion
    7. ColdFusion and Amazon S3
    8. ColdFusion and DynamoDB
    9. ColdFusion and Amazon SQS
    10. ColdFusion and Amazon SNS
    11. ColdFusion and MongoDB
    12. ColdFusion and Azure Blob
    13. ColdFusion and Azure Service Bus
    14. New and updated language enancements
    15. Multi-cloud storage services
    16. Multi-cloud RDS databases
    17. ColdFusion and Azure Cosmos DB
  4. Install ColdFusion
    1. ColdFusion server profiles
    2. Prepare to install ColdFusion
    3. Install the server configuration
    4. Install the JEE configuration
    5. Install ColdFusion Express
    6. Install integrated technologies
    7. Configure your system
    8. Troubleshoot installation issues
    9. Install ColdFusion silently
    10. Install Adobe ColdFusion (2016 release) hotfix
    11. ColdFusion (2018 release) - Install JEE configuration
  5. Use ColdFusion
    1. Command Line Interface (CLI)
    2. External session storage
    3. Generate Swagger documents
    4. Language enhancements
    5. NTLM support
    6. New and changed functions/tags in Adobe ColdFusion (2016 release)
    7. PDF enhancements
    8. Security enhancements in ColdFusion (2016 release)
  6. Performance Monitoring Toolset
    1. Auto-discovery of ColdFusion nodes and clusters
    2. Code profiler in ColdFusion Performance Monitoring Toolset
    3. Configure ColdFusion Performance Monitoring Toolset settings
    4. Install ColdFusion Performance Monitoring Toolset
    5. Overview of ColdFusion Performance Monitoring Toolset
    6. View cluster and node metrics
    7. View data source metrics
    8. View external services
    9. View incoming services
    10. View list of sites and busy connections
    11. View topology of sites
    12. Datastore Health Monitoring
    13. Performance Monitoring Toolset Update 1
    14. Secure Performance Monitoring Toolset with HTTPS/SSL
    15. Performance Monitoring Toolset deployment guide
  7. Use ColdFusion Builder
    1. About ColdFusion Builder
    2. System requirements | ColdFusion Builder
    3. Install ColdFusion Builder
    4. Edit code in ColdFusion Builder
    5. Manage servers in ColdFusion Builder
    6. Manage projects in ColdFusion Builder
    7. What’s new in Adobe ColdFusion Builder (2018 release)
    8. Frequently Asked Questions (FAQ) | Adobe ColdFusion Builder (2018 release)
    9. Debug applications in ColdFusion Builder
    10. ColdFusion Builder workbench
    11. ColdFusion Builder extensions
    12. Debugging Perspective in ColdFusion Builder
    13. Build mobile applications using ColdFusion Builder
    14. Bundled ColdFusion Server
    15. Debug mobile applications in ColdFusion Builder
    16. Use extensions in ColdFusion Builder
  8. Coldfusion API Manager
    1. Overview of Adobe ColdFusion API Manager
    2. Features in ColdFusion API Manager
    3. Get started with ColdFusion API Manager
    4. Install ColdFusion API Manager
    5. Authentication types
    6. Create and publish APIs
    7. Administrator
    8. Subscriber
    9. Throttling and rate limiting
    10. Notifications
    11. Connectors
    12. Set up cluster support
    13. Integrate ColdFusion and API Manager
    14. Metrics and Logging in API Manager
    15. Generate Swagger documents
    16. Configure SSL
    17. Known issues in this release
    18. Policies in ColdFusion API Manager
    19. Create a Redis cluster
    20. Multitenancy in API Manager
    21. Docker images for ColdFusion API Manager
  9. Configure and administer ColdFusion
    1. Administer ColdFusion
    2. Use the ColdFusion administrator
    3. Data Source Management for ColdFusion
    4. Connect to web servers
    5. Deploy ColdFusion applications
    6. Administer ColdFusion security
    7. Basic Troubleshooting and FAQs
    8. Work with Server Manager
    9. Use multiple server instances
    10. WebSocket Enhancements (ColdFusion 11)
    11. Security Enhancements (ColdFusion 11)
    12. Work with Server Monitor
    13. ColdFusion Administrator API Reference
  10. CFML Reference
    1. Introduction to CFML Reference
      1. New functions in ColdFusion (2018 release)
      2. New and changed functions/tags in Adobe ColdFusion (2016 release)
      3. Script supported tags and functions
      4. New and changed tags/functions in ColdFusion 11
    2. Reserved words and variables
      1. Reserved words and variables
      2. Reserved words
      3. Scope-specific built-in variables
      4. Custom tag variables
      5. ColdFusion tag-specific variables
      6. CGI environment (CGI Scope) variables
    3. ColdFusion tags
      1. ColdFusion tags
      2. Tags in ColdFusion 10
      3. Tag summary
      4. Tags by function
      5. Tag changes since ColdFusion 5
      6. Tags a-b
      7. Tags c
      8. Tags d-e
      9. Tags f
      10. Tags g-h
      11. Tags i
      12. Tags j-l
      13. Tags m-o
      14. Tags p-q
      15. Tags r-s
      16. Tags t
      17. Tags u-z
    4. ColdFusion functions
      1. ColdFusion functions
      2. New functions in ColdFusion 10
      3. ColdFusion functions by category
      4. Function changes since ColdFusion 5
      5. Functions a-b
      6. Functions c-d
      7. Functions e-g
      8. Functions h-im
      9. Functions in-k
      10. Functions l
      11. Functions m-r
      12. Functions s
      13. Functions t-z
      14. BooleanFormat
    5. Ajax JavaScript functions
      1. Ajax JavaScript functions
      2. Function summary Ajax
      3. ColdFusion.Ajax.submitForm
      4. ColdFusion.Autosuggest.getAutosuggestObject
      5. ColdFusion.Layout.enableSourceBind
      6. ColdFusion.MessageBox.getMessageBoxObject
      7. ColdFusion.ProgressBar.getProgressBarObject
      8. ColdFusion.MessageBox.isMessageBoxDefined
      9. JavaScriptFunctionsinColdFusion9Update1
    6. ColdFusion ActionScript functions
      1. ColdFusion ActionScript functions
      2. CF.http
      3. CF.query
    7. ColdFusion mobile functions
      1. ColdFusion Mobile Functions
      2. Accelerometer Functions
      3. Camera Functions
      4. Connection Functions
      5. Contact Functions
      6. Event Functions
      7. File System Functions
      8. Geolocation Functions
      9. Media and Capture Functions
      10. Notification Functions
      11. Splash Screen Functions
      12. Storage Functions
    8. Application.cfc reference
      1. Application.CFC reference
      2. Application variables
      3. Method summary
      4. onAbort
      5. onApplicationEnd
      6. onApplicationStart
      7. onMissingTemplate
      8. onCFCRequest
      9. onError
      10. onRequestEnd
      11. onRequest
      12. onRequestStart
      13. onServerStart
      14. onSessionEnd
      15. onSessionStart
    9. Script functions implemented as CFCs
      1. Script Functions Implemented as CFCs
      2. Accessing the functions
      3. Function summary
      4. ftp
      5. http
      6. mail
      7. pdf
      8. query
      9. Script functions implemented as CFCs in ColdFusion 9 Update 1
      10. storedproc
    10. ColdFusion Flash Form style reference
      1. Styles valid for all controls
      2. Styles for cfform
      3. Styles for cfformgroup with horizontal or vertical type attributes
      4. Styles for box-style cfformgroup elements
      5. Styles for cfformgroup with accordion type attribute
      6. Styles for cfformgroup with tabnavigator type attribute
      7. Styles for cfformitem with hrule or vrule type attributes
      8. Styles for cfinput with radio, checkbox, button, image, or submit type attributes
      9. Styles for cftextarea tag and cfinput with text, password, or hidden type attributes
      10. Styles for cfselect with size attribute value of 1
      11. Styles for cfselect with size attribute value greater than 1
      12. Styles for cfcalendar tag and cfinput with dateField type attribute
      13. Styles for the cfgrid tag
      14. Styles for the cftree tag
      15. ColdFusion Flash Form Style Reference
    11. ColdFusion event gateway reference
      1. ColdFusion Event Gateway reference
      2. addEvent
      3. CFEvent
      4. CFEventclass
      5. Constructor
      6. Gateway development interfaces and classes
      7. getStatus
      8. setCFCPath
      9. setCFCMethod
      10. getOriginatorID
      11. getLogger
      12. getBuddyList
      13. getBuddyInfo
      14. IM gateway message sending commands
      15. IM Gateway GatewayHelper class methods
      16. onIncomingMessage
      17. onIMServerMessage
      18. onBuddyStatus
      19. onAddBuddyResponse
      20. onAddBuddyRequest
      21. IM Gateway CFC incoming message methods
      22. IM gateway methods and commands
      23. CFML CFEvent structure
      24. warn
      25. info
      26. setOriginatorID
      27. data command
      28. submit Multi command
      29. submit command
      30. setGatewayType
      31. setGatewayID
      32. setData
      33. setCFCListeners
      34. outgoingMessage
      35. getStatusTimeStamp
      36. numberOfMessagesReceived
      37. numberOfMessagesSent
      38. removeBuddy
      39. removeDeny
      40. removePermit
      41. setNickName
      42. setPermitMode
      43. setStatus
      44. SMS Gateway CFEvent structure and commands
      45. SMS Gateway incoming message CFEvent structure
      46. getStatusAsString
      47. getProtocolName
      48. getPermitMode
      49. getPermitList
      50. getNickName
      51. getName
      52. getDenyList
      53. getCustomAwayMessage
      54. getQueueSize
      55. getMaxQueueSize
      56. getHelper
      57. getGatewayType
      58. getGatewayServices
      59. getGatewayID_1
      60. getGatewayID
      61. getData
      62. getCFCTimeout
      63. setCFCTimeout
      64. getCFCPath
      65. getCFCMethod
      66. GatewayServices class
      67. Gateway interface
      68. GatewayHelper interface
      69. addPermit
      70. addDeny
      71. addBuddy
      72. error
      73. debug
      74. Logger class
      75. stop
      76. start
      77. CFML event gateway SendGatewayMessage data parameter
      78. restart
      79. fatal
      80. SMS gateway message sending commands
    12. ColdFusion C++ CFX Reference
      1. C++ class overview
      2. Deprecated class methods
      3. CCFXException class
      4. CCFXQuery class
      5. CCFXRequest class
      6. CCFXStringSet class
      7. ColdFusion C++ CFX Reference
    13. ColdFusion Java CFX reference
      1. ColdFusion Java CFX reference
      2. Class libraries overview
      3. Custom tag interface
      4. Query interface
      5. Request interface
      6. Response interface
      7. Debugging classes reference
    14. WDDX JavaScript Objects
      1. WDDX JavaScript objects
      2. JavaScript object overview
      3. WddxRecordset object
      4. WddxSerializer object
  11. Develop ColdFusion applications
    1. Introducing ColdFusion
      1. Introducing ColdFusion
      2. About ColdFusion
      3. About Internet applications and web application servers
      4. About JEE and the ColdFusion architecture
    2. Changes in ColdFusion
      1. Changes in ColdFusion
      2. Replacement of JRun with Tomcat
      3. Security enhancements
      4. ColdFusion WebSocket
      5. Enhanced Java integration
      6. ColdFusion ORM search for indexing and search
      7. Solr enhancements
      8. Scheduler enhancements
      9. Integration with Microsoft Exchange Server 2010
      10. RESTful Web Services in ColdFusion
      11. Lazy loading across client and server in ColdFusion
      12. Web service enhancements
      13. Displaying geolocation
      14. Client-side charting
      15. Caching enhancements
      16. Server update using ColdFusion Administrator
      17. Secure Profile for ColdFusion Administrator
    3. Introduction to application development
      1. Introduction to application development using ColdFusion
      2. Using the Developing ColdFusion Applications guide
      3. About Adobe ColdFusion documentation for Developers
    4. The CFML programming language
      1. The CFML programming language
      2. Elements of CFML
      3. ColdFusion variables
      4. Expressions and number signs
      5. Arrays and structures
      6. Extend ColdFusion pages with CFML scripting
      7. Regular expressions in functions
      8. ColdFusion language enhancements
      9. Built-in functions as first class citizen
      10. Data types- Developing guide
    5. Building blocks of ColdFusion applications
      1. Building blocks of ColdFusion applications
      2. Create ColdFusion elements
      3. Write and call user-defined functions
      4. Build and use ColdFusion Components
      5. Create and use custom CFML tags
      6. Build custom CFXAPI tags
      7. Use the member functions
      8. Object Oriented Programming in ColdFusion
    6. Develop CFML applications
      1. Develop CFML applications
      2. Design and optimize a ColdFusion application
      3. Handle errors
      4. Use persistent data and locking
      5. Use ColdFusion threads
      6. Secure applications
      7. Client-side CFML (for mobile development)
      8. Use the ColdFusion debugger
      9. Debugging and Troubleshooting Applications
      10. Develop globalized applications
      11. REST enhancements in ColdFusion
      12. Authentication through OAuth
      13. Social enhancements
    7. Develop mobile applications
      1. Mobile application development
      2. Build mobile applications
      3. Debug mobile applications
      4. Inspect mobile applications
      5. Package mobile applications
      6. Troubleshoot mobile applications
      7. Device detection
      8. Client-side CFML
      9. Mobile Templates
      10. Code samples to build a mobile application
    8. Access and use data
      1. Access and use data
      2. Introduction to Databases and SQL
      3. Access and retrieve data
      4. Update database
      5. Use Query of Queries
      6. Manage LDAP directories
      7. Solr search support
    9. ColdFusion ORM
      1. ColdFusion ORM
      2. Introducing ColdFusion ORM
      3. ORM architecture
      4. Configure ORM
      5. Define ORM mapping
      6. Work with objects
      7. ORM session management
      8. Transaction and concurrency
      9. Use HQL queries
      10. Autogenerate database schema
      11. Support for multiple data sources for ORM
      12. ColdFusion ORM search
    10. ColdFusion and HTML5
      1. ColdFusion and HTML 5
      2. Use ColdFusion Web Sockets
      3. Media Player enhancements
      4. Client-side charting
      5. Display geolocation data
    11. Flex and AIR integration in ColdFusion
      1. Flex and AIR integration in ColdFusion
      2. Use the Flash Remoting Service
      3. Use Flash Remoting Update
      4. Offline AIR application support
      5. Proxy ActionScript classes for ColdFusion services
      6. Use LiveCycle Data Services ES assembler
      7. Use server-side ActionScript
    12. Request and present information
      1. Request and present information
      2. Retrieve and format data
      3. Build dynamic forms with cfform tags
      4. Validate data
      5. Create forms in Flash
      6. Create skinnable XML forms
      7. Use Ajax data and development features
      8. Use Ajax User Interface components and features
    13. Office file interoperability
      1. Office file interoperability
      2. Using cfdocument
      3. Using cfpresentation
      4. Using cfspreadsheet
      5. Supported Office conversion formats
      6. SharePoint integration
    14. ColdFusion portlets
      1. ColdFusion portlets
      2. Run a ColdFusion portlet on a JBoss portal server
      3. Run a ColdFusion portlet on a WebSphere portal server
      4. Common methods used in portlet.cfc
      5. ColdFusion portlet components
      6. Support for JSR-286
    15. Work with documents, charts, and reports
      1. Work with documents, charts, and reports
      2. Manipulate PDF forms in ColdFusion
      3. Assemble PDF documents
      4. Create and manipulate ColdFusion images
      5. Create charts and graphs
      6. Create reports and documents for printing
      7. Create reports with Report Builder
      8. Create slide presentations
    16. Use web elements and external objects
      1. Use web elements and external objects
      2. Use XML and WDDX
      3. Use web services
      4. Use ColdFusion web services
      5. Integrate JEE and Java elements in CFML applications
      6. Use Microsoft .NET assemblies
      7. Integrate COM and CORBA objects in CFML applications
    17. Use external resources
      1. Send and receive e-mail
      2. Interact with Microsoft Exchange servers
      3. Interact with remote servers
      4. Manage files on the server
      5. Use event gateways
      6. Create custom event gateways
      7. Use the ColdFusion extensions for Eclipse
      8. Use the data services messaging event gateway
      9. Use the data management event gateway
      10. Use the FMS event gateway
      11. Use the instant messaging event gateways
      12. Use the SMS event gateway

 

Gathering information necessary to install the server configuration

The ColdFusion server configuration contains an embedded copy of Tomcat and is most similar to earlier versions of ColdFusion.

Note: The cf_root directory refers to your installation directory. By default, this directory is C:\ColdFusion2018 in Windows, and /opt/ColdFusion 2018 in UNIX.

Although the Adobe ColdFusion (2018 release) installer provides an intuitive interface, it helps to plan your answers to the questions asked by the installer. Use the steps below to install the server configuration of Adobe ColdFusion (2018 release).

License Agreement

License agreement
License agreement

Accept the license agreement.

ColdFusion Install Type

ColdFusion install type
ColdFusion install type

Enter the serial number.

Developer edition: This free, fully functional version of ColdFusion is for local host development of applications that will be deployed on either standard or enterprise servers — and that can be simultaneously accessed from only two remote IP addresses.

30-day trial: If you choose this option, you get a fully functional ColdFusion Enterprise edition for a trial period of 30 days. You can add a license key through the ColdFusion Administrator also.

Previous Serial Number: Enter the serial number of a previously installed version of ColdFusion. Enter this number along with the serial number for the new ColdFusion installation.

Use the previous serial number if you upgrading ColdFusion from a previous version.

Installer Configuration

Installer configuration
Installer configuration

Choose the type of installation:

  • Server configuration
  • JEE configuration

ColdFusion Server Profiles

ColdFusion server profiles
ColdFusion server profiles

Select one of the supported Server profiles. For more information on the profiles, see Understanding ColdFusion Server Profiles.

Sub-components Installation

Sub-components installation
Sub-components installation

Select the sub-components to install.

Enable or Disable Servlets

Enabling or disabling servlets
Enabling or disabling servlets

Enable/disable the servlets to use.

Note: this option is valid only for the following profiles:

  • Production profile
  • Production + Secure Profile

All JEE web applications have a file in the WEB-INF directory called web.xml this file defines the servlets and servlet mappings for the JEE web application. A servlet mapping defines a URI pattern that a particular servlet responds to. For example, the servlet that handles requests for .cfm files is called the CfmServlet the servlet mapping for that looks like this:

<servlet-mapping id="coldfusion_mapping">

   <servlet-name>CfmServlet</servlet-name>

   <url-pattern>*.cfm</url-pattern>

</servlet-mapping>

The servlets are also defined in the web.xml (ColdFusion install dir/cfusion/wwwroot/WEB-INF) file. The CfmServlet is also defined in web.xml as follows:

<servlet id="coldfusion_servlet">

  <servlet-name>CfmServlet</servlet-name>

  <display-name>CFML Template Processor</display-name>

  <description>Compiles and executes CFML pages and tags</description>

  <servlet-class>coldfusion.bootstrap.BootstrapServlet</servlet-class>

  <init-param id="InitParam_1034013110656ert">

     <param-name>servlet.class</param-name>

     <param-value>coldfusion.CfmServlet</param-value>

  </init-param>

  <load-on-startup>4</load-on-startup>

</servlet>

You can remove servlet mappings in the web.xml to reduce the surface of attack. You don’t typically want to remove the CfmServlet or the *.cfm servlet mapping, but there are other servlets and mappings that you can remove, depending on the situation.

For more information on making changes to web.xml, and enabling/disabling servlets, see Pete Freitag's ColdFusion (2018 release) lockdown guide.

Performance Monitoring Toolset

Performance Monitoring Toolset
Performance Monitoring Toolset

Enter the hostname/DNS of the server where ColdFusion is installed.

Administrator Credentials

Administrator credentials
Administrator credentials

Specify the credentials to log in to ColdFusion administrator.

Note: For the Production Profile and Production + Secure Profile, there is a certain amount of password strength that is expected. If the password is not strong enough, you get the following warning message:

Access Add-on Services Remotely

Access add-on services remotely
Access add-on services remotely

Access add-on services remotely by allowed certain IP addresses.

If you selected PDFg  or Solr sub-components (when installing sub-components), the add-on services are installed.

When you leave the option Access Add-on Services Remotely unchecked, you can only access the add-on services from localhost. If you want to access the services from multiple ColdFusion servers and not just the localhost, choose the option Access Add-on Services Remotely, and specify the IP addresses of the remote ColdFusion servers.

ColdFusion Installation Directory

ColdFusion installation directory
ColdFusion installation directory

Enter the installation folder for ColdFusion.

Previous Version Detected

Previous version detected
Previous version detected

Choose an option if there is a previous version of ColdFusion on your server.

Configure Web Servers

Configure web servers
Configure web servers

  • Configure web server for ColdFusion
  • Enable ColdFusion in-built web server
Configure IIS web server
Configure IIS web server

Configure the IIS web server.

Web Server Port

Port of web server
Port of web server

Specify the port of the built-in web server.

Set Administrator Password

Set Administrator password
Set Administrator password

Confirm the administrator password.

Enable or Disable RDS

Enable or disable RDS
Enable or disable RDS

Enable or disable RDS.

RDS allows the server to interact with remotely connected developers. Adobe recommends that you disable RDS for production servers. Disabling RDS also disables the directory browsing applets in the ColdFusion Administrator.

Note:

The implementation of RDS module is a developer-focused feature, which we do not recommend to be used on a Production Server.

For Production Servers, the RDS Servlet is disabled.

Since the servlet is disabled in the backend xml file, enabling it from admin does not work.

Check for Server Updates

Check for server updates
Check for server updates

Specify if you want to check for server updates.

Pre-installation Details

Pre-installation details
Pre-installation details

View the pre-installation details.

Installation Complete

Installation complete
Installation complete

Exit the installation and verify the installation by logging in to the administrator.

Installing ColdFusion using the server configuration

Once you have determined the answers to the questions in the above section Gathering information necessary to install the server configuration, you can install the ColdFusion server configuration in Windows or UNIX, as applicable.

Installing ColdFusion server configuration in Windows or MAC

Bemærk:

(Windows only) The Windows installer requires a computer that supports at least 256 colors.

Install ColdFusion in Windows or MAC

  1. Read the online version of the Release Notes for any late-breaking information or updates. For more information, see www.adobe.com/go/learn_cfu_releasenote_en.
  2. Ensure that your operating system meets the system requirements described on the Adobe website at www.adobe.com/go/learn_cfu_cfsysreqs_en.
  3. Review Installation considerations for Windows and Installation considerations for all platforms (Refer to the Installing Adobe ColdFusion).
  4. Determine the answers to the questions in the above table in "Gathering information necessary to install the server configuration" section.
  5. Close any applications that are currently running on your computer.
  6. If you plan to configure an external web server, ensure that the web server is running.
  7. Insert the DVD or download the setup file from the Adobe website.
  8. If the installation wizard does not start automatically when you insert the DVD, locate the appropriate installer file on the DVD and double-click it. If you are installing from a network or a downloaded file, locate the ColdFusion installer *Windows only:* coldfusion_2018_WWEJ_win32.exe/coldfusion_2018_WWEJ_win64.exe and double-click it.*MAC only:*Extract the coldfusion_2018_WWEJ_osx2018.dmg file and double-click the installer.
  9. Follow the instructions in the installation wizard, and let it run to completion.
  10. Click OK to open the ColdFusion Administrator and configure the server.
  11. To install any other integrated Adobe or third-party technologies, see Installing Integrated Technologies.
  12. Configure and manage your system, as described in Configuring your System your System.
  13. To learn about ColdFusion, read the documentation, which is accessible through the Documentation link on the Resources page of the ColdFusion Administrator.

Installing the ColdFusion server configuration in UNIX

By default, ColdFusion installs into the /opt/coldfusion2018 directory. You can also choose to install ColdFusion in a different directory.

Bemærk:

The default user is nobody for the UNIX installer running ColdFusion.

Install the ColdFusion server configuration in UNIX

  1. Read the online version of the Release Notes for any late-breaking information or updates. For more information, see www.adobe.com/go/learn_cfu_releasenote_en.
  2. Ensure that your operating system meets the system requirements described on the Adobe website at www.adobe.com/go/learn_cfu_cfsysreqs_en.
  3. Review Installation considerations for UNIX and Installation considerations for all platforms  (Refer to the Installing Adobe ColdFusion).
  4. Determine the answers to the questions in the above section "Gathering information necessary to install the server configuration".
  5. If you plan to configure an external web server, ensure that the web server is running.
  6. Log in as root.
    Copy the installation file that is appropriate for your platform and locale from the DVD or Adobe website, and save it to a directory on your local disk. The following installation files are those for the supported server configuration platforms:

    Platform

    File

    Linux

    • ColdFusion_2018_WWEJ_linux32.bin (for 32-bit systems)

     

  • ColdFusion_2018_WWEJ_linux64.bin (64-bit systems)

    Solaris

    ColdFusion_2018_WWEJ_solaris64.bin

     

  1. Using the cd command, go to the directory that contains the installation file.
  2. Ensure that you have executable permission for the installation file. You can change permissions on the file by using the following command:

    chmod 777 ColdFusion_2018_WWEJ_solaris64.bin

     

  3. Start the installation with the following command:

    ./<filename>

Bemærk:

To run the Linux installer in GUI mode, type ./<filename> -i gui.

  1. Follow the prompts in the installation program, and let it run to completion.
Bemærk:

For security reasons, it is crucial that you do not use root for the runtime user.

  1. Start ColdFusion with the following command:

/cf_root/cfusion/bin/coldfusion start

If you specified the use of an external web server when you ran the installer, ColdFusion automatically runs the cf_root/cfusion/bin/cf-connectors.sh script when it starts the first time. This shell script runs the Web Server Configuration Tool by using the settings that you specified during the installation. If there are problems running this script, review the configuration and bin directory specifications, modify as necessary, and rerun the script. You can also configure your web server by using the scripts in cf_root/cfusion/bin/connectors, as appropriate. To stop ColdFusion, use the following command:

/cf_root/cfusion/bin/coldfusion stop

For more information on managing processes, see Managing the ColdFusion process in UNIX.

 

  1. Open ColdFusion Administrator to run the Configuration wizard.
  2. Configure and manage your system, as described in Configuring your System.
  3. To install any other integrated Adobe or third-party technologies, see Installing Integrated Technologies.
  4. To learn about ColdFusion, read the documentation, which is accessible through the Documentation link on the Resources page of the ColdFusion Administrator.

ColdFusion installation directory structure

By default, ColdFusion2018 is your installation directory. The following table describes the directory structure:

Directory

Description

cfusion

Contains the following directories:

  • bin: Programs for starting, stopping, and viewing information for ColdFusion, and to run Crystal Reports (Windows only). It also contains the password reset scripts for server administrator and Admin Component for remote server start and  stop .
  • cache: Repository for temporary files from ColdFusion.
  • cfx : Sample C++ and Java CFX files with their supporting files. You can also store your CFX files in this directory (although you can put them in any location that is defined in your classpath).
  • charting: Files for the ColdFusion graphing and charting engine.
  • CustomTags: Repository for your custom tags
  • db : The sample Apache Derby databases for all platforms.
  • gateway: Files for ColdFusion event gateways.
  • jetty: Solr configuration files and files related to remote instance start and stop.
  • jintegra : (Applies only to Windows) JIntegra programs, libraries, and other supporting files (for example, to integrate Java and COM code; manage access to ActiveX controls (OCXs) that are hosted in a graphical user interface (GUI) container ; and  register the JVM and type libraries). (Applicable only for Windows.)
  • jnbridge : Files for .NET Integration Services.
  • lib: JAR, XML, property, and other files that are the foundation of ColdFusion, for functionality such as queries, charting, mail, security, Solr, and system probes.
  • logs: Repository for ColdFusion log files. JRE-specific log files are in the runtime/logs directory. Console outputs are logged in to coldfusion -out.log instead of cfserver.log.
  • Mail: Repository for spooled mail and mail that cannot be delivered.
  • META-INF: XML metadata for the ColdFusion Administrator.
  • registry: (UNIX only) Flat file to store registry settings
  • runtime: Programs and supporting files for the ColdFusion runtime. Also, contains the Tomcat libraries. The conf directory in runtime contains all Tomcat configuration files.
  • stubs: web services.
  • wwwroot : Default web root directory for the built-in web server. When running on other web servers, this directory contains the CFIDE and WEB-INF directories; do not remove this directory.

config

Contains instances.xml and connector configuration files. Also, contains cluster configuration file, cluster.xml.

jre

Java runtime files.

uninstall

Files to uninstall ColdFusion.

 

Bemærk:

The ColdFusion_install\cfusion\bin directory contains the Jvm.config file.

Using the built-in web server

ColdFusion provides in-built Tomcat application server that you can use to develop ColdFusion applications.

Bemærk:

The version of Tomcat application server bundled with Adobe ColdFusion (2018 release) is 9.0.5.

During the ColdFusion installation, choose a web server. If you select the built-in web server, your web root directory is located in the  cfroot / wwwroot  directory. By default, the web server runs on port 8500. It means that to display a page in your application, append:8500 to the host name or IP address in the URL; for example, http://localhost:8500/YourApp1/index.cfm. If the page does not appear, ensure that the document is located in the built-in web server's web root directory; for example, C:\ColdFusion2018\cfusion\wwwroot\YourApp1\index.cfm.

Bemærk:

If port 8500 is in use, the installer checks up to 100 ports (starting with 8501) to find a port that is not used. ColdFusion uses that port and displays a message to indicate the selected port.

If you select an external web server during installation, the built-in web server is deactivated.

Change the port of the built-in web server

  1. Back up the server.xml file. This file is in the cfroot\cfusion\runtime\conf directory.
  2. Open the original server.xml file for editing.
  3. Search for internal webserver start.Update the port number.

port="8500" protocol="org.apache.coyote.http11.Http11Protocol"
connectionTimeout="20000"
redirectPort="8445" compression="on" useSendfile="no" compressableMimeType="text/html,text/xml"/>
  1. Save the file and then restart ColdFusion.

Configuring the built-in web server (Tomcat)

While installing, if you have configured ColdFusion on an external web server, do the following to configure ColdFusion on in-built Tomcat:

  1. Open the cfroot\cfusion\runtime\conf\server.xml file.
  2. Search for internal webserver start.Uncomment the following connector XML.

port="8500" protocol="org.apache.coyote.http11.Http11Protocol"
connectionTimeout="20000"
redirectPort="8445"/>

Save the file, and then restart ColdFusion.

To enable OS Symbolic links after switching to Tomcat, edit the context.xml file found in /cfusion/runtime/conf/ to add allowLinking="true" attribute to the context element.

Starting, stopping, and restarting ColdFusion

On Windows

At prompt, go to the directory cfroot\cfusion\bin and run the following command: coldfusion.exe -start -console. To stop ColdFusion, use the command coldfusion.exe -stop -console. To restart, use the command coldfusion.exe -restart -console.Alternatively, you could also start, stop, and restart ColdFusion server using Windows Services.

Bemærk:

Paused tasks misfire when restarting ColdFusion.

Bemærk:

As possible in previous versions of ColdFusion, you can also use the cfstart script to start/stop the ColdFusion sever.

Bemærk:

The -console argument is optional. If it is not provided, the logs are saved in the cfroot\cfusion\logs directory.

On UNIX/Linux/Solaris/MAC OSX

At prompt, go to the directory cfroot\cfusion\bin and run the following command: ./coldfusion start}}To stop ColdFusion, use the command ./{{coldfusion stop. }}To restart, use the command {{./coldfusion restart.

Bemærk:

Paused tasks misfire when restarting ColdFusion.

Bemærk:

Use the status command to find the status of ColdFusion server.

Editing the JVM settings

To edit the JVM settings, open the cfroot\cfusion\bin\jvm.config file and update the following details:

  • java.home: Java home. If not set, ColdFusion verifies the default JRE in the cfroot\jre folder, in the registry, or in the J{{AVA_HOME}} environment variable.
  • java.args: Settings for -Xmx, ColdFusion classpath, and so on.
  • java.library.path: Settings for library path.
  • java.class.path: Additional classpath settings in a comma-separated list.
  • application.home: Default is cfroot\cfusion

Creating and editing a new ColdFusion instance

After installing ColdFusion in stand-alone mode, create an instance of ColdFusion using the ColdFusion Administrator.

  1. In the ColdFusion Administrator, go to Enterprise Manager > Instance Manager.
  2. Click Add New Instance.
  3. Enter the server name and server directory.
  4. (Optional) Check Create Windows Service.
  5. Click Submit. In the Instance Manager, start, stop, restart, delete, access website, or access administrator.
  6. Click the Edit icon to edit the instance manager.
  7. Edit the internal webserver port and load balancing factor.Load balancing factor represents the load the instance takes up. Load balancing factor is applicable only if the instance is part of the cluster. For example, the load balancing factor for the first instance is 1 and that of the second instance is 2. The second instance receives two times more requests.
  8. Click Submit.

Registering a remote instance

Register a new remote instance of ColdFusion using the ColdFusion Administrator.

  1. In the ColdFusion Administrator, click Enterprise Manager > Instance Manager > Register Remote Instance.
  2. Specify the details such as instance name, remote host, remote port, http port, and JVM route. Instance name is a string that is used to identify the instance. Remote port and HTTP port are displayed in the Instance Manager page. These ports are provided in the server.xml file available in the runtime\conf folder of the instance. Remote port is the AJP port and the instance port is the connector port.JVM route is the remote instance name. The JVM route is an attribute that acts as an identifier for a particular Tomcat worker. JVM route is provided in the server.xml file available in the runtime\conf folder of the instance. For more information on JVM route, see http://tomcat.apache.org/tomcat-8.0-doc/cluster-howto.html.

Bemærk:

A remote instance and a local instance cannot have the same JVM route if they are added in a cluster with sticky session enabled.

  1. If you want remote start and stop functionality over HTTP, enter Admin Component port, Admin Component user name, and Admin Component password. The default Admin Component port is 8985.
Bemærk:

To enable this feature, install admin component on the remote host.

  • In the remote host, open the ColdFusion_installtion\cfusion\jetty\etc\jetty.xml.
  • Search for the string, org.mortbay.jetty.bio.SocketConnector.
  • Update the host with the IP address of the remote host.
  • Restart the jetty server.
  1. Click Submit.

Adding start and stop functionality to a remote instance over HTTPS

You can start and stop a remote instance over HTTPS or HTTP. To enable this feature, install admin component while installing ColdFusion. You can install Solr, admin component, or both while installing ColdFusion.

  1. Do the following in the remote host.
    1. In the remote host, generate a private key in a keystore file. Provide the details at prompt.
cfroot\jre\bin\keytool -genkeypair -alias certificatekey -keyalgRSA -validity 7 -keystore keystore.jks

                b. Export the certificate. You can have a self-signed certificate or a certificate from a                               Certificate Authority.

cfroot\jre\bin\keytool -export -alias certificatekey -keystorekeystore.jks -rfc -file selfsignedcert.cer

                c. Copy the jks file created in the jetty\etc directory.
                d. Open the jetty\etc\jetty.xml file.
                e. Search for the string, To add an HTTPS SSL Listenerand add the following entry:

<Arg>
<New class="org.mortbay.jetty.security.SslSocketConnector">
<Set name="Port">8443</Set>
<Set name="maxIdleTime">30000</Set>
<Set name="keystore"><SystemProperty name="jetty.home" default="." />/etc/jks-file.jks</Set>
<Set name="password">changeit</Set>
<Set name="keyPassword">changeit</Set>
<Set name="truststore"><SystemProperty name="jetty.home" default="." />/etc/jks-file.jks</Set>
<Set name="trustPassword">changeit</Set>
</New>
</Arg>
</Call>

                f. Update the keystore name, password, key password, and jks file in the entry.
                g. Search for the string org.mortbay.jetty.bio.SocketConnector.
                h. Update the host with the IP address of the remote host.
                i. Restart the jetty server.

Bemærk:

If the remote server is running on Windows Vista, Windows 7, or Windows Server 2008, start the jetty sever with admin privileges.

  1. Do the following in the local host from where you add the remote instance:
    1. Copy the .cer file created in the remote host to any of the locations.
    2. Import the certificate.
cfroot\jre\bin\keytool.exe -importcert -keystore"cfroot\jre\lib\security\cacerts" -file selfsignedcert.cer -storepass password

                c. Register the remote instance using the ColdFusion Administrator. For more information,                       see Registering a remote instance section in this document.

                d. In the Register Remote Instance page, enter the admin component port, admin                     component user name, and admin component password (user name and                     password. These details you specified while installing the Remote Instance                     Administrator). The default https port is 8443.

                e. Select the HTTPS check box.

                f. Click Submit.

Setting up remote start and stop functionality using HTTPS in Server Manager

You can set up start and stop remote instance functionality in Server Manager. To enable this feature, install Remote Instance Administrator while installing ColdFusion.

  1. Do the following in the remote host.
    1. In the remote host, generate a private key in a keystore file. Provide the details at prompt.

cfroot\jre\bin\keytool -genkeypair -alias certificatekey -keyalgRSA -validity 7 -keystore keystore.jks

                b. Export the certificate. You can have a self-signed certificate or a certificate from a                               Certificate Authority.

cfroot\jre\bin\keytool -export -alias certificatekey -keystorekeystore.jks -rfc -file selfsignedcert.cer

                c. Copy the .jks file created in the remote host to the jetty\etc directory.
                d. Open the jetty\etc\jetty.xml file.
                e. Search for the string, To add a HTTPS SSL Listenerand then add the following entry:

<Arg>
<New class="org.mortbay.jetty.security.SslSocketConnector">
<Set name="Port">8443</Set>
<Set name="maxIdleTime">30000</Set>
<Set name="keystore"><SystemProperty name="jetty.home" default="." />/etc/server.jks</Set>
<Set name="password">changeit</Set>
<Set name="keyPassword">changeit</Set>
<Set name="truststore"><SystemProperty name="jetty.home" default="." />/etc/server.jks</Set>
<Set name="trustPassword">changeit</Set>
</New>
</Arg>
</Call>

                f. Update the keystore name, password, key password, and jks file in the entry.
                g. Search for the string, org.mortbay.jetty.bio.SocketConnector.
                h. Update the host with the port number of the remote host.
                i. Restart the jetty server.

Bemærk:

If the remote server is running on Windows Vista, Windows 7, or Windows Server 2008, start the jetty sever with admin privileges.

  1. Do the following in the local host from where you add remote instance:
    1. Copy the .cer file created in the remote host to any of the locations.
    2. Import the certificate.
cfroot\jre\bin\keytool.exe -importcert -keystore "cfroot\jre\lib\security\cacerts" -file selfsignedcert.cer -storepass password
  1. Open wwwroot\CFIDE\ServerManager\ServerManager.air on the local host.
  2. Specify the connection details.
  3. Click Start/Stop Details.
  4. Select HTTPS.
  5. Provide the following information:
    • App Server Username: User name for the admin component that you specified while installing ColdFusion.  Default  value is  admin .
    • App Server Password: Password for the admin component.
    • Port: ColdFusion remote instances HTTPS port.
    • Server: ColdFusion remote instance name.
    • ColdFusion Version: For 2018 version of ColdFusion.
    • Admin Server Port: Default https port is 8443. Port of the Jetty server.
    • Context Root: Value is AdminServlet.
  6. Click Apply.

Setting up remote start and stop functionality using HTTP in Server Manager

You can set up start and stop remote instance functionality in Server Manager. To enable this feature, install Remote Instance Administrator while installing ColdFusion.

 

  1. Do the following in the remote host:
    1. In the remote host, open the ColdFusion_installation\cfusion\jetty\etc\jetty.xml.
    2. Search for the string, org.mortbay.jetty.bio.SocketConnector.
    3. Update the host with the IP address of the remote host.
    4. Start the jetty server. Go to the ColdFusion_installation\cfusion\jetty directory and use jetty.exe. You can also use the jetty services in the Windows services.
  2. Open wwwroot\CFIDE\ServerManager\ServerManager.air on the local host.
  3. Specify the connection details.
  4. Click Start / Stop Details.
  5. Select HTTP.
  6. Provide the following information:
    • App Server Username: Username for the admin component that you specified while installing ColdFusion. The default value is  admin .
    • App Server Password: Password for the admin component.
    • Port: ColdFusion remote instance's HTTP port.
    • Server: ColdFusion remote instance name.
    • ColdFusion Version: For ColdFusion (2018 release), the value 2018.
    • Admin Server Port: Default https port is 8985. Port of the Jetty server.
    • Context Root: Value is AdminServlet.
  7. Click Apply.

 

Managing clusters

  1. In the ColdFusion Administrator, click Enterprise Manager > Cluster Manager.
  2. Enter a cluster name and then click Add.
  3. Click the cluster name and move the servers to the cluster based on the requirement.
  4. (If necessary) Edit the multicast port. Multicast port is used to group the cluster members together. Default value of multicast port is 45564. After you create a cluster, the port is added in the cfroot\config\cluster.xml file. For more information on multicast port, see http://tomcat.apache.org/tomcat-8.0-doc/config/cluster-membership.html.
  5. Specify if you need sticky session.Sticky session ensures that after a session is established on an instance, all future requests from the client are mapped to that instance.
    Click Submit.

Bemærk:

Restart the web server if cluster instances are modified.

Adding a remote instance to a cluster

To add a remote instance to a cluster, add the cluster block to the remote instance's server.xml. Then, register the remote instance and add the instance to the cluster. For more information on configuring clusters on Tomcat, see http://tomcat.apache.org/tomcat-8.0-doc/cluster-howto.html.

  1. Register the remote instance to the local machine.
  2. Create a cluster in the local machine.
  3. Open the cfroot_instance-name_runtime\conf\server.xml file of the remote instance.
  4. Add the following block between the entries </host> }}and {{</engine>:

<Manager notifyListenersOnReplication="true"
expireSessionsOnShutdown="false" className="org.apache.catalina.ha.session.DeltaManager">
</Manager>
<Channel className="org.apache.catalina.tribes.group.GroupChannel">
<Membership port="45565" dropTime="3000" address="228.0.0.4" className="org.apache.catalina.tribes.membership.McastService" frequency="500">
</Membership>
<Receiver port="4003" autoBind="100" address="auto" selectorTimeout="5000" maxThreads="6" className="org.apache.catalina.tribes.transport.nio.NioReceiver">
</Receiver>
<Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
<Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender">
</Transport>
</Sender>
<Interceptor className="org.apache.catalina.tribes.
group.interceptors.TcpFailureDetector">
</Interceptor>
<Interceptor className="org.apache.catalina.tribes.group.
interceptors.MessageDispatch15Interceptor">
</Interceptor>
</Channel>
<Valve className="org.apache.catalina.ha.tcp.ReplicationValve"
filter="">
</Valve>
<Valve className="org.apache.catalina.ha.session.JvmRouteBinderValve">
</Valve>

<ClusterListener className="org.apache.catalina.ha.session.
JvmRouteSessionIDBinderListener">
</ClusterListener>
<ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener">
</ClusterListener>

</Cluster>
  1. In the entry, update the membership port with the multicast port of the cluster.
  2. Using the ColdFusion Administrator of the local host, add the local instance and the remote instance to the cluster.

Bemærk:

If you enable sticky session, the JVM route of the remote instance and local instance must not be the same.

  1. Restart all the instances.
Bemærk:

When adding a remote instance in a cluster, ensure that you comment out <Manager pathname="" /> in content.xml file located in <cf_home>\runtime\conf directory.

Configuring other web servers

Use the Web Server Configuration Tool to configure other web servers.

  1. Run cfroot\runtime\bin\wsconfig.exe.
    You can also configure web servers using the command-line interface as follows.
    Configuring IIS

wsconfig.exe -ws iis -site <site_no>

or

wsconfig.exe -ws iis -site <site_name>

Configuring cluster

wsconfig.exe -ws iis -site <site_no> -cluster <cluster-name>

Configuring Apache

(Linux or MAC only) ./wsconfig -ws apache -dir <apache_conf_directory>

or

(Windows only) wsconfig.exe ws apache dir <apache_conf_directory> bin <apache_bin_directory>/httpd script <apache_bin_directory>/apachectl
(Linux or Mac only) ./wsconfig ws apache dir <apache_conf_directory> bin <apache_bin_directory>/httpd script <apache_bin_directory>/apachectl

Configuring cluster

(Linux or MAC only) ./wsconfig -ws apache dir <apache_conf_directory> -cluster <cluster-name>

Unconfiguring IIS

wsconfig.exe -remove -ws iis -site <site_no>

or

wsconfig.exe -remove iis -site <site_name>

Unconfiguring Apache

./wsconfig -remove ws apache dir <apache_conf_directory>

or

Unconfiguring all webservers

./wsconfig -uninstall

Seeing the list of webservers

./wsconfig -list

Configuring Secured Socket Layer (SSL)

SSL allows the browser and the server to communicate over a secured connection. Data that is sent is encrypted at one side, transmitted, and then decrypted at the other end. For more information about SSL configuration on Tomcat, see http://tomcat.apache.org/tomcat-8.0-doc/ssl-howto.html.

To configure SSL for ColdFusion using the keytool utility, do the following:

  1. Create a certificate file:
    1. Run the following command:cfroot\jre\bin\keytool -genkey -alias tomcat -keyalg RSA
    2. Type the details as per the instruction.

      If you do not provide a password, the default password for keystore and key is changeit. If you don't want to use the default password, ensure that you provide the same password for the keystore and the key.

      Running this command creates a certificate.keystore in the following location:

    • Windows: C:\Documents and Settings_user's_director_y
    • Linux: usr/home
  2. Open the cfroot\cfusion\runtime\conf\server.xml file and search for the string Define a SSLHTTP/1.1.
  3. Uncomment the connector details and update the section as follows:

<Connector port="8443" protocol="HTTP/1.1"
SSLEnabled="true" maxThreads="150" scheme="https"
secure="true" keystoreFile="<certificate_location>\.keystore" keystorePass="<password>" keyAlias="tomcat" clientAuth="false" sslProtocol="TLS" />
  1. Restart ColdFusion.
  2. Access ColdFusion using the following URL: https://<ip-address>:8443/CFIDE/administrator

Changing virtual directory and the doc root

Do the following to change the virtual directory and doc root:

  1. Open CFInstallation\cfusion\runtime\conf\server.xml.
  2. Under host block, search for the string, "To add virtual directory."
  3. Uncomment the entry context path below.
  4. To add a virtual directory, add the aliases attribute as shown below:
<Context path="/" docBase="<absolute_path_to_cfrootectory>\wwwroot" WorkDir="<cf_home>\runtime\conf\Catalina\localhost\tmp" aliases="/path1=<absolute_path_to_directory1>,/path2=<absolute_path_to_directory2>"></Context>
Bemærk:

Alias path must include a leading /.

To change the doc root, change the docBase value in the above entry. For more details on the Context attributes, see http://tomcat.apache.org/tomcat-8.0-doc/config/context.html.

Changing the connector port for cfstat

You can use the connector output for logging cfstat metric. The cfconnector port is defined in the CFInstallation/cfusion/lib/neo-metric.xml file. If you have configured a connector, update the port with the connector port. The connector port (AJP port) is provided in the CFInstallation/cfusion/runtime/conf/server.xml.
To update the connector port using the Administrator console:

  1. Login ColdFusion Administrator.
  2. Click Debugging & Logging > Debug Output.
  3. Update the connector port and click Submit Changes.

Enabling Search Engine Safe URLs

Search Engine Safe URL (SES) helps the search engines to index dynamic web pages. SES URLs pass parameters using slashes instead of default URL pattern. By default, SES is enabled for stand-alone installation of ColdFusion on Tomcat.

Bemærk:

SES is applicable only for stand-alone installation of Tomcat. It does not work if ColdFusion is deployed as a WAR file on Tomcat.

Bemærk:

If you wish to use custom SES URLs, also add the URL entry to the uriworkermap.properties file found in the wsconfig folder for your web server.

To enable SES URLs on an app server other than Tomcat, add the tags mentioned below to the web.xml file present inside WEB-INF.

This is applicable from ColdFusion 11 Update 12 and ColdFusion (2016 release) Updates 3 and 4.

<servlet-mapping id="coldfusion_mapping_6">
        <servlet-name>CfmServlet</servlet-name>
        <url-pattern>*.cfml/*</url-pattern>
</servlet-mapping>
<servlet-mapping id="coldfusion_mapping_7">
        <servlet-name>CfmServlet</servlet-name>
        <url-pattern>*.cfm/*</url-pattern>
</servlet-mapping>
<servlet-mapping id="coldfusion_mapping_8">
        <servlet-name>CFCServlet</servlet-name>
        <url-pattern>*.cfc/*</url-pattern>
</servlet-mapping>
<servlet-mapping id="coldfusion_mapping_24">
        <servlet-name>CfmServlet</servlet-name>
        <url-pattern>*.CFML/*</url-pattern>
</servlet-mapping>
<servlet-mapping id="coldfusion_mapping_25">
        <servlet-name>CfmServlet</servlet-name>
        <url-pattern>*.Cfml/*</url-pattern>
</servlet-mapping>
<servlet-mapping id="coldfusion_mapping_26">
        <servlet-name>CfmServlet</servlet-name>
        <url-pattern>*.CFM/*</url-pattern>
</servlet-mapping>
<servlet-mapping id="coldfusion_mapping_27">
        <servlet-name>CfmServlet</servlet-name>
        <url-pattern>*.Cfm/*</url-pattern>
</servlet-mapping>
<servlet-mapping id="coldfusion_mapping_28">
        <servlet-name>CFCServlet</servlet-name>
        <url-pattern>*.CFC/*</url-pattern>
</servlet-mapping>
<servlet-mapping id="coldfusion_mapping_29">
        <servlet-name>CFCServlet</servlet-name>
        <url-pattern>*.Cfc/*</url-pattern>
</servlet-mapping>

Enabling Secure Profile

ColdFusion allows you to secure ColdFusion server furthermore by enabling or disabling certain settings. When installing ColdFusion, you can enable Secure Profile by selecting the option when prompted on the Secure Profile screen. Further, you could provide a comma separate list of IP addresses that may be allowed to access the ColdFusion Administrator. In ColdFusion, IP address restriction is supported at the connector-level. For more information, see this document.

Changing the log rotation settings

You can change the log rotation settings such as maximum number of backup files and the size of the backup files.

  1. Specify log file settings in the neo-logging.xml, located in the <ColdFusion_Home>\lib directory.
  2. The size of coldfusion-out.log and coldfusion-error.log is set to 20MB by default. You can change the size of the log in the neo-logging.xml file by changing the maxOutLogSize setting.
  3. You can also change the maximum number of backups of coldfusion-out.log and coldfusion-error.log that ColdFusion takes during log rotation within the neo-logging.xml file. Change the maxOutFileBackup setting.

You can change the settings of the remaining files in the ColdFusion Administrator by going to the Debugging and Logging > Logging Settings section. Change the Maximum file size and Maximum number of Archives settings accordingly.

Enabling persistent session

To persist a session after a Tomcat restart, do the following:

  1. Open the cfroot\cfusion\runtime\conf\context.xml file.

Uncomment the Manager pathname node.

Bemærk:

Flex sessions are not persisted after a Tomcat restart.

Updating from an earlier version

If you have skipped the migration or you have to make modifications to the previous installation that has to be migrated, do the following:

  1. Stop the server.
  2. Create a folder named cfXsettings (in which X is the earlier version of ColdFusion) in cf_webapp_new_installation_root_directory/cfusion/lib. For example, name the folder cf2016settings.
  3. Save settings by copying the files cf_webapp_root/WEB-INF/cfusion/lib/neo-*.xml (of previous installation) to cfXsettings.
  4. Edit the ColdFusion cfusion/lib/adminconfig.xml file by setting the value of the  runmigrationwizard  and the {{migratecf}}X (in which X is the earlier version of ColdFusion) switch to true.
  5. Restart the ColdFusion application.
  6. To run the migration wizard, launch ColdFusion Administrator.

Uninstalling ColdFusion

Uninstalling ColdFusion deletes all program files and related components from your computer.

Uninstall ColdFusion from Windows

  1. Select Start > Settings > Control Panel > Add/Remove Programs > Adobe ColdFusion 2018.
  2. Click Change/Remove.
  3. When the program completes, remove any remaining files and directories in the cf_root directory.

Uninstall ColdFusion from UNIX

  1. Log in as root.
  2. To go to the cf_root/uninstall directory, enter the following command:

cd cf_root/uninstall
  1. Enter the following command:
./uninstall.sh
  1. When the program completes, remove any remaining files and directories in the cf_root directory. ColdFusion is deleted from your server.
Adobe-logo

Log ind på din konto