User Guide
Page 15
...-time user. 12 Start ColdFusion with the following command: ./ Note: To run the UNIX installer in GUI mode, type ./ -i gui. 11 Follow the prompts in the installation program, and let it starts the first time. This shell script runs the Web Server Configuration Tool by using the settings that you specified during the installation. To stop ColdFusion, use of the ColdFusion Administrator. You can also configure your system, as necessary, and rerun the script. You can change...
...-time user. 12 Start ColdFusion with the following command: ./ Note: To run the UNIX installer in GUI mode, type ./ -i gui. 11 Follow the prompts in the installation program, and let it starts the first time. This shell script runs the Web Server Configuration Tool by using the settings that you specified during the installation. To stop ColdFusion, use of the ColdFusion Administrator. You can also configure your system, as necessary, and rerun the script. You can change...
User Guide
Page 81
ADOBE COLDFUSION 8 77 Installing and Using ColdFusion Note: In the ColdFusion Administrator, if you enable or disable security or change any option in the Java and JVM Settings page, you must stop and restart ColdFusion 8 for the service. 2 Right-click a service, and select Stop, Start, or Restart. To check whether it is running , use application-server-specific methods to update Java settings. Start or stop ColdFusion 8 by selecting Start > Settings > Control Panel > Administrative Tools > Services. Managing the ColdFusion process in UNIX The ColdFusion installation creates a ...
ADOBE COLDFUSION 8 77 Installing and Using ColdFusion Note: In the ColdFusion Administrator, if you enable or disable security or change any option in the Java and JVM Settings page, you must stop and restart ColdFusion 8 for the service. 2 Right-click a service, and select Stop, Start, or Restart. To check whether it is running , use application-server-specific methods to update Java settings. Start or stop ColdFusion 8 by selecting Start > Settings > Control Panel > Administrative Tools > Services. Managing the ColdFusion process in UNIX The ColdFusion installation creates a ...
Lockdown Guide
Page 2
It is focused on a non-production environment before deploying to production. 2 1.3 ColdFusion Version This guide was written for ColdFusion 10.0 Enterprise Edition. 1.4 Scope of Document This document does not detail security settings for the ColdFusion server only. All suggestions in this document should be tested and validated on security settings for the Operating System, the Web Server, or Network Firewalls.
It is focused on a non-production environment before deploying to production. 2 1.3 ColdFusion Version This guide was written for ColdFusion 10.0 Enterprise Edition. 1.4 Scope of Document This document does not detail security settings for the ColdFusion server only. All suggestions in this document should be tested and validated on security settings for the Operating System, the Web Server, or Network Firewalls.
Lockdown Guide
Page 67
Setting Default Disable updating ColdFusion internal cookies using ColdFusion tags/function s. You can use this value to mail server Recommendation Description Checked if supported Consider enabling SSL or TLS encryption for sending mail with ColdFusion. Checked if supported Consider enabling SSL or TLS encryption for sending mail with ColdFusion. 5.6 Data & Services > Data Sources Setting Default Login 30 Seconds Timeout (sec) Recommendation Description 5 Seconds Decrease this feature to prevent a developer from overriding your global session...
Setting Default Disable updating ColdFusion internal cookies using ColdFusion tags/function s. You can use this value to mail server Recommendation Description Checked if supported Consider enabling SSL or TLS encryption for sending mail with ColdFusion. Checked if supported Consider enabling SSL or TLS encryption for sending mail with ColdFusion. 5.6 Data & Services > Data Sources Setting Default Login 30 Seconds Timeout (sec) Recommendation Description 5 Seconds Decrease this feature to prevent a developer from overriding your global session...
Lockdown Guide
Page 68
... SQL SELECT, INSERT, UPDATE , DELETE, CREATE, DROP, ALTER, GRANT, REVOKE, Stored Procedures Enable only what is not being used in web applications. Checked if using LiveCycle Data Services ES Enable and specify a keystore and password if using LiveCycle Data Services ES with Flex. 68 Setting Default Recommendation Description Query Timeout (seconds) 0 (no timeout) Specified Specify an upper limit to only what your application requires. Disable Flash Remoting if it is necessary. 5.7 Data & Services > Flex Integration Setting Default Enable...
... SQL SELECT, INSERT, UPDATE , DELETE, CREATE, DROP, ALTER, GRANT, REVOKE, Stored Procedures Enable only what is not being used in web applications. Checked if using LiveCycle Data Services ES Enable and specify a keystore and password if using LiveCycle Data Services ES with Flex. 68 Setting Default Recommendation Description Query Timeout (seconds) 0 (no timeout) Specified Specify an upper limit to only what your application requires. Disable Flash Remoting if it is necessary. 5.7 Data & Services > Flex Integration Setting Default Enable...
Developing Applications
Page 9
... specify data source authentication details in the attribute datasource • Support for HQL in load conditions. Option to specify a new seed value to enable/disable term highlighting for entire document The following enhancements • ColdFusion generates log files for PDF service has the following new attributes: extracttext and extractimage • CFID, CFTOKEN, and jsessionid are marked httpOnly Last updated 1/20/2012 ColdFusion Administrator has the following services: http, ftp, web service...
... specify data source authentication details in the attribute datasource • Support for HQL in load conditions. Option to specify a new seed value to enable/disable term highlighting for entire document The following enhancements • ColdFusion generates log files for PDF service has the following new attributes: extracttext and extractimage • CFID, CFTOKEN, and jsessionid are marked httpOnly Last updated 1/20/2012 ColdFusion Administrator has the following services: http, ftp, web service...
Developing Applications
Page 28
... until all ColdFusion threads finish running . If you : 1 Instantiate a service object. 2 Set object attributes and child tags Last updated 1/20/2012 Note: You can use these functions with transactions that block thread and the current thread outside the body is returned with appropriate properties set and you need to invoke getters on the component to access the data. These objects also support child...
... until all ColdFusion threads finish running . If you : 1 Instantiate a service object. 2 Set object attributes and child tags Last updated 1/20/2012 Note: You can use these functions with transactions that block thread and the current thread outside the body is returned with appropriate properties set and you need to invoke getters on the component to access the data. These objects also support child...
Developing Applications
Page 151
... (Component Object Model) objects. For information on using Java objects, see "Using Web Services" on multiple pages. This way, if you change the contents of a single file. Many of the elements also let you can use multiple times in an application. Including pages with several techniques and elements to create sections of code that uses the cfinclude tag. Last updated 1/20/2012 146 Chapter 5: Building Blocks of ColdFusion Applications Creating ColdFusion Elements You can create ColdFusion elements to organize your code once and use...
... (Component Object Model) objects. For information on using Java objects, see "Using Web Services" on multiple pages. This way, if you change the contents of a single file. Many of the elements also let you can use multiple times in an application. Including pages with several techniques and elements to create sections of code that uses the cfinclude tag. Last updated 1/20/2012 146 Chapter 5: Building Blocks of ColdFusion Applications Creating ColdFusion Elements You can create ColdFusion elements to organize your code once and use...
Developing Applications
Page 231
... updated 1/20/2012 Customizing and configuring Java Use the ColdFusion Administrator > Server Settings > JVM and Java Settings page to the calling page. 1 Create a source file in the WEB_INF/classes directory. 3 Compile the java source file into a class file using the Java compiler. This interface contains one method, processRequest, which you execute from within the classes directory: javac -classpath cf_root\WEB-INF\lib\cfx.jar MyHelloColdFusion.java Note: The previous command works only if the Java...
... updated 1/20/2012 Customizing and configuring Java Use the ColdFusion Administrator > Server Settings > JVM and Java Settings page to the calling page. 1 Create a source file in the WEB_INF/classes directory. 3 Compile the java source file into a class file using the Java compiler. This interface contains one method, processRequest, which you execute from within the classes directory: javac -classpath cf_root\WEB-INF\lib\cfx.jar MyHelloColdFusion.java Note: The previous command works only if the Java...
Developing Applications
Page 243
... use an Application.cfm file. To set the mappings or custom tag paths in the ColdFusion Administrator. For example, if you have disabled application variables in the Memory Variables page of the ColdFusion Administrator. 2 Include code like the following in the application use the Application.cfm page than the Application.cfm page. It lets you must first create a THIS.mappings structure.) Set the custom tag paths per application 1 Check the Enable Per App Settings option...
... use an Application.cfm file. To set the mappings or custom tag paths in the ColdFusion Administrator. For example, if you have disabled application variables in the Memory Variables page of the ColdFusion Administrator. 2 Include code like the following in the application use the Application.cfm page than the Application.cfm page. It lets you must first create a THIS.mappings structure.) Set the custom tag paths per application 1 Check the Enable Per App Settings option...
Developing Applications
Page 310
... application pages. Any information about maintaining client and session information without cookies, require users to any HTML hrefa= links, cflocation tags, form tags, or cfform tags the tags must create a new client ID for session variables. Note: You can then save user-specific information in a database with the user's ID as part of the request URL. To use ColdFusion session variables without using J2EE session management...
... application pages. Any information about maintaining client and session information without cookies, require users to any HTML hrefa= links, cflocation tags, form tags, or cfform tags the tags must create a new client ID for session variables. Note: You can then save user-specific information in a database with the user's ID as part of the request URL. To use ColdFusion session variables without using J2EE session management...
Developing Applications
Page 383
... and Troubleshooting Applications Adobe ColdFusion provides detailed debugging information to support LDAP. Last updated 1/20/2012 LDAP ColdFusion supports LDAP (Lightweight Directory Access Protocol) through the cfindex, cfcollection, and cfsearch tags. No extra processing is constructed using wide characters (wchars), which assume a single-byte representation of text. You can use the cfhttpparam tag mimeType attribute to support different languages. To support multilingual searching, the ColdFusion product CD-ROM...
... and Troubleshooting Applications Adobe ColdFusion provides detailed debugging information to support LDAP. Last updated 1/20/2012 LDAP ColdFusion supports LDAP (Lightweight Directory Access Protocol) through the cfindex, cfcollection, and cfsearch tags. No extra processing is constructed using wide characters (wchars), which assume a single-byte representation of text. You can use the cfhttpparam tag mimeType attribute to support different languages. To support multilingual searching, the ColdFusion product CD-ROM...
Developing Applications
Page 397
... features newly added to scan the character '\"' which follows "" at line 12, column 1. Unable to ColdFusion 9. Troubleshooting common problems A few common problems that throw is located near the top of Debugging & Logging pages. A link to the article is a built-in a CFM, analyzer informs that it checks. DEVELOPING COLDFUSION 9 APPLICATIONS 392 Developing CFML Applications • New: These are described here. Encountered "\"" at runtime. You can help you to...
... features newly added to scan the character '\"' which follows "" at line 12, column 1. Unable to ColdFusion 9. Troubleshooting common problems A few common problems that throw is located near the top of Debugging & Logging pages. A link to the article is a built-in a CFM, analyzer informs that it checks. DEVELOPING COLDFUSION 9 APPLICATIONS 392 Developing CFML Applications • New: These are described here. Encountered "\"" at runtime. You can help you to...
Developing Applications
Page 658
savetoken.addResponder(new mx.rpc.Responder(savesuccess, savefault)); } private function savesuccess(event:SessionResultEvent):void { // This is to design your application in that specific call. An option is how, you can access autogenrated PK RememberINTPK = event.autoGeneratedId.toString(); In this case, you can set client object primary keys as null or empty string before saving data to the database server using serverside ORM EntitySave function. Using ColdFusion you...
savetoken.addResponder(new mx.rpc.Responder(savesuccess, savefault)); } private function savesuccess(event:SessionResultEvent):void { // This is to design your application in that specific call. An option is how, you can access autogenrated PK RememberINTPK = event.autoGeneratedId.toString(); In this case, you can set client object primary keys as null or empty string before saving data to the database server using serverside ORM EntitySave function. Using ColdFusion you...
Developing Applications
Page 867
... attribute. You cannot bind to a different attribute, follow it loads. As a result, if you are loaded dynamically, on the main page, instead of using a source (or for example, use either in the browser window or in this case, users select items by default, the bind expression represents the value attribute of bind expressions is registered. To pass the checked attribute of a checkbox cfinput tag...
... attribute. You cannot bind to a different attribute, follow it loads. As a result, if you are loaded dynamically, on the main page, instead of using a source (or for example, use either in the browser window or in this case, users select items by default, the bind expression represents the value attribute of bind expressions is registered. To pass the checked attribute of a checkbox cfinput tag...
Developing Applications
Page 887
... data required for Ajax applications. DEVELOPING COLDFUSION 9 APPLICATIONS 882 Requesting and Presenting Information If the requested return format is JSON and the function returns a query, ColdFusion serializes the query into a JSON object in either of the following CFML functions support using JSON format in server-side code: • DeserializeJSON • SerializeJSON • IsJSON Last updated 1/20/2012 You don't have to use standard ColdFusion...
... data required for Ajax applications. DEVELOPING COLDFUSION 9 APPLICATIONS 882 Requesting and Presenting Information If the requested return format is JSON and the function returns a query, ColdFusion serializes the query into a JSON object in either of the following CFML functions support using JSON format in server-side code: • DeserializeJSON • SerializeJSON • IsJSON Last updated 1/20/2012 You don't have to use standard ColdFusion...
Developing Applications
Page 1024
... mappings, if necessary. ColdFusion automatically locates Acrobat built-in fonts and fonts stored in typical font locations (such as subtotals at the end of each new group and also display group-specific summary information, such as the Windows\fonts directory). Also, if you are using specifications in the cf_root/lib/cffont.properties file. (On the multiserver or J2EE configuration, this example, you can define two groups: one group, the Group Management dialog box appears...
... mappings, if necessary. ColdFusion automatically locates Acrobat built-in fonts and fonts stored in typical font locations (such as subtotals at the end of each new group and also display group-specific summary information, such as the Windows\fonts directory). Also, if you are using specifications in the cf_root/lib/cffont.properties file. (On the multiserver or J2EE configuration, this example, you can define two groups: one group, the Group Management dialog box appears...
Developing Applications
Page 1045
... format for faster display. Adding and formatting fields You can use it ) and place the text field to preview the report. Create a style 1 Choose Window > Report Styles from a database. • Display the report in the LASTNAME footer. 2 In the Edit Label dialog box, type Total Sales, and click OK. Report Builder adds GroupFooter style to the pop-up menu. 4 Select the calculated field element and apply the GroupFooter Style...
... format for faster display. Adding and formatting fields You can use it ) and place the text field to preview the report. Create a style 1 Choose Window > Report Styles from a database. • Display the report in the LASTNAME footer. 2 In the Edit Label dialog box, type Total Sales, and click OK. Report Builder adds GroupFooter style to the pop-up menu. 4 Select the calculated field element and apply the GroupFooter Style...
Developing Applications
Page 1159
... the Add+ button, the list also includes the supporting classes. When you click the Add button, the list includes only the explicitly listed classes. the default is the port of the server SSL certificate. Last updated 1/20/2012 However, to save time or space, you generate all of supporting classes depends on a remote machine, register the assemblies in this file to make it accessible to ColdFusion. DEVELOPING COLDFUSION 9 APPLICATIONS Using Web Elements and External Objects...
... the Add+ button, the list also includes the supporting classes. When you click the Add button, the list includes only the explicitly listed classes. the default is the port of the server SSL certificate. Last updated 1/20/2012 However, to save time or space, you generate all of supporting classes depends on a remote machine, register the assemblies in this file to make it accessible to ColdFusion. DEVELOPING COLDFUSION 9 APPLICATIONS Using Web Elements and External Objects...
Developing Applications
Page 1189
... property file of the Connector configuration in use a naming service, make it on the remote server. If you use in "Creating and using objects" on the object using the syntax described in the cfobject tag to call the object's interface. (Optional) Identifies the connector configuration. For example, use the following CFML to invoke a CORBA object specified by forward slashes (/), such as arguments. DEVELOPING COLDFUSION 9 APPLICATIONS Using Web Elements and External Objects 1184 Creating CORBA objects In ColdFusion, the...
... property file of the Connector configuration in use a naming service, make it on the remote server. If you use in "Creating and using objects" on the object using the syntax described in the cfobject tag to call the object's interface. (Optional) Identifies the connector configuration. For example, use the following CFML to invoke a CORBA object specified by forward slashes (/), such as arguments. DEVELOPING COLDFUSION 9 APPLICATIONS Using Web Elements and External Objects 1184 Creating CORBA objects In ColdFusion, the...