Have a look at RUNNING.txt:
(4) Advanced Configuration - Multiple Tomcat 4 Instances
...
Example:
Install tomcat at /usr/local/java/jakarta-tomcat-4.0.3
Install an instance at /somedir/dev01 (follow the given paragraph)
Create directory /somedir/dev01/bin
Define the file /somedir/dev01/bin/restart like:
#!/bin/sh
JAVA_HOME=/usr/local/java/IBMJava2-13
CATALINA_HOME=/usr/local/java/jakarta-tomcat-4.0.3
CATALINA_BASE=/somedir/dev01
export JAVA_HOME CATALINA_HOME CATALINA_BASE
${CATALINA_HOME}/bin/shutdown.sh
sleep 10
${CATALINA_HOME}/bin/startup.sh
If you wan, you can define similar scripts for start and stop.
With that you can define several instances on one machine.
/somedir/dev01 through /somedir/devn..n
Each developer can simply restart his instance by
calling /somedir/dev01/bin/restart
You only have to make shure that the instances have a unique
ip/port compination for each port they use.
-Ursprüngliche Nachricht-
Von: Neil Zanella [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 27. Mai 2002 00:06
An: Tomcat Users Mailing List
Betreff: Tomcat newbie: multiuser installation
Hello,
I have asked posted question before but got no responses
so I will try this again:
I have installed Tomcat 4.0.3 on Red Hat Linux 7.3 with
Sun JDK 1.4 and J2EE 1.3.1 and everything runs smoothly
but every time I recompile a servlet placed under the
/usr/local/jakarta-tomcat-4.0.3/webapps/ROOT/WEB-INF/classes/
directory I have to restart the Tomcat server as root
in order for the changes to take effect. I need to
set up Tomcat in such a way that each user can restart
the server since no user is supposed to know the root
passwod. In addition, each user should be able to keep
their own servlets under their ~/public_html directory
since each user can only write under ~ and /tmp. Also,
they should able to have a URL involving ~username
point to their servlets.
All I am asking is, how do I configure Tomcat for use
by multiple nonpriviledged servlet developers on a
multiuser Unix like system?
Thanks,
Neil
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]