2 - Installing Apache Tomcat

  1. Download and install the Sun Java SDK 1.4.2 or later (Sun Java SDK is required by Tomcat, the Sun Java JRE must not be used) from: http://java.sun.com/j2se/1.4.2/download.html
  2. Download and install Apache Tomcat V5.0 using the default settings or the settings required by the customer: http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi
  3. Configure the Tomcat user database (tomcat-users.xml) to be able to run the administration and manager applications. The file is stored in the TomcatBaseDirectory/conf directory:
    <?xml version='1.0' encoding='utf-8'?>
    <tomcat-users>
      <role rolename="tomcat"/>
      <role rolename="role1"/>
      <role rolename="manager"/>
      <role rolename="admin"/>
      <user username="tomcat" password="tomcat" roles="tomcat,admin,manager"/>
      <user username="role1" password="tomcat" roles="role1"/>
      <user username="both" password="tomcat" roles="tomcat,role1"/>
    </tomcat-users>
  4. Copy the IBM DB2 Universal JDBC Driver files and Apache Derby Driver file in the TomcatBaseDirectory/common/lib directory. The required files are: db2jcc.jar, db2jcc_license_cu.jar and derby.jar. The DB2 JDBC Driver files are included with IBM DB2. The Derby Driver file is included with Apache Derby. Instead of copying the files to the common/lib directory, they may be added to the Tomcat classpath. Refer to the Tomcat documentation for instructions.
  5. Download the open source xalan-2.6.0.jar file from the TomcatBaseDirectory/common/endorsed directory. The file can be downloaded from the following address: http://www.ibiblio.org/maven/xalan/jars/