Exercises, examples and other material relating to training module A900. This topic is presented on public courses
Deploying Apache and Tomcat,
Deploying Java Applications on Linux / Unix
This module covers topics raised during Tomcat deployment courses, or which we will be covering on future private courses. Most of the subjects covered here will be of interest to a minority of trainees, so we won't be studying them in detail on every public course.
Related technical and longer articles
Load Balancing and Clustering
Articles and tips on this subject | updated |
1121 | Sharing the load with Apache httpd and perhaps Tomcat "Can you show us how to share the load of a web site between various servers" is one of the question that comes up quite often on the more advanced web server configuration courses that we run. And, yes, I can, but I'll probably ask you a lot of extra questions about exactly how you want to load balance ... | 2013-02-23 |
1377 | Load Balancing with Apache mod_jk (httpd/Tomcat) A single instance of Apache httpd can handle a very large number of simple requests for files to be served ... but a single instance of Apache Tomcat can handle far fewer requests for applications to be run. After all, there's a big difference between just handing someone a piece of data and having ... | 2012-07-27 |
3018 | Tuning Apache httpd and Tomcat to work well together If you're running Tomcat as your servlet / JSP container, you're more than likely to have it (or them - you may have multiple instances) running as application servers behind Apache httpd (the Http server) or behind a pair of Http servers. That just like having a team of people providing a service (let's ... | 2010-10-28 (longest) |
1939 | mod_proxy_ajp and mod_proxy_balancer examples One of the major enhancements in release 2.2 of Apache httpd is the addition of the mod_proxy_ajp and mod_proxy_balancer modules to the standard distribution. Gone are the days of needing to build special modules such as Jserv, jk, jk2 and warp to have httpd act as a "front" to a Java (Tomcat) server ... | 2009-05-10 |
1006 | Apache httpd and Apache Tomcat together tips Many sites run two web servers - Apache httpd is ideal for plain HTML documents and scripts / programs that are single pages, run rarely, not all linked in together. Whereas Tomcat is an application container that suits applications that are run by tens of people all at the same time - great for banking, ... | 2008-12-21 |
1896 | Virtual Hosts and Virtual Servers Do you want to use a single computer to host many different web sites? There are no less than four quite common ways of doing this - each of which has its advantages and disadvantages.
At the top left of my diagram, you have virtual hosting. In this arrangement, all the domains hosted on a single ... | 2008-11-24 |
1899 | Virtual Hosting under Tomcat - an example Tomcat supports "Virtual hosting", where you can direct several domain names to the same server computer / instance of Tomcat, and it will serve different content depending on which server you have asked even though they're on the same computer.
Here is the important part of the server.xml file that ... | 2008-11-21 |
1376 | Choosing between mod_proxy and mod_rewrite If you're connecting an Apache httpd server to an Apache Tomcat server, you can do so via proxied http requests - i.e. have your customer facing http server relay the request on, perhaps having modified it, to Tomcat and then passing the response back. Two different Apache modules give you the facility ... | 2008-02-23 |
1383 | Monitoring mod_jk and how it is load balancing Apache httpd with mod_jk has the ability to balance the load forwarded to a number of instances of a Java application running in different Tomcat containers, probably on different host c.p.u.s in most circumstances. I covered this a few days ago - see here for details.
But there's a follow up question ... | 2007-10-07 |
1370 | Apache Tomcat Performance Tuning Have you noticed what a lack of information there is in the printed material (or on the web too, come to that!) on performance tuning Apache Tomcat? The subject came up briefly during the course that I completed yesterday, when we looked at the changing the heap sizes and number of threads, and selecting ... | 2007-10-02 |
934 | Clustering, load balancing, mod_rewrite and mod_proxy "It's not friendly - it's like a reference book". Customer comment on yesterday's tailored training day, where we were load balancing a web application between a number of back end servers, using Apache httpd, with mod_proxy and mod_rewrite to do the clever bits.
Our customers are right - it IS tough ... | 2006-11-26 |
Examples from our training material
Background information
Some modules are
available for download as a sample of our material or under an
Open Training Notes License for free download from
[here].
Topics covered in this module
Running a secure service through https.
Certificate provision.
Changes to server.xml.
A note on https.
Server testing through wget.
Clustering and load balancing.
Setting up a cluster.
The current state of clustering.
Load Balancing.
Load balancing - an alternative.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Linux and LAMP,
Ruby,
Lua,
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if
you live in a different
country or continent to us.
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre.