Adobe 38043755 - ColdFusion Enterprise - Mac Скачать руководство пользователя страница 52

47

CONFIGURING AND ADMINISTERING COLDFUSION 10

Using the ColdFusion Administrator

L

ast

 

u

p

dated

 7/9/2

01

2

Configurable seed for password encryption

The Administrator has option to specify a new seed value to encrypt data source passwords. To modify the default seed 
value assigned by ColdFusion or to change the value you specified,

1

In the Password Seed section, specify the new seed value between 8-500 characters.

2

Click Submit Changes.

Note: 

When you modify the seed value, all data source connections are reset. Therefore, Adobe recommends that you 

perform this task when the server is idle or at the initial phase (after installation).

RDS page

Use the RDS page to enable and disable password-restricted RDS access to server resources from Adobe Macromedia 
Dreamweaver MX , Adobe Macromedia H , ColdFusion Extensions for Eclipse, or the ColdFusion Report 
Builder, and to change the RDS password. 

You can also configure all users to use a single RDS password, or allow only users defined in the User Manager to have 
access through RDS. The minimum character limit is 5 and the maximum character limit is 50.

In ColdFusion 10, you can 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 Administrator (Security > RDS) lets you enable/disable RDS service.

Sandbox security page

You use the Sandbox Security page (called Resource Security in the Standard Edition) to specify security permissions 
for data sources, tags, functions, files, directories, IP addresses, ports, and runtime permissions.

Sandbox security uses the location of your ColdFusion pages to determine functionality. A 

sandbox

 is a designated area 

(CFM files or directories that contain CFM files) of your site to which you apply security restrictions. By default, a 
subdirectory (or 

child

 directory) inherits the sandbox settings of the directory one level above it (the 

parent

 directory). 

If you define sandbox settings for a subdirectory, you override the sandbox settings inherited from the parent 
directory.

Use sandbox security to control access to the following:

Data sources

Tags

Functions

Files and directories

IP addresses and ports

You can also edit runtime permissions for ColdFusion pages.

Note: 

If you have enabled sandbox security and want to use the Administrator API, enable access to the CFIDE/adminapi 

directory.

For details, see “

Using sandbox security

” on page  114.

Содержание 38043755 - ColdFusion Enterprise - Mac

Страница 1: ...Configuring and Administering ADOBE COLDFUSION 10...

Страница 2: ...Last updated 7 9 2012 Legal notices Legal notices For legal notices see http help adobe com en_US legalnotices index html...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 60: ...ceptor className org apache catalina tribes group interceptors MessageDispatch15Interceptor Interceptor Channel Valve className org apache catalina ha tcp ReplicationValve filter Valve Valve className...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 65: ...60 CONFIGURING AND ADMINISTERING COLDFUSION 10 Using the ColdFusion Administrator Last updated 7 9 2012 For J2EE installations...

Страница 66: ...61 CONFIGURING AND ADMINISTERING COLDFUSION 10 Using the ColdFusion Administrator Last updated 7 9 2012...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 91: ...dateServerCertificate true false HostNameInCertificate host_name SERVERNAME Oracle Oracle EncryptionMethod SSL KeyStore path to keystore KeyStorePassword keystore Password KeyPassword key Password Tru...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: