Adobe 38043755 - ColdFusion Enterprise - Mac Administration Manual Download Page 37

32

CONFIGURING AND ADMINISTERING COLDFUSION 10

Using the ColdFusion Administrator

L

ast

 

u

p

dated

 7/9/2

01

2

Enable SSL

1

Create the keystore.

2

Configure Flex.

3

Enable SSL in the ColdFusion Administrator.

Create the keystore

To generate the SSL server (ColdFusion) keystore file, use the keytool utility, with a command similar to the 
following:

 

 

keytool -genkey -v -alias FlexAssembler -dname "cn=FlexAssembler" -keystore cf.keystore -

keypass mypassword -storepass mypassword

The following table describes the parameters of the keytool utility:

Place the certificate you created in the file that the JVM uses to determine what certificates to trust. The file in which 
you place the certificate (usually named cacerts), is located in the JRE, in the lib/security folder. 

Configure Flex

1

To export the keystore to a certificate, use the keytool utility, with a command similar to the following: 

 

 

keytool -export -v -alias FlexAssembler -keystore cf.keystore -rfc -file cf.cer

2

To import the certificate into the JRE cacerts file for your server, use the keytool utility, with a command similar to 
the following:

 

 

keytool -import -v -alias FlexAssembler -file cf.cer -keystore 

C:\fds2\UninstallerData\jre\lib\security\cacerts

Enable SSL in the ColdFusion Administrator

1

Select Data & Services > Flex Integration, and specify the keystore file in the Full Path To Keystore box.

2

Specify the keystore password in the Keystore Password box.

3

Select Enable RMI Over SSL For Data Management, and then click Submit Changes.

If you specify an invalid keystore file or password, ColdFusion does not enable SSL, and disables LiveCycle Data 
Management Support.

Parameter

Description

-alias

The name of the keystore entry. You can use any name for this, as long as you are consistent when referring 
to it.

-dname

The Distinguished Name, which contains the Common Name (cn) of the server.

-keystore

The location of the keystore file.

-keypass

The password for your private key.

-storepass

The password for the keystore. The encrypted storepass is stored in ColdFusion configuration files.

-rfc

Generates the certificate in the printable encoding format.

-file

The name of the keystore file.

-v

Generates detailed certificate information

Summary of Contents for 38043755 - ColdFusion Enterprise - Mac

Page 1: ...Configuring and Administering ADOBE COLDFUSION 10...

Page 2: ...Last updated 7 9 2012 Legal notices Legal notices For legal notices see http help adobe com en_US legalnotices index html...

Page 3: ...ces section 27 Debugging Logging section 33 Server Monitoring section 41 Extensions section 41 Event Gateways section 44 Security section 46 Packaging and Deployment section 49 Enterprise Manager sect...

Page 4: ...ncing ColdFusion Security on Windows 112 Exposing services to users 112 Configure IP address to access exposed services 112 Restricting access to ColdFusion Administrator 113 Enabling Secure Profile f...

Page 5: ...012 Chapter 10 Working with Server Manager Launch Server Manager 140 Register servers 140 Create Groups 146 Manage multiple servers 146 Monitor multiple servers 148 Chapter 11 Basic Troubleshooting an...

Page 6: ...Describes system installation and basic configuration for Windows Macintosh Solaris Linux and AIX Configuring and Administering Adobe ColdFusion 10 Beta Describes how to perform ColdFusion administra...

Page 7: ...ColdFusion 8 the installer automatically finds an unused port for the built in web server typically 8501 If your ColdFusion Administrator is on a remote computer use the Domain Name Services DNS name...

Page 8: ...client visiting your site By managing client variables you can use this information to customize page content for your clients Select Server Settings Client Variables in the ColdFusion Administrator...

Page 9: ...Fusion uses services in Windows operating systems and processes on UNIX systems Note This does not apply when deploying ColdFusion on a J2EE server If you enable or disable security or change any opti...

Page 10: ...er is installed and running 1 Open a web browser 2 In the address line enter the URL for a web page or site For example if the file myindex htm is in your web document root directory load the page in...

Page 11: ...anet For more information see Web Server Management on page 95 About Solr administration ColdFusion includes Solr Server search technology Solr is a high performance open search engine designed to pro...

Page 12: ...denied the right In this release access is permitted to any two IP addresses concurrently For example Client1 and Client2 already have access to ColdFusion Administrator When either Client1 or Client2...

