ColdFusion 9.0 Resources |
Register serversRegister each ColdFusion server instance to manage it from the Server Manager. Note: The Server Manager AIR application supports only ColdFusion
9 instances.
To register a ColdFusion server:
Note: For server clusters, register each instance in the cluster
with the Server Manager.
By default, the registered servers appear in Quick View in the right-pane of the All Servers tab. If you have associated the server instance or cluster to a group, then it appears under the group tab also. After you register a server instance, you can apply a hot fix or clear the server template cache. You can perform these tasks for an individual server instance or for multiple servers. For details on performing these tasks, see Apply hot fix and Clear template cache. Start and stop ColdFusion server instanceWhile reconfiguring some settings in ColdFusion, you may need to restart the server. With Server Manager, you can restart the server without logging into host. You can configure the start and stop functionality for any of the following server types that has a ColdFusion instance deployed:
For more information about deploying ColdFusion on an application server, see ColdFusion J2EE deployment and configuration in the Installing ColdFusion. The general approach to implement the start and stop operation for a server is as follows:
For details about the WAR files corresponding to each application server and the parameters required to run start/stop operations see: Note: Options such as start, stop, or restart would be enabled only
after you provide the required details under Start/Stop Details
tab.
JRun-specific parametersFor JRun (multiserver) or ColdFusion standalone server, deploy the jrunappstartup.war file on the admin server instance. For a ColdFusion standalone server, place the jrunappstartup.war file under the directory <CF_Home>/runtime/servers/admin/ to deploy the WAR file. For JRun multiserver, you can either place the jrunappstartup.war file under the directory <JRun_Home>/servers/admin/ to get the WAR file deployed or login to the admin server (http://<HOST_NAME>:8000) and then deploy the WAR file. There are two ways to start/stop a server:
By default, the server start/stop happens using the JRun launcher. However, if you need to start/stop the server instance using a service then specify the service name in Server Manager. To specify the service name:
Important: Make sure that you
specify the correct service name in Server Manager. If you specify
the name of a service, which corresponds to some other ColdFusion instance,
then some other ColdFusion service may be stopped rather than the intended
one.
Note: If you start/stop a server using JRun launcher and a service
is configured to run automatically, then if the server is stopped
using JRun launcher, the service starts the server automatically.
To avoid this, stop the server using the service.
If the ColdFusion server instance is not running as a service, you can perform start/stop of the server using JRun launcher. To run start/stop operations, start JRun admin server. To start JRun admin server:
Note: If debugging is enabled on the ColdFusion server instance,
start admin server by calling adminstart.bat (Windows)
or adminstart.sh from <CF_HOME>/runtime/bin>
directory.
After the server starts, login to the admin server (http://<HOST_NAME>:8000) and then deploy the WAR file. The JRun parameters in the Start/Stop Details tab of Server Manager are:
WebLogic Server-specific parametersDeploy the wlogicappstartup.war file on WebLogic server, either in admin or non-admin server but to the same domain where ColdFusion is deployed. The WebLogic parameters in the Start/Stop Details tab of Server Manager are:
WebSphere-specific parametersDeploy 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 are:
JBoss specific parametersFor JBoss, deploy the jbossappstartup.war file on JBoss server. The start/stop operations work only when secure access of JNDI over HTTP is enabled. To configure secure access of JNDI over HTTP:
The files props/jmx-console-users.properties and props/jmx-console-roles.properties must contain the entries in the following format: /jmx-console-users.properties: Format: {username}={password} /jmx-console-roles.properties Format: {username}={comma-separated list of roles} For more information on enabling secure access of JNDI over HTTP, see Securing Access to JNDI over HTTP. The JBoss parameters in the Start/Stop Details tab of Server Manager are:
View diff of two server settingsYou can find out the differences in configuration of two server instances or clusters using the Diff With option available with Server Manager. This option allows you to check for differences in the configuration settings of two server instances. You can run Diff With on any two servers with the Logged In status. To run Diff With:
|