Most people will find that installing CAS 3.0.x on RHEL 5 isn't initially as straightforward as they hoped. This is largely in part due to Redhat not officially supporting either the Sun Java Development Kit (JDK) or Java Runtime Environment (JRE). By default, Redhat has bundled RHEL 5 with the GNU Compiler for Java (GCJ) from JPackage, which is equivalent to J2SE 1.4.2 as of July 2007. This can cause code compiled by newer versions of Sun JDK / JRE to be incompatible with GCJ. However, it is not only possible but fairly easy to get CAS 3.0.x deployed on RHEL 5.
NOTE: This walkthrough involves the use of precompiled Sun Java 6 and Apache Tomcat 5.5.x binaries rather than keeping RHEL 5 in sync with yum repositories.
Step 1: Remove pre-installed version of Apache Tomcat 5.5.x
Step 2: Download and install Sun JRE / JDK
Step 3: Set up necessary environment variables
Step 4: Download and install Apache Tomcat 5.5.x
Step 5: Download and install Ant 1.7.x
Step 6: Download and deploy CAS server 3.0.x