Page 13: ...Server Settings Settings Unchecked Checked Enable Global Script Protection Server Settings Settings Unchecked Checked Maximum number of simultaneous Template requests Server Settings Request Tuning R...

Page 14: ...ing Logging section For more information see Debugging Output Settings page on page 33 Set up e mail E mail lets ColdFusion applications send automated e mail messages To configure an e mail server an...

Page 15: ...esources Security related Information Server Settings section The Server Settings section lets you manage client and memory variables mappings charting and archiving It also allows you to configure e...

Page 16: ...llow Extra Attributes in AttributeCollection Specify whether ColdFusion tags can pass non standard attributes in the attributecollection structure Clear temporary files created during CFaaS after Spec...

Page 17: ...unlimited You can adjust the limits for each request type CFM page CFC Flash Remoting and Web Service independently Request Tuning page The Request Tuning page of the Administrator contains configura...

Page 18: ...Specify a relative path to an HTML page to send to clients when a template requests time out before getting a chance to run For example CFIDE timeout html This page cannot contain CFML If a page is no...

Page 19: ...Client Store page for the data source appears 3 Select options for the data source as described in the following table To exit from the page without saving changes click the left arrow icon Maximum N...

Page 20: ...data that has not been accessed in a specified number of days select this option and enter a value for the number of days If a cluster of ColdFusion servers uses this data source ensure that only one...

Page 21: ...t variable database tables in your own database However keep in mind that not all databases support the same column data type names For the proper data type see your database documentation Note The Co...

Page 22: ...server wide By default application and session variables are enabled when you install ColdFusion If you disable either type of variable in the Memory Variables page you cannot use them in a ColdFusion...

Page 23: ...on Administrator to specify a mail server to send automated e mail messages ColdFusion supports the Simple Mail Transfer Protocol SMTP for sending e mail messages and the Post Office Protocol POP for...

Page 24: ...portnumber Maintain Connection To Mail Server Enterprise Edition only Keeps mail server connections open after sending a mail message Enabling this option can enhance performance when delivering multi...

Page 25: ...ritten is a good candidate for scheduled tasks Instead of executing a query to a database every time the page is requested ColdFusion renders the static page with information that the scheduled event...

Page 26: ...er is enabled and the remaining task count Enable Cluster Setup Applies if you have at least one data source configured Specify the following details Select Data source All the data sources you have c...

Page 27: ...n overloaded web server a network problem or a page that takes too long to execute Proxy Server Port Optional If this request must be routed through a proxy server enter the URL and Port number of tha...

Page 28: ...he following topics Register New Font with ColdFusion Lets you browse to a directory that contains fonts or select a specific font Priority An integer that indicates the priority of the task Retry Cou...

Page 29: ...font extensions The ColdFusion Administrator lets you register the following types of fonts Area Description New Font Font Directory Specifies a fully qualified path to a directory that contains font...

Page 30: ...Report developers can optionally specify that ColdFusion embed fonts in the PDF file FlashPaper always embeds fonts When using the cfdocument tag fonts are embedded if fontEmbed is set to yes or sele...

Page 31: ...age Note This page does not apply when deploying ColdFusion on a J2EE server The Java and JVM page lets you specify the following settings which enable ColdFusion to work with Java Note You must resta...

Page 32: ...mon tasks that you can perform in the Data Services section of the Administrator Data Sources page ColdFusion lets you quickly deliver dynamic database content to the web A data source is the entry po...

Page 33: ...an also rename and alias a Solr collection in ColdFusion Administrator To do this 1 Click the ColdFusion collection that you need to rename from the ColdFusion Collections page The Manage Collection p...

Page 34: ...can be indexed only by using the ColdFusion cfindex tag To populate index a collection 1 In the list of Solr Collections click the name of the collection or its Index Collection button The Index Solr...

Page 35: ...for the Web Services Description Language WSDL 3 Enter a user name and password 4 If applicable Specify the proxy server details and credentials 5 Optional Specify the timeout value for the web servi...

Page 36: ...ration page Use this page to specify which Flex integration features to enable and which IP addresses can perform data service operations If you enable Adobe LiveCycle Data Services ES support but do...

Page 37: ...e JRE cacerts file for your server use the keytool utility with a command similar to the following keytool import v alias FlexAssembler file cf cer keystore C fds2 UninstallerData jre lib security cac...

