You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rohit Peyyeti <ro...@translogicsys.com> on 2003/05/29 12:41:26 UTC
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 CATALINA_BASE
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Multiple instances
Posted by John Turner <to...@johnturner.com>.
Ditto.
John
On Thu, 29 May 2003 18:47:31 +0800, Jason Bainbridge <ja...@jblinux.org>
wrote:
> On Thu, 29 May 2003 18:41, Rohit Peyyeti wrote:
>
>> 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 CATALINA_BASE
>> environment? What if I want to run 5 to 6 different instances? How
>> exactly
>> should it be configured?
>
> I'm not sure if there are any howto's around for this, most likely there
> is but the way I do it to simplify matters is just to copy the whole
> tomcat directory and then change various ports in server.xml (I'm at home
> so I haven't got the list in front of me).
>
> Then if you wish to install NT services (are you using Windows) there is
> a GUI tool available that makes this nice and easy, search the archives
> and you should find it easy enough. If you are using linux you should be
> right if you just run ./startup.sh from each directory, same with windows
> if you don't want to install a service, just run the startup.bat file.
>
> You can set it up so you share some of the core of Tomcat but I prefer
> not to complicate matters as Tomcat isn't huge so there is no real
> overhead in just keeping multiple copies of the binary.
>
> Regards,
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Multiple instances
Posted by Jason Bainbridge <ja...@jblinux.org>.
On Thu, 29 May 2003 18:41, Rohit Peyyeti wrote:
> 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 CATALINA_BASE
> environment? What if I want to run 5 to 6 different instances? How exactly
> should it be configured?
I'm not sure if there are any howto's around for this, most likely there is
but the way I do it to simplify matters is just to copy the whole tomcat
directory and then change various ports in server.xml (I'm at home so I
haven't got the list in front of me).
Then if you wish to install NT services (are you using Windows) there is a GUI
tool available that makes this nice and easy, search the archives and you
should find it easy enough. If you are using linux you should be right if you
just run ./startup.sh from each directory, same with windows if you don't
want to install a service, just run the startup.bat file.
You can set it up so you share some of the core of Tomcat but I prefer not to
complicate matters as Tomcat isn't huge so there is no real overhead in just
keeping multiple copies of the binary.
Regards,
--
Jason Bainbridge
KDE Web Team - http://kde.org
webmaster@kde.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Multiple instances
Posted by Rohit Peyyeti <ro...@translogicsys.com>.
What about name attribute in tomcat's <HOST> tag? Should it be same as Apache's
VH's ServerName attribute? Should both be the same? -- my question is: can
both exist in parallel without any issues?
----- Original Message -----
From: "Bill Barker" <wb...@wilshire.com>
To: <to...@jakarta.apache.org>
Sent: Friday, May 30, 2003 10:54 AM
Subject: Re: Multiple instances
> It should be a piece of cake. Setup your workers.properties file to define
> all of your Tomcats, and then within each Apache <VirtualHost>, define the
> JkMounts to go to the correct version of Tomcat.
>
> "Rohit Peyyeti" <ro...@translogicsys.com> wrote in message
> news:00dc01c325d3$6e638950$170a0a0a@epithelium...
> > I'm managing virtualhosts from Apache and I need a blank context. Can I
> > setup <HOST> and then blank context inside it and then also use apache's
> > VHs too without any issues or is there a problem?
> >
> > Thanks!
> >
> >
> > ----- Original Message -----
> > From: "Alex Burton" <al...@e-plus.com.au>
> > To: "Tomcat Users List" <to...@jakarta.apache.org>; "Rohit Peyyeti"
> <ro...@translogicsys.com>
> > Sent: Thursday, May 29, 2003 4:20 PM
> > Subject: RE: Multiple instances
> >
> >
> > > Why do you want to run separate instances for each application? Why not
> just
> > > setup more <host> inside one instance?
> > >
> > > -----Original Message-----
> > > From: Rohit Peyyeti [mailto:rohit@translogicsys.com]
> > > Sent: Thursday, 29 May 2003 8:41 PM
> > > 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 CATALINA_BASE
> > > 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: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Multiple instances
Posted by Bill Barker <wb...@wilshire.com>.
It should be a piece of cake. Setup your workers.properties file to define
all of your Tomcats, and then within each Apache <VirtualHost>, define the
JkMounts to go to the correct version of Tomcat.
"Rohit Peyyeti" <ro...@translogicsys.com> wrote in message
news:00dc01c325d3$6e638950$170a0a0a@epithelium...
> I'm managing virtualhosts from Apache and I need a blank context. Can I
> setup <HOST> and then blank context inside it and then also use apache's
> VHs too without any issues or is there a problem?
>
> Thanks!
>
>
> ----- Original Message -----
> From: "Alex Burton" <al...@e-plus.com.au>
> To: "Tomcat Users List" <to...@jakarta.apache.org>; "Rohit Peyyeti"
<ro...@translogicsys.com>
> Sent: Thursday, May 29, 2003 4:20 PM
> Subject: RE: Multiple instances
>
>
> > Why do you want to run separate instances for each application? Why not
just
> > setup more <host> inside one instance?
> >
> > -----Original Message-----
> > From: Rohit Peyyeti [mailto:rohit@translogicsys.com]
> > Sent: Thursday, 29 May 2003 8:41 PM
> > 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 CATALINA_BASE
> > 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: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Multiple instances
Posted by Rohit Peyyeti <ro...@translogicsys.com>.
I'm managing virtualhosts from Apache and I need a blank context. Can I
setup <HOST> and then blank context inside it and then also use apache's
VHs too without any issues or is there a problem?
Thanks!
----- Original Message -----
From: "Alex Burton" <al...@e-plus.com.au>
To: "Tomcat Users List" <to...@jakarta.apache.org>; "Rohit Peyyeti" <ro...@translogicsys.com>
Sent: Thursday, May 29, 2003 4:20 PM
Subject: RE: Multiple instances
> Why do you want to run separate instances for each application? Why not just
> setup more <host> inside one instance?
>
> -----Original Message-----
> From: Rohit Peyyeti [mailto:rohit@translogicsys.com]
> Sent: Thursday, 29 May 2003 8:41 PM
> 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 CATALINA_BASE
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Multiple instances
Posted by Alex Burton <al...@e-plus.com.au>.
Why do you want to run separate instances for each application? Why not just
setup more <host> inside one instance?
-----Original Message-----
From: Rohit Peyyeti [mailto:rohit@translogicsys.com]
Sent: Thursday, 29 May 2003 8:41 PM
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 CATALINA_BASE
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org