Exercises, examples and other material relating to training module A656. This topic is presented on public courses Deploying Apache and Tomcat
, Deploying Java Applications on Linux / Unix
In this module, we look deeper into the Tomcat configuration files and see the real information that's there between examples that are provided in such profusion that they may frighten the first time deployer.
Related technical and longer articlesLoad balancing and robustness - httpd, tomcat, PHP, Servlets, MySQL
|Articles and tips on this subject||updated|
|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 ...
|2272||Monitoring and loading tools for testing Apache Tomcat|
The following monitoring and loading tools can be used to test Apache Tomcat and are all Open Source. This comparative summary includes a link to more details of each of these resources.
ab - ApacheBench. Part of the standard Apache httpd download - a good but basic soak test where you can see how ...
|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 ...
|1718||Increasing Java Virtual Machine memory for Tomcat|
Q. "How do I increase the memory that my Java Virtual Machine in Tomcat can use?" A question asked - not for the first time - by a delegate on todays's Deploying Apache httpd and Tomcat course.
A. Set the JAVA_OPTS environment variable. Longer answer:
If you're running on a Unix or Linux system, ...
|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 ...
|466||Separating 'per instance' data from binaries and web sites|
When you install Apache httpd or Apache Tomcat, everything goes into a single directory tree. That's the most natural way for the servers to ship as it means that they can be installed, tested, and then removed again easily if you wish without any complex procedure being involved.
But for a live environment, ...
Examples from our training material
PicturesApache Tomcat - clustering and load balancing
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
Configuration files in the conf directory.
Modifying your Jasper configuration.
Logging Tomcat Activity.
Adding and tailoring access logs.
Applications that log.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
Linux and LAMP
. We run
throughout the UK (and beyond for longer courses), and
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.