Page 38: ...al path and URI of the template the line number and snippet the SQL statement used if any the data source name if any and the Java stack trace Enable Request Debugging Output Enables the ColdFusion de...

Page 39: ...n complexity and resource load between calls is ignored Req Q ed Number of queued requests The number of requests that are currently waiting for ColdFusion to process them Lower values which you can a...

Page 40: ...he list 2 Click Remove Selected The address no longer appears in the list Note If you do not specify IP addresses and debugging options are active ColdFusion displays debugging output for all users De...

Page 41: ...than the specified interval to process Logging slow pages can help you diagnose potential problems or bottlenecks in your ColdFusion applications Entries are written to the server log file Log All COR...

Page 42: ...he date and time executed and a task ID eventgateway log Records events and errors related to event gateways migration log Records errors related to upgrading from a previous version of ColdFusion mig...

Page 43: ...obe can also execute a script to perform a recovery action such as restarting the server All probe actions are logged in the logs probes log file The System Probes page also displays the status of eac...

Page 44: ...k these buttons to run edit delete or disable an existing probe configuration Probe Name Shows the names of the ColdFusion probes created Status Shows the current operating state of one or more config...

Page 45: ...gs Option Description Probe Name Provide a name for the probe configuration Frequency Select the schedule for running this probe How often hours minutes seconds the probe verifies the availability of...

Page 46: ...ties on a ColdFusion Server You can identify information about the server including requests queries memory usage and errors You can start and stop collecting server information and take snapshots of...

Page 47: ...is not required Code Base Provide the URL of the code base the directory that contains the applet components The applet class files must be located within the web browser root directory for example h...

Page 48: ...n fields Type Identifies the type of language used to build the CFX tag C or Java Description Identifies the use of the CFX tag Option Description Tag Name Enter the tag name after the cfx_prefix Prov...

Page 49: ...f_webapp_root WEB INF cfusion lib multiserver and J2EE configurations The following table contains information about the libraries and connectors Example of a CORBA connector configuration for VisiBro...

Page 50: ...Option Description Enable ColdFusion Event Gateway Services Specifies whether the service is enabled Changing this setting restarts the service Event Gateway Processing Threads Specifies the maximum...

Page 51: ...ata through the ColdFusion application or the Flash client and reflects the change in the Flash Media Server shared object SMS Used to send and receive SMS messages SAMETIME Used to send and receive i...

Page 52: ...n enable disable RDS using ColdFusion Administrator That is you can modify the settings that you made at the time of installation using ColdFusion Administrator The RDS page on the ColdFusion Administ...

Page 53: ...e Security Administrator page Similarly you must select the Separate Username And Password Authentication option on the RDS page to grant RDS access to multiple users 1 In Security User Manager click...

Page 54: ...r access control for the services On the Security User Manager page you can select the services available to a user from the Exposed Services section By default all the services are listed in the Proh...

Page 55: ...formation and then click Next to continue The Choose Archive File Location page appears 4 In the Choose Archive File Location page do the following In the File Name text box specify the full path wher...

Page 56: ...WAR file that contains the following items The ColdFusion web application Server settings such as data sources and custom tag paths The CFML pages of your application stored in the root directory of t...

Page 57: ...to run the remote Tomcat server instance when you define it to the Instance Manager However it must be running before you can add it to a cluster Edit ColdFusion Server Modify built in web server set...

Page 58: ...bled Tomcat propagates session variable information to all servers in the cluster every time a session variable changes Consider whether the application s business requirements require session replica...

Page 59: ...r a session is established on an instance all future requests from the client are mapped to that instance 6 Click Submit Adding a remote instance to a cluster To add a remote instance to a cluster add...

Page 60: ...ceptor className org apache catalina tribes group interceptors MessageDispatch15Interceptor Interceptor Channel Valve className org apache catalina ha tcp ReplicationValve filter Valve Valve className...

Page 61: ...which you want to apply the updates Download Downloads and places the file in cf_home hf updates for later installation For details see Download hot fix for later installation on page 57 Download and...

Page 62: ...echnotelink Link_to_Technote cfhf_technotelink cfhf_servers cfhf_server version 10 0 0 cfhf_downloadlink http localhost 8500 updates install060811 jar cfhf_downloadlink cfhf_checksum 20f33dd56597b68c3...

Page 63: ...rovided in the console In Silent mode At command prompt run the following command java jar jar file name i silent f install_properties_file_path Installation occurs silently The following is a sample...

