Installation
Previous  Top  Next

The following RPMs need to be downloaded and installed (in the order specified below) from http://jakarta.apache.org/builds/jakarta-tomcat-4.0.1/rpms/ :

·rpm –i tomcat4-4.0.1-1.noarch.rpm  
·rpm –i tomcat4-webapps-4.0.1-1.noarch.rpm  

which will create a /var/tomcat4 directory, a /etc/init.d/tomcat4 control script and a configuration file /etc/tomcat4/conf/tomcat4.conf.

Unfortunately Tomcat does not set the permissions correctly in the /var/tomcat4 directory. Please change the permissions so that a ls –al looks like this:

drwxr-xr-x   10 root     root         4096 Feb  4 16:31 .
drwxr-xr-x   17 root     root         4096 Feb  5 16:00 ..
drwxr-xr-x    2 root     tomcat4      4096 Feb  4 16:31 bin
drwxr-xr-x    4 root     tomcat4      4096 Feb  4 16:31 common
drwxr-xr-x    2 root     tomcat4      4096 Feb  5 17:36 conf
drwxr-xr-x    2 root     tomcat4      4096 Feb  4 16:31 lib
drwxr-xr-x    2 tomcat4  tomcat4      4096 Feb  7 11:40 logs
drwxr-xr-x    4 root     tomcat4      4096 Feb  4 16:31 server
drwxr-xr-x    8 tomcat4  tomcat4      4096 Feb  5 17:19 webapps
drwxr-xr-x    4 tomcat4  tomcat4      4096 Feb  5 17:37 work

If the permissions are set differently the automatic extraction of the cocoon.war file will most likely fail.