Python and Tcl - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Lua, etc
Tomcat 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 various configuration files such as context.xml, server.xml, web.xml and perhaps tomcat-users.xml. And being open source, the number of options and facilities you can turn on and off is mindblowing and you need to know what you're doing.
<advert>We can help you on our deploying Apache httpd and Tomcat course</advert>
. And we also provide sample files and resources on our web site - in fact I have just uploaded a major new resource - an annotated set of Tomcat 6 configuration files, as we tailor them on our course but with some fairly long explanations and advise embedded within them. And these sample files are available to anyone to download and use at their own risk.
- this is the main configuration file controlling what connectors are available for users to contact the server, how it deploys applications, what domains it supports, etc.
- the file which controls what type of Java applications are supported by this Tomcat, and how web addresses (URLs) are mapped onto them.
- a file with some extra controls, such as security issues concerned with certain types of servlets, and whether or not user's sessions are to survive a reboot of the server.
- this file controls who can log in to various roles; when Tomcat is just installed, it's useful to set this file up so that the Tomcat manager can be used to stop and start individual applications, and to monitor the performance of Tomcat.
Note that - although Servlets and JSPs transfer pretty easily from Tomcat 5.0 and 5.5 up to Tomcat 6, there are quite substantial changes in the sample configuration files provided as part of the distribution, and it's unlikely that your Tomcat 5.5 config files will work on Tomcat 6, or vice versa. (And, yes, we do have 5.5 samples available for training too!) (written 2009-03-01)
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articlesA654 - Web Application Deployment - Configuring and Controlling Tomcat 
Gathering information - logging - with log4j. First steps. - (2010-11-12) 
Reading and writing cookies in Java Servlets and JSPs - (2010-02-26) 
CATALINA_OPTS v JAVA_OPTS - What is the difference? - (2009-05-09) 
The Invoker - (2009-02-13) 
tomcat-users.xml; what a difference a space made - (2009-01-16) 
Port and Glasses - (2008-12-14) 
WEB-INF (Tomcat) and .htaccess (httpd) - (2008-08-20) 
Automatic startup and shutdown of Tomcat - (2008-02-24) 
Web page (http) error status 405 - (2008-01-12) 
Apache Tomcat Performance Tuning - (2007-09-29) 
Compressing web pages sent out from server. Is it worth it? - (2007-09-14) 
A practical example of roles - (2006-11-04) 
Browser -> httpd -> Tomcat -> MySQL. Restarting. - (2006-10-28) 
Tomcat - Shutdown port - (2006-08-18)
Some other Articles
Static mirroring through HTTrack, wget and othersEast of Melksham CountrysideInternal Dummy Connections on Apache httpdVirtual hosting and mod_proxy forwarding of different domains (httpd)Tomcat 6 - Annotated Sample Configuration FilesDatabase connection Pooling, SSL, and command line deployment - httpd and TomcatSharing the load between servers - httpd and TomcatInvoker and cgi servlets on Tomcat 6Train and Coach fares from London (and airports) to MelkshamWeb Site Loading - experiences and some solutions shared
4759 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page
This is a page archived from The Horse's Mouth at
the diary and writings of Graham Ellis.
Every attempt was made to provide current information at the time the
page was written, but things do move forward in our business - new software
releases, price changes, new techniques. Please check back via
our main site for current courses,
prices, versions, etc - any mention of a price in "The Horse's Mouth"
cannot be taken as an offer to supply at that price.
Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).