Page 64: ...applying the hotfix servers are restarted If you do not want the servers to restart additionally provide the following command For console and GUI mode Run the following argument DDONOT_START_SERVERS...

Page 65: ...60 CONFIGURING AND ADMINISTERING COLDFUSION 10 Using the ColdFusion Administrator Last updated 7 9 2012 For J2EE installations...

Page 66: ...61 CONFIGURING AND ADMINISTERING COLDFUSION 10 Using the ColdFusion Administrator Last updated 7 9 2012...

Page 67: ...exploded EAR WAR deployment At command prompt run the following command java jar jar file name i silent f install_properties_file_path Installation occurs silently The following is a sample propertie...

Page 68: ...for exploded EAR WAR deployment At command prompt run the following command java jar jar file name i silent f install_properties_file_path Installation occurs silently The following is a sample prope...

Page 69: ...oyment At command prompt run the following command java jar jar file name The console appears with instructions Follow the instructions provided in the console In Console mode for unexploded EAR WAR d...

Page 70: ...ts of a set of ColdFusion components CFCs that contain methods you call to perform Administrator tasks For example you use the setMSQL method of datasource cfc to add a SQL Server data source The CFCs...

Page 71: ...browser to http localhost 8500 CFIDE adminapi datasource cfc Use the Administrator API 1 Instantiate administrator cfc cfscript Login is always required adminObj createObject component cfide adminapi...

Page 72: ...wind_MSSQL host xx x xxx xx port 1433 database northwind username sa login_timeout 29 timeout 23 interval 6 buffer 64000 blob_buffer 64000 setStringParameterAsUnicode false description Northwind SQL S...

Page 73: ...stDSN username sa Optional and advanced arguments stDSN login_timeout 29 stDSN timeout 23 stDSN interval 6 stDSN buffer 64000 stDSN blob_buffer 64000 stDSN setStringParameterAsUnicode false stDSN des...

Page 74: ...slower than other JDBC driver types Adobe does not recommend this driver type unless your application requires DBMS specific features 2 Native API partly Java driver Converts JDBC calls to database s...

Page 75: ...our data sources to communicate with ColdFusion After you add a data source to the Administrator you access it by name in any CFML tag that establishes database connections for example in the cfquery...

Page 76: ...s the database and enter any required Port value For example the bullwinkle server on the default port 7 If your database requires login information enter your user name and password Note The omission...

Page 77: ...of the server that hosts the database that you want to use If the database is local enclose the word local in parentheses User name The user name that ColdFusion passes to the JDBC driver to connect...

Page 78: ...w database exists in the path specified in the Database Folder If the database exists an SQL warning is generated and a connection to the existing database is established Description Optional A descri...

Page 79: ...se to avoid any performance loss Setting Description CF Data Source Name The data source name DSN that ColdFusion uses to connect to the data source Database The name of the database Server The name o...

Page 80: ...retrieves the number of characters specified in the BLOB Buffer setting BLOBs are not supported on UDB 7 1 and 7 2 LongText Buffer chr The default buffer size used if the CLOB option is not selected T...

Page 81: ...on before destroying it Interval min The time in minutes that the server waits between cycles to check for expired data source connections to close Disable Connections If selected suspends all client...

Page 82: ...name that ColdFusion passes to the JDBC driver to connect to the data source if a ColdFusion application does not supply a user name for example in a cfquery tag Default Password The password that Co...

Page 83: ...kilobytes used by Microsoft Access to transfer data to and from the disk Can be any integer value divisible by 256 Connection String A field that passes database specific parameters such as login cre...

Page 84: ...he user name that ColdFusion passes to the JDBC driver to connect to the data source if a ColdFusion application does not supply a user name for example in a cfquery tag Password The password that Col...

Page 85: ...connections Login Timeout sec The number of seconds before ColdFusion times out the data source connection login attempt CLOB Select to return the entire contents of any CLOB Text columns in the datab...

Page 86: ...herever there s a reference to local The following situations can cause a Connection Refused error If you specified authentication information in SQL Server ensure that you have not defined a user nam...

Page 87: ...al A description for this connection Connection String A field that passes database specific parameters such as login credentials to the data source Limit Connections Specifies whether ColdFusion limi...

Page 88: ...pe as MySQL Datadirect from the drivers pop up menu in ColdFusion Administrator Note The MySQL5 Enterprise database sometimes requires access permission for all users who try to connect to it if the a...

