Tomcat

Contents:

Apache Tomcat is the default application server for Pentaho.

Connect on port 80

Tomcat by default runs on port 8080, meaning that every URL pointing to it must specify the port number. The way to eliminate this is to allow connections on port 80, the default http port. Tomcat can be made to listen directly on port 80, but there are several reasons why you shouldn't do this. A faster and more secure method is to run an Apache httpd server on port 80 as a proxy to Tomcat on port 8080.

The steps are:

  1. install apache httpd
    # yum install httpd
  2. configure a VirtualHost entry (in /etc/httpd/conf.d/proxy_ajp.conf or /etc/httpd/conf/httpd.conf on Red Hat style systems)
    <VirtualHost *:80>
      ProxyPass / ajp://127.0.0.1:8009/
    </VirtualHost>
  3. start the httpd service
    # /etc/init.d/httpd start
You should now be able to connect to http://servername/ without the '8080', and have it display the Pentaho User Console.

If that works, set httpd to start on boot

# chkconfig httpd on

Older methods such as mod_jk also exist, but they are more complicated to implement and not necessary on a modern system.

Resources


Creator: Sridhar Dhanapalan on 2009/03/30 14:16
XWiki Enterprise 1.7.2.16857 - Documentation