diff options
| author | jdennis <jdennis@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2010-11-19 20:44:12 +0000 |
|---|---|---|
| committer | jdennis <jdennis@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2010-11-19 20:44:12 +0000 |
| commit | ab00df3f879465faf73ef278074c5f4ef7760d66 (patch) | |
| tree | 0a893e3b08e05a97b0a76f1b100c511aabb5f1a9 /pki/base/java-tools/src | |
| parent | 8750c940bb8fb61e74a9fb03b31f187a68e695c4 (diff) | |
Tomcat6 initscript
With tomcat6 tomcat instances are created by creating a symbolic link
with the new instance name in /etc/init.d (aka /etc/rc.d/init.d) to
the tomcat6 initscript supplied by the tomcat6 package. When the
tomcat6 initscript starts it examines it's basename (as seen by the
symbolic link) and sets that to it's instance name. It then sources a
per instance configuration file located in /etc/sysconfig whose
basename matches the instance name (e.g. same name as initscript
symlink).
For example if we wanted to create a tomcat6 instance called "foo"
% ln -s /etc/init.d/tomcat6 /etc/init.d/foo
% cp /etc/sysconfig/tomcat6 /etc/sysconfig/foo
Now we have a new tomcat6 instance which can be managed by the
standard mechanisms, e.g. /sbin/service. For example:
% /sbin/service foo start
% /sbin/service foo status
% /sbin/service foo stop
A very desirable property of this approach is NEVER modifying or
overriding any files supplied by the tomcat6 package. If there are any
bug fixes in the system supplied tomcat6 package we automatically will
benefit from those fixes once the system administrator installs a new
tomcat6 package. This was not the case previously when we were using
tomcat5 for PKI, we overrode a number of files and created our own
independent tomcat instance mechanism private to ourselves. This was a
lot of work, non-standard, and prevented ourselves from benefiting
from any updates to the tomcat package related to instance management.
This patch also removes a number of references to tomcat5 specific
files.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1548 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/java-tools/src')
0 files changed, 0 insertions, 0 deletions