Page 89: ...etMSSQL Note The qtimeout option is not supported by all databases For more information about DataDirect JDBC Connect see http www datadirect com techres jdbcproddoc index ssp for PDF http media datad...

Page 90: ...Optional true false Determines whether to validates the certificate sent by the database server MySQL clientCertificateKeySt oreUrl Applies only if client authentication is enabled on the database se...

Page 91: ...dateServerCertificate true false HostNameInCertificate host_name SERVERNAME Oracle Oracle EncryptionMethod SSL KeyStore path to keystore KeyStorePassword keystore Password KeyPassword key Password Tru...

Page 92: ...this option to improve performance by caching the data source connection Timeout min The number of minutes that ColdFusion MX maintains an unused connection before destroying it Interval min The time...

Page 93: ...he data source connection Max Pooled Statements Enables reuse of prepared statements that is stored procedures and queries that use the cfqueryparam tag Although you tune this setting based on your ap...

Page 94: ...or example in a cfquery tag Description Optional A description for this connection Connection String A field that passes database specific parameters such as login credentials to the data source Limit...

Page 95: ...and z OS platforms DB2 iSeries refers to all supported versions of DB2 on iSeries and AS 400 For more information on DB2 see Connecting to DB2 Universal Database on page 74 Connecting to PostgreSQL To...

Page 96: ...formance by caching the data source connection Timeout min The number of minutes that ColdFusion MX maintains an unused connection before destroying it Interval min The time in minutes that the server...

Page 97: ...ot typical for ColdFusion applications unless you use pooled statements Limit Connections Specifies whether ColdFusion limits the number of database connections for the data source If you enable this...

Page 98: ...sion uses to connect to the data source JNDI Name The JNDI location in which the J2EE application server stores the data source User name The user name that ColdFusion passes to JNDI to connect to JND...

Page 99: ...driver jar file to one of the following directories server configuration only cf_root lib multiserver or J2EE configuration cf_webapp_root WEB INF cfusion lib 2 Restart ColdFusion Note In Windows ensu...

Page 100: ...following cases Coexistence transition The built in web server lets you run a previous version of ColdFusion using an external web server and ColdFusion using the built in web server on the same comp...

Page 101: ...string To add virtual directory Uncomment the entry context path below To add a virtual directory add the aliases attribute as shown below Context path docBase absolute_path_to_CF_install_directory w...

Page 102: ...og level to debug in the isapi_redirect properties file present in the cf_roots config wsconfig 1 directory To disable webserver buffer change the is_buffer_enable to false in the cf_root config wscon...

Page 103: ...3 Start the Web Server Configuration Tool using the wsconfig exe Windows or wsconfig UNIX command The Web Server Configuration Tool window appears 4 Click Add 5 Select Configure Web Server For ColdFu...

Page 104: ...es the path to the configuration directory SunONE config site Specifies the IIS website name case sensitive Specify All or 0 to configure the connector at a global level which applies to all IIS websi...

Page 105: ...e Web Server Configuration Tool it creates a configuration file and directory For example the first time you run the tool in the server configuration it creates files under cf_root config wsconfig 1 t...

Page 106: ...S Y AddHandler jakarta servlet cfm cfml cfc cfr cfswf Alias CFIDE CF_install cfusion wwwroot CFIDE Directory CF_install cfusion wwwroot CFIDE Options Indexes FollowSymLinks AllowOverride None Order a...

Page 107: ...from CFFormGateway name jknsapi NameTrans fn assign name from cfformgateway name jknsapi NameTrans fn pfx2dir from CFIDE dir C ColdFusion10 cfusion wwwroot CFIDE AuthTrans fn match browser browser MS...

Page 108: ...ou run the IIS Administrator to create additional websites and run the Web Server Configuration Tool You store ColdFusion pages under the web root of each virtual website Connect multiple virtual site...

Page 109: ...n wsconfig exe ws apache dir c program files apache group apache2 conf v For additional UNIX command line examples see Using the command line interface on page 98 The Web Server Configuration Tool upd...

Page 110: ...directory that contains the obj conf and magnus conf files and select the Configure Web Server for ColdFusion Applications check box Command line Specify wssunone and the directory that contains the o...

Page 111: ...ion information files and applications Use this feature to deploy your website applications to another location or to back up your files quickly and easily You can manage CAR files using the Packaging...

