tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lloyd Meinholz <>
Subject RE: Multiple instances
Date Fri, 30 May 2003 12:12:26 GMT
I have a wrapper startup script that changes the value of CATALINA_BASE
before it calls the script. Just have the right directories and
files created in your CATALINA_BASE directory before you call

There are a couple of problems with this that I've found. You have a lot of
java processes running and if one of them is going haywire, you don't have a
way of knowing which server instance is bad since they all show up as java
in the ps -ef output. I'm trying to solve this by having a java_server1,
java_server2 etc. binaries, but am having some difficulties with that.

Also, I've found that if you start more than just a couple of instances
simultaneously, they all fail. I have about 10 servers that get started in a
boot script that don't start correctly if you try and start all of them at
the same time (at least very quickly one after the other). I have to put a
sleep between each startup call to get them to start correctly.

I hope this helps,


> -----Original Message-----
> From: Rohit Peyyeti []
> Sent: Thursday, May 29, 2003 6:41 AM
> To: Tomcat Users List
> Subject: Multiple instances
> Hello Gurus:
> I have received no response to my previous post and hence I'm 
> rephrasing
> my question and posting it again ;)
> I need to setup multiple tomcat 4.1.24 instances (for each of my web 
> applications). I did read RUNNING.txt shipped with tomcat 
> distribution 
> -- but was not very clear. Can I give multiple entries to 
> environment? What if I want to run 5 to 6 different 
> instances? How exactly
> should it be configured?
> Is there any how-to or document available for setting up 
> tomcat 4's multiple 
> instances?
> Thanks!
> Rohit
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message