Hi Peter, are you making sure to use different ports for each instance for Shutdown, HTTP/HTTPS and AJP?
Florian -----Original Message----- From: Peter Björkman [mailto:[EMAIL PROTECTED] Sent: Sunday, March 11, 2007 6:22 PM To: users@tomcat.apache.org Subject: Multiple instances problem... Hi! I'm setting up an environment where I need a lot of differens web containers running, and part of that is setting up tomcat5.0 to run multiple instances. I tried to find a startup/stop script and this is what I came up with: #!/bin/bash RETVAL=$? # Installation directory export CATALINA_HOME="/app/webcontainers/tomcat50" # Configuration directory export CATALINA_BASE="/etc/webcontainers/tomcat50/dev" case "$1" in start) if [ -f $CATALINA_HOME/bin/startup.sh ]; then echo $"Starting Tomcat" /bin/su tomcat $CATALINA_HOME/bin/startup.sh fi ;; stop) if [ -f $CATALINA_HOME/bin/shutdown.sh ]; then echo $"Stopping Tomcat" /bin/su tomcat $CATALINA_HOME/bin/shutdown.sh fi ;; *) echo $"Usage: $0 {start|stop}" exit 1 ;; esac exit $RETVAL As you see I have tomcat installed under: export CATALINA_HOME="/app/webcontainers/tomcat50" And the base for this instance is: export CATALINA_BASE="/etc/webcontainers/tomcat50/dev" I then want to start a new instance on: export CATALINA_BASE="/etc/webcontainers/tomcat50/live" but that won't work, it randomly starts, stopping stops all instances and the general behaviour is strange. Any ideas? Can you point me to a better startup script Regards Peter Björkman PETER BJÖRKMAN - SYSTEM ARCHITECT josh / together is better / www.josh.se sveavagen 59 / 113 59 stockholm / sweden phone +46 (0)8 650 21 07 / mobile +46 (0)709 687 884 ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/ This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]