Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
Python, Lua and Tcl - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Java, C, C++, Ruby, MySQL and Linux / Tomcat systems

Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Web Application Deployment module A654
Configuring and Controlling Tomcat
Exercises, examples and other material relating to training module A654. This topic is presented on public courses Deploying Apache and Tomcat, Deploying Java Applications on Linux / Unix

In this module, you'll learn how to automate the start-up and shutdown of Tomcat, how the configurations files work, and how to use the Admin and Manager applications to control users, roles, resources and individual web applications.

Articles and tips on this subjectupdated
3043Gathering information - logging - with log4j. First steps.
Generating information about processes as they run - who has visited a server, where orders have been received from, noting which requests have been slow - are all vital elements of debugging and monitoring processes. And this information gathering all comes under the title of "logging". Anyone who's ...
2652Reading and writing cookies in Java Servlets and JSPs
Do you want to check (and perhaps set) cookies within a Java Servlet? I was looking around for good, straightforward examples today but found that most of the published code is only snippets rather than complete examples, or is over-complex for what should be a simple demo. First - do you really want ...
2163CATALINA_OPTS v JAVA_OPTS - What is the difference?
There are two environment variables - CATALINA_OPTS and JAVA_OPTS - which are both used in the catalina.sh startup and shutdown script for Tomcat. They are described in comments within that file as: (optional) Java runtime options used when the "start", "stop" or "run" command is executed [JAVA_OPTS] and (optional) ...
2061Tomcat 6 - Annotated Sample Configuration Files
When you download Tomcat, it's pretty much "plug and play" ... once you've got your PATH and JRE_HOME environment variables set correctly. However, it's very unlikely that the default configuration is what you want, or is secure in the way you would like it to be. So you'll require to change the ...
2039The Invoker
Who, what or where is the Invoker? There are web sites that have a lot of pages on them, none of which is served up all that often, and there are other web sites which only host a few web applications,each of which is run in a container service such as Catalina within Tomcat. In the first case, the web ...
1994tomcat-users.xml; what a difference a space made
Product: Apache Tomcat release 6.0.something Symptom: After some fine tuning of the configuration files, a working installation was no longer working ... requests for web pages resulted in the browser hanging and waiting, in perpituity it seemed, for a response. In other words, the connection was being ...
914A practical example of roles
As I drove south from Scotland this morning, I was listening to the radio; an increasingly rare chance to catch up with the in depth news and review programs on Radio 4 that provide a more thorough background to history and events than I feel I get from the snippets of TV that I watch. A program of ...
907Browser -> httpd -> Tomcat -> MySQL. Restarting.
I've just completed a course covering the installation and configuration of Apache httpd, Apache Tomcat and MySQL. Complete with a demonstration that has the newly installed systems visited from various browsers, talking to httpd, which talks on to Tomcat, which talks on in turn to MySQL. The MySQL ...
1943Port and Glasses
I don't expect you've seen my picture with TCP port numbers coming out of my head very often, have you? In fact this may be the first picture of me in glasses that I've published here. That's not a vanity thing - just that it's only been over the course of this year that I've had to join the majority ...
1762WEB-INF (Tomcat) and .htaccess (httpd)
Apache Tomcat's WEB-INF directory is rather like Apache httpd's ".htxxxxx" files - they both contain data which is within the document directories, but is configuration data that's not directly visible to the web. WEB-INF/web.xml (Tomcat) contains the extra configuration information for the current ...
1553Automatic startup and shutdown of Tomcat
Setting up Tomcat to shutdown and startup automatically when the Linux / Unix server restarts. The following is for Fedora Linux, with Tomcat installed at /usr/local/tomcat (probably via a symlink as taught on our deployment course). Server configuration - assuming a default run state of 3. 1. Copy ...
1503Web page (http) error status 405
Running his first Java Servlet today, one of my delegates reported an HTTP status 405 from his code when he tried to browse to it. A new one on me ... I am used to a good number of other return codes, but hadn't seen this before. It turns out that the cause was the lack of an appropriate doGet method ...
1370Apache 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 ...
1351Compressing web pages sent out from server. Is it worth it?
Web servers can compress .html and similar files before they send them out - a great way to keep traffic volume down where bandwidth is more of a consideration than processor power. But what proportion of browsers can accept compressed data? That's a darned good question which I was asked on today's ...
837Tomcat - Shutdown port
On a new installation of Tomcat (default config files), you'll notice that your server.xml file is set up with a shutdown port of 8005, and shutdown="SHUTDOWN". What does this mean? It means that anyone who contacts the server locally on port 8005 and send it the words SHUTDOWN can cause Tomcat to ...
Examples from our training material
6_context.xml   Tomcat 6 - sample context.xml
6_server.xml   Tomcat 6 - sample server.xml file
6_tomcat-users.xml   Sample tomcat_users.xml for Tomcat 6
6_web.xml   Sample web.xml for Tomcat 6
tomcat   Tomcat 5 startup script for /etc/init.d and chkconfig use
Private course - deploying Java applications with Tomcat
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
Stopping, restarting and deleting web applications via the manager.
Installing new web applications via the manager.
Managing user and other resources
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.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2018: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01225 708225 • FAX: 01225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/resources/A654.html • PAGE BUILT: Mon Feb 8 18:55:24 2016 • BUILD SYSTEM: WomanWithCat