| Red Hat Docs > Manuals > Red Hat Applications > |
| Red Hat Enterprise Web Application Framework Installation Guide | ||
|---|---|---|
| Prev | Chapter 3. Installing the Binary Distribution | Next |
Download and unzip the appropriate ZIP file, such as ccm-cms-5.x.y-z-bin.zip.
Copy the appropriate configuration file from the etc/ directory (or conf/ directory in older releases) to system.conf. The etc/ directory includes configuration files for Tomcat 3, Tomcat 4, and Resin. (Windows users: Currently you must use Tomcat 4.0 - conf.tomcat4-win2k.in. Tomcat 4.1 will not work.).
Edit the values in the configuration file you created to match your system installation. See the the section called WAF Configuration section for important information about the configuration file.
Make any other changes specific to the servlet container that you are using. See the the section called Servlet Container Configuration section for details.
It is assumed that a DBA has already created an appropriate tablespace or set of tablespaces and an appropriate db user (to match what you have in system.conf). You should also have the DBA load the schema unless you have permission to do this yourself.
The source file for loading the schema in ccm-core is:
ccm-cms-5.x.y-z/dist/WEB-INF/sql/ccm-core/oracle-se/kernel/core-platform-create.sql |
If you are loading the CMS, the files you need to load (in this order) are:
ccm-cms-5.x.y-z/dist/WEB-INF/sql/ccm-core/oracle-se/kernel/core-platform-create.sql ccm-cms-5.x.y-z/dist/WEB-INF/sql/ccm-cms/oracle-se/content-section/cms-create.sql |
For Red Hat Enterprise Web Application Framework 5.0 there is only a single file that needs to be loaded for the schema:
ccm-core-cms-5.0.y-z/dist/WEB-INF/sql/ccm-core-cms/oracle-se/kernel/core-platform-create.sql |
As root, execute the ccm-cms-5.x.y-z/runtime/configure.pl system.conf command. This script will generate the appropriate configuration files for the servlet container you are using.
Execute /etc/init.d/tomcat4 start.
![]() | Caution |
|---|---|
We want everyone who installs WAF to have a good experience. We have worked to create installation and configuration documentation for the environments we commonly support. While Red Hat supports deployment of WAF on a Windows platform for our customers, we rely on the community to provide support to those folks who are experimenting on their own. If you are trying to deploy WAF on a Windows system, we first encourage you to try using Linux first. Get a copy of Red Hat Linux (http://www.redhat.com/software/linux/) or Red Hat Enterprise Linux AS (http://www.redhat.com/software/advancedserver/), and try your hand at deploying WAF on our OS. You will find the installation much easier, and the system much more reliable and responsive. But, we understand that some folks will still want to use Windows, and we encourage you to post your questions to redhat-ccm-list@redhat.com for a response from folks in our community who have traveled the same road. |
Execute the command ccm-cms-5.x.y-z/runtime/configure.cmd system.conf. Then, execute ccm-cms-5.x.y-z/bin/tomcat-service-install.cmd. You may have to execute these commands as an Administrator user. To uninstall the service, execute tomcat-service-uninstall.cmd.
The service installation will configure the service to put tomcat logs (not WAF logs) into app-home/logs/, where app-home is specified in your configuration file. Manually create this directory if it does not already exist.
To start your server, execute the net start app-name command. The first time the server starts up, WAF will automatically populate the data with various parameters, so the initial server startup will be longer than on subsequent restarts. You can stop your server using the net stop app-name command.