cffaq.com


Hosted and maintained by Ben Forta. Designed by Trilemetry.
Language:
    © 2002-2007 Ben Forta. All Rights Reserved  
<Home> <FAQ: Configuration and Administration> <About>

Questions

1: What are the system requirements for ColdFusion?  
2: Does ColdFusion require the use of a Web Server?  
3: Which Web server should I use with ColdFusion?  
4: What databases are supported by ColdFusion?  
5: What database should I use with ColdFusion?  
6: Must my database be running on the same server as ColdFusion?  
7: Do I need a J2EE server to use ColdFusion?  
8: What are the benefits of running ColdFusion on top of my J2EE server (as opposed to running it standalone)?  
9: Can I install multiple versions of ColdFusion on a single server?  
10: I have noticed that when one of my ColdFusion applications is under heavy load, the performance of all ColdFusion applications suffer. How can I prevent ColdFusion applications from interfering with each other?  
11: I need to send large quantities of e-mail. How can I improve ColdFusion's mail delivery speed?  
12: The ColdFusion CustomTags directory is shared. How can I give each of my users their own directories for Custom Tags so that they don't interfere with each other?  
13: How can I force ColdFusion MX to recompile all .CFM files?  
14: I have forgotten my ColdFusion Administrator password. How can I access the ColdFusion Administrator?  
15: I want to secure the ColdFusion Administrator by restricting access to the entire cfide directory tree. Is this recommended and safe to do?  
16: What port does ColdFusion use?  
17: Can I disable ColdFusion's integrated HTTP server?  


FAQ

1: What are the system requirements for ColdFusion?
That depends on the specific version and platform. Full requirements specifications can be found at http://www.macromedia.com/software/coldfusion/productinfo/system_reqs/.
2: Does ColdFusion require the use of a Web Server?
ColdFusion itself is not a Web Server, it does not respond to inbound HTTP requests and does not communicate with client browsers. As such, ColdFusion does require that a Web Server be installed and running. However, ColdFusion includes an integrated Web Server that can be used for development (so as to not have to install and configure a full blown Web Server).
3: Which Web server should I use with ColdFusion?
The choice is yours (just don't use the built-in Web server on production servers). Microsoft IIS is extremely popular on Windows servers, and Apache is the most popular Web server on other platforms (including Linux).
4: What databases are supported by ColdFusion?
All major databases are supported, including Microsoft SQL Server, Oracle, DB2, MySQL, Sybase, and Informix. Any database that can be accessed via JDBC (or ODBC if needed) can be used with ColdFusion.
5: What database should I use with ColdFusion?
You can use just about any database with ColdFusion, but as a rule you should not use file based databases on production servers as these could compromise data security and integrity (they are fine for use on development servers). Popular (and good) choices are Microsoft SQL Server, Oracle, and MySQL.
6: Must my database be running on the same server as ColdFusion? Comments
No, your database need not be running on the same server as ColdFusion. Actually, it is far better that the database be running on a separate server. This will help application performance, and will also help protect your data (from hackers, theft, and corruption).
7: Do I need a J2EE server to use ColdFusion?
No, ColdFusion Standard comes with an integrated J2EE server so no external server is needed, and ColdFusion Enterprise comes with a full license of JRun that you may use as your J2EE server. However, if you do have a J2EE server (like Sun ONE, IBM WebSphere, or BEA WebLogic) then you may want to deploy ColdFusion on top of it.
8: What are the benefits of running ColdFusion on top of my J2EE server (as opposed to running it standalone)?
The primary benefits of ColdFusion for J2EE include having access to the performance and reliability feature of the underlying J2EE server, as well as the ability to run multiple instances of ColdFusion on the same box.
9: Can I install multiple versions of ColdFusion on a single server?
Yes, this is a feature of ColdFusion Enterprise.
10: I have noticed that when one of my ColdFusion applications is under heavy load, the performance of all ColdFusion applications suffer. How can I prevent ColdFusion applications from interfering with each other?
ColdFusion Standard runs all applications in the same application server (the same instance) and so there is no way to truly isolate applications from each other. ColdFusion Enterprise supports the deployment of multiple application instances, which allows for true application isolation and segregation. This is one of the key feature benefits of ColdFusion Enterprise over ColdFusion Standard.
11: I need to send large quantities of e-mail. How can I improve ColdFusion's mail delivery speed?
For high volume e-mail you should be running ColdFusion MX Enterprise. This version features the ability to allocate multiple mail delivery threads and to keep SMTP connections open, both of which result in mail delivery that is many times faster than what is possible in ColdFusion Standard.
12: The ColdFusion CustomTags directory is shared. How can I give each of my users their own directories for Custom Tags so that they don't interfere with each other?
The Custom Tag directory specified in ColdFusion Administrator is indeed shared, but Custom Tags are not limited to that directory. In fact, Custom Tags can be located in any directory (even outside of the Web root). If each user creates their own directory for their Custom Tags they will be able to access them using <CFMODULE> (as opposed to <CF_>).
13: How can I force ColdFusion MX to recompile all .CFM files?
The simplest way to do this is to delete the existing compiled bytecode (the .class files). By default this are in a directory named cfclasses under WEB-INF beneath the web root.
14: I have forgotten my ColdFusion Administrator password. How can I access the ColdFusion Administrator?
You cannot access the password, but you can turn off password usage so as to be able to reset it. To do this locate the neo-security.xml file (it will be in the lib directory beneath the ColdFusion root). Look for a section that reads: <var name='admin.security.enabled'><boolean value='true'/></var>, change the 'true' to 'false', save the file, and then restart ColdFusion. You will then be able to log into the ColdFusion Administrator without a password so as to set a new password and then turn on password use again.
15: I want to secure the ColdFusion Administrator by restricting access to the entire cfide directory tree. Is this recommended and safe to do?
It is indeed possible to restrict access to the entire cfide directory structure, but this will also prevent access to <CFFORM> validation (the .js file is under cfide), the CFC explorer (which is in a subdirectory of cfide), the debugger, and more. As such, if you wish to secure the ColdFusion Administrator directory you are better off securing the administrator subdirectory of cfide and not cfide itself. This extra level of security is highly recommended.
16: What port does ColdFusion use?
ColdFusion does not actually use any port, the Web server you are using does (and as such, the default port will be port 80). The integrated HTTP server runs on port 8500 by default (this can be changed in the jrun.xml file in the runtime\servers\default\SERVER-INF directory beneath the ColdFusion root, change port in the jrun.servlet.http.WebService service).
17: Can I disable ColdFusion's integrated HTTP server?
To disable ColdFusion's integrated HTTP server modify the jrun.xml file in the runtime\servers\default\SERVER-INF directory beneath the ColdFusion root. Locate the jrun.servlet.http.WebService service and set deactivated to "true".

<submit question>