C H A P T E R 5 |
Operating the Content Delivery Server |
The Sun Java System Content Delivery Server provides continuous service with minimal operator attention. After you deploy and configure the Content Delivery Server, use the Content Delivery Server execute (cdse) command to start and stop the components as described in this chapter.
This section presents the following topics:
You must manually start the components of the Content Delivery Server. If you are using Sun Java System Application Server, you must first start the Sun Java System Message Queue broker using the following command:
$CDS_HOME/deployment/deployment-name/sun/applications/broker.sh start
The cdse startserver command starts all components in a deployment. If you do not want to start a service that is included in the deployment, use the administration console of your application server to disable the service before you start the Content Delivery Server. The following services need to be started only if you want to use the feature that they support:
Use the following command to start all of the components of the Content Delivery Server that are deployed on the host:
cdse startserver [-depl deployment-name] [-dbconf database-configuration-file] [-log log-file] [-spawn]
All parameters are optional. If the deployment parameter -depl is omitted, the value specified for DEFAULT_DEPL in the init_env.sh script is used. If the database configuration file parameter -dbconf is omitted, the value specified for DEFAULT_DB in the init_env.sh script is used. If the logging parameter -log is omitted, $CDS_HOME/cfg/logging.properties is used. If the spawn parameter -spawn is specified, the process is spawned and detached from the shell.
After the components start, you receive one of the following responses, depending on the application server that you are using:
Use the following command to stop all the components in a deployment:
cdse stopserver [-depl deployment-name] [-force]
All parameters are optional. If the deployment parameter -depl is omitted, the value specified for DEFAULT_DEPL in the init_env.sh script is used. If the force parameter -force is specified, the process is forced to stop regardless of what state the process is in.
If you are using a Sun Java System Application Server that is dedicated to the Content Delivery Server, stop the Sun Java System Message Queue after you stop the Content Delivery Server. Use the following command to stop the Message Queue:
$CDS_HOME/deployment/deployment-name/sun/applications/broker.sh stop
Copyright © 2005, Sun Microsystems, Inc. All Rights Reserved.