| |||||||||||
| |||||||||||
Automatic 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 catalina.sh to /etc/init.d/tomcatrun 2. Add the following after the #! line but before any executable code CATALINA_HOME=/usr/local/tomcat3. Add the following symlinks in the /etc/rc3.d directory lrwxrwxrwx 1 root root 19 Feb 23 10:37 K04tomcat -> ../init.d/tomcatrunLet me stress - this is an example - you may have differences depending on the OS flavour, default run state, install directory for Tomcat, and other daemons that you are starting. (written 2008-02-24 05:30:38) Associated topics are indexed under A164 - Web Application Deployment - Services and Regular JobsA654 - Web Application Deployment - Configuring and Controlling Tomcat
Some other Articles
Trying out our Java examples on our web siteJava - a demonstration of inheritance on just one page Advanced Python, Perl, PHP and Tcl training courses / classes Online hotel reservations - Melksham, Wiltshire (near Bath) Automatic startup and shutdown of Tomcat Extra public classes in deploying Apache httpd and Tomcat Which modules are loaded in my Apache httpd Java (JSP and Servlet examples) live on our server http, https and ajp - comparison and choice Hotelympia - show report - the lighter side 1694 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 at 50 posts per pageThis is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - 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). |
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho | |||||||||||