Base Tomcat installation

From UFP-UV Sakai Wiki

Jump to: navigation, search


  • Unpack tomcat apache-tomcat-5.5.17.tar.gz
  • Unpack tomcat compatibility package (for sakai < 2.4) apache-tomcat-5.5.17-compat.tar.gz
  • Add mysql-connector-java-3.1.12-bin.jar' to common/lib
  • Edit conf/server.xml accordingly:
    • Change non-SSL HTTP/1.1 Connector port (8080/8090)
    • Change AJP 1.3 Connector port (8009/9009)
    • Add UTF-8 enconding to the two previous connectors
  • Replace default icon in webapps/ROOT/favicon.ico
  • Add conf/Catalina/localhost/meleteDocs.xml
  • Add conf/Catalina/localhost/podcasts.xml
  • ????? Add to conf/context.xml ?????:
<Valve className="org.apache.catalina.authenticator.NonLoginAuthenticator"
disableProxyCaching="false" />
  • Add redirect when attempting to access tomcat root:
    • rename webapps/ROOT/index.jsp to webapps/ROOT/index.jsp_
    • create new webapps/ROOT/index.html:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<META http-equiv="Pragma" content="no-cache">
<META HTTP-EQUIV=REFRESH CONTENT="0; URL=/portal">
</head>
<!--<body>Redirecting to /portal</body>-->
</html>
Personal tools