You can have multiple instances of tomcat with 1 installation but every instance *must* have their own instance.
To do that, simple set JAVA_HOME to where java is installed and set CATALINA_HOME to be where tomcat4 is installed and lastly, set CATALINA_BASE to be that user's home directory/tomcat. Under CATALINA_BASE, there should be a conf, logs, webapps, and work, same as the Tomcat install should have in order to run. Each student can then have their own complete set of webapps and server.xml as if there's only 1 instance on the server. But, again, the server.xml will have to use different port numbers. Then each student simple runs $CATALINA_HOME/bin/startup.sh and $CATALINA_HOME/bin/shutdown.sh to start/stop tomcat, respectively. You should provide them with an example of server.xml that they should place under conf/ and have them just edit the port number. Your sample should only have 1 service and you can delete the bottom <service> tag used for apache integration. The Tomcat4 documentation area has more detail info on this under the configuration section. Ricky -----Original Message----- From: Lantz Johnson [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 7:36 PM To: [EMAIL PROTECTED] Subject: Running Tomcat for Multiple developers Hi, I need to use tomcat for 30 or so students who may or may not be logging onto more than one system. How do I get multiple instance's of tomcat with one installation ? I can not give everyone a separte server.xml file with unique port numbers because I can not figure out how to tell the startup.sh script where to find a server.xml file in, for example, everyone's home directory or how that will affect other components of the application. Thanks. Lantz Johnson Unix System Administrator Santa Clara University (408) 554-6806 -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
