Of course I am not running on the same server. This would require different
server.xml files or you will have port conflicts.  
I am setting up multiple servers so I can host JSP apps for people.  And
this setup makes installs quick and fast.

Steve

-----Original Message-----
From: Steve Gums [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 17, 2004 10:13 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Loadbalancing

Just something that I found to be very useful.  If I use the minimal
server.xml and put the context.xml files into place. I can use the same
server.xml file as well.  The only thing I have to do is to put the context
file into the new install and I am done.  Works great!

Steve

-----Original Message-----
From: Tim Funk [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 17, 2004 8:52 AM
To: Tomcat Users List
Subject: Re: Tomcat Loadbalancing

I typically copy all of CATALINA_HOME for each tomcat instance and never use

CATALINA_BASE.

So in other words - I start with one tomcat install. Get it working - then 
copy the whole thing to a new dir. The only difference between those 2
tomcat 
installations is server.xml. Yes - I end up with redundant copies but I 
prefer it that way. But when I want to upgrade or make changes - its much 
easier to keep things running 24x7 since the directories are NOT shared.

I do not keep any webapps inside my tomcat installation. They all live 
somewhere else on my filesystem.

-Tim

armalai wrote:

> Tim.,
>    I understand that i should use mod_jk instead of mod_jk2 ..
> Let me start with my basic problem.
> 1.How do i create more than two instances.?
>     Using CATALINA_BASE i have created one instance.but i'm not able to
get
> the jsp pages from the original instances.
> 
> Thanks.,
> MALAI
> 
> ----- Original Message ----- 
> From: "Tim Funk" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 17, 2004 9:21 AM
> Subject: Re: Tomcat Loadbalancing
> 
> 
> 
>>Start here first
>>http://jakarta.apache.org/tomcat/faq/
>>
>>-Tim
>>
>>armalai wrote:
>>
>>
>>>Hi.,
>>>  I'm trying to do Loadbalancing in tomcat.
>>>My environement details are,
>>>Windows
>>>Tomcat 4.1.xx
>>>Apace 2.x
>>>Mod_jk2 connector
>>>
>>>Right now i'm stuck up with apache to tomcat
>>>communication thru ajp.
>>>
>>>my questions are below..
>>>1.How do i create multiple instance of tomcat?
>>>  using CATALINA_BASE i could able to create one
>>>instance with new server.xml from different location.
>>>  but not able to retrieve the jsp pages from default
>>>tomcat instances webapp.
>>>  i want to create more than two instances.
>>>2.How do i do the loadbalancing & clustering?
>>>   give me the idea about worker properties config.
>>>3.Is it possible to do session replication?in few
>>>websites they talk about sticky session?
>>>what is sticky?does it covers session replica?
>>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to