Page 112: ...an archive Setting Description Archive Type Select EAR or WAR Context Root EAR only Each J2EE web application running in a server is rooted at a unique base URL called a context root or context path...

Page 113: ...can use the cfcompile utility for the following purposes Precompiling ColdFusion pages Precompile your application s CFM pages into Java class files At runtime ColdFusion does not have to compile CFM...

Page 114: ...cfcompile utility perform the following steps 1 Back up your original CFML files 2 Copy the generated bytecode CFML files to the original directory 3 Deploy the application The J2EE Archive screen of...

Page 115: ...ifficult ColdFusion provides a highly secure environment for web application development and deployment It helps you reduce security risks in the following ways Encryption Use of the Secure Sockets La...

Page 116: ...Administrator Password protection for accessing the Administrator helps guard against unauthorized modifications of ColdFusion and Adobe recommends using passwords You can disable or change the Admin...

Page 117: ...by unknown applications or users This can be done by configuring the client IP address range to which services are accessible Also you can set up user access control for the services On the Security U...

Page 118: ...a comma separate list of IP addresses that may be allowed to access the ColdFusion Administrator Administrator settings affected by enabling Secure Profile Administrator Settings Path Default Admin Pr...

Page 119: ...Enable WebSocket Server Server Settings WebSocket Enabled Disabled N A 11 Start Flash Policy Server Server Settings WebSocket Enabled Disabled N A 12 Allowed SQL all settings Data Services Data Source...

Page 120: ...ing the data sources or files of another customer Resources that you can restrict You can restrict the following resources Data Sources Restrict the use of ColdFusion data sources CF Tags Restrict the...

Page 121: ...gs and functions For example if the applications in the sandbox do not use the cfregistry tag you can safely disable it Note In the Standard Edition the Root Security Context is the only sandbox witho...

Page 122: ...ed permissions of the operating system To restrict a user from browsing another user s directory use file based permissions 13 Click the Server Ports tab 14 To turn off default behavior global access...

Page 123: ...diskStore property The diskStore property in cf_root lib ehcache xml is used to specify the directory for disk cache diskStore path java io tmpdir Use the following code to identify the temp director...

Page 124: ...r connector optimizes performance and stability by automatically balancing load and by switching requests to another server instance when a server instance stops running File location considerations C...

Page 125: ...homed servers where a single web server supports multiple IP addresses or domain names such as www mycompany com and services anothercompany com each running from a separate web root For more informat...

Page 126: ...r example under the web server root directory or one of its subdirectories Minimize the amount of static content served from ColdFusion web application root directory Configuring application isolation...

Page 127: ...instance Specify a different configuration directory and ColdFusion server instance each time Ensure that you select the Configure Web Server for ColdFusion MX Applications option GUI Enabling cluster...

Page 128: ...to the cluster For more information on configuring clusters on Tomcat see http tomcat apache org tomcat 5 5 doc cluster howto html If you are using session replication go to the Memory Variables page...

Page 129: ...tor className org apache catalina tribes group interceptors MessageDispatch15Interceptor Interceptor Channel Valve className org apache catalina ha tcp ReplicationValve filter Valve Valve className or...

Page 130: ...xml file available in the runtime conf folder of the instance For more information on JVM route see http tomcat apache org tomcat 5 5 doc cluster howto html Note A remote instance and a local instance...

Page 131: ...tiple ColdFusion servers The Server Monitor provides information about the following Requests queries sessions and threads Response time Memory usage Alerts and errors Snapshots of server information...

Page 132: ...copes use If Profiling is also on the Server Monitor tracks the memory that individual tags functions and queries use Button Action Start Monitoring Starts gathering information about all requests inc...

Page 133: ...data collected since the server started for the past 5 min or for the past minute Slowest active requests Lowest active requests that are slower than the threshold set on Slowest Requests page The num...

Page 134: ...see Request handling on page 136 Slowest ColdFusion Threads The Slowest ColdFusion Threads report lists the slowest ColdFusion threads You can specify the threshold that determines whether a ColdFusi...

Page 135: ...consumption by persistent scopes on the server including the server scope the application scopes and the session scopes If your server is consuming too much memory the graph provides information about...

Page 136: ...can improve performance by caching the query using ColdFusion s query cache For more information see Database response time on page 136 Cached Queries The Cached Queries report lists the queries that...

Page 137: ...problems including a slow server or an unresponsive server The slow server alert is triggered when the server s average response time exceeds a specified limit The unresponsive server alert is trigge...

Page 138: ...y and its subdirectories and in any directories specified on the Mappings page of the ColdFusion Administrator However you might not want to monitor all requests on the server You specify a path to ex...

Page 139: ...admin Instantiate the Server Monitor object myObj createObject component cfide adminapi servermonitoring Get the dsn pool data array dbpool myObj getDbPoolStats cfscript List the data sources The Cold...

Page 140: ...of the heap in megabytes MB These JVM arguments are stored in the jvm config file in the value of the java args setting The default maximum heap size is set to 512 MB in ColdFusion For best performanc...

Page 141: ...ting on the Caching page of the ColdFusion Administrator for production applications so that the server does not check the file system to see if the CFML source code changed since it was last compiled...

Page 142: ...ings Page in the ColdFusion Administrator Server Monitoring Monitoring Settings lets the following configurations Enable monitoring server Note When you enable monitoring server and configure it to us...

Page 143: ...et Set name lowResourcesMaxIdleTime 5000 Set New Arg 3 Uncomment the Set SSL Connector section Call name addConnector Arg New class org eclipse jetty server ssl SslSelectChannelConnector Set name host...

Page 144: ...read QueuedThreadPool Set name minThreads 2 Set Set name maxThreads 50 Set New Optional Java 5 bounded threadpool with job queue New class org eclipse thread concurrent ThreadPool Set name corePoolSiz...

Page 145: ...unning on IIS 7 web server or a J2EE server set the mimetype in the respective webserver or J2EE server If you cannot configure the AIR mimetype then you can either download the ServerManager zip file...

Page 146: ...get the latest information about a server instance fetch these details from the main ColdFusion server Note For server clusters register each instance in the cluster with the Server Manager By default...

Page 147: ...rtificate You should have a self signed certificate or a certificate from a Certificate Authority CF_installation jre bin keytool export alias certificatekey keystore keystore jks rfc file selfsignedc...

Page 148: ...8443 Port of the Jetty server Context Root Value is AdminServlet 8 Click Apply Setting up remote start and stop functionality using HTTP in Server Manager You can set up start and stop remote instance...

Page 149: ...cific parameters Deploy the wsappstartup war file on WebSphere in the same profile where the ColdFusion instance is deployed The WebSphere parameters in the Start Stop Details tab of Server Manager ar...

Page 150: ...r are User name user name mentioned in jmx console users properties Password password of the corresponding user Port port number for accessing the admin console Context root name of the deployed WAR f...

Page 151: ...he new settings For example if data source named XXX is being dropped on a server and if that data source already exists on the other server then the data source gets overridden with the new setting w...

Page 152: ...ng with a red icon beside the data source Verify all data sources by right clicking the Data Sources node in the left pane Mappings Add a mapping by right clicking the Mappings setting Edit an existin...

Page 153: ...to set the interval in seconds for Server Manager to check for any alerts and warnings on ColdFusion server In addition if the status of your server instance on Server Manager is Unreachable then Ser...

Page 154: ...s in Server Manager When any alert like JVM memory slow server unresponsive server or timeouts occur on the ColdFusion server instance it reaches the Server Manager and is shown as a pop up menu at th...

Page 155: ...n user account Analyze activity in log files ColdFusion log files contain valuable information that can help you identify problems with ColdFusion or with application pages in your site For details se...

Page 156: ...enter the appropriate account user name and password information 4 Click OK to save the information 5 Click Close to close the Services window 6 Restart the service for the changes to take effect Anal...

Page 157: ...ministrator password You can set or change the password that restricts access to ColdFusion Administrator pages as follows 1 Select Security Administrator in the navigation pane 2 Select the type of A...

Page 158: ...select it and click Start Its status is Started 4 To restart a service select it and click Restart This is identical to stopping and starting a service 5 Click Close The Services window closes Config...

Page 159: ...Control Panel Administrative Tools Performance 2 Click the Add button The Add Counters window appears 3 In the Performance Object drop down list box select ColdFusion Server In the Counter list select...

Page 160: ...ettings 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 Applica...

Page 161: ...ent for each log file that you specified to view on the Log Files page Use the Log Viewer 1 On the Log Files page click the name of the log file The Log Viewer page appears 2 To filter the content on...

Page 162: ...er 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 proc...

Reviews: