What is the dispacher machine running? workers.properties implies mod_jk is being used in some form.
Also, I would recommend using Tomcat 3.3 over 3.2.3 if possible. It has a number of advantages. One is that you have a lot of control over the contents of the generated mod_jk config files from server.xml, like the worker name to use. In Tomcat 3.2.x, you have virtually no control. Cheers, Larry > -----Original Message----- > From: Hemant Singh [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 17, 2001 10:49 PM > To: Tomcat Users List > Subject: Re: Configureing multiple JVMs on Tomcat 3.3 > > > Hi Larry > > in my application i want two servers(tomcat 3.2.3) residing > on two different > machines to cater to requests coming another different > machinewhich keeps > forwarding the requests to either of the servers.Pls guide > how can i achieve > the same.I have added two workers in in my workers.properties on the > dispatcher machine , but it keeps sending the request to only > the first > machine. > > --Hemant > ----- Original Message ----- > From: "Larry Isaacs" <[EMAIL PROTECTED]> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > Sent: Monday, December 17, 2001 6:58 PM > Subject: RE: Configureing multiple JVMs on Tomcat 3.3 > > > > You would still use two separate server.xml files, such > > as server1.xml and server2.xml. If you wanted them > > both to serve the same contexts, you could leave the: > > > > <ContextXmlReader config="conf/apps.xml" /> > > > > unchanged. If you wanted to serve different contexts, > > change server1.xml to be: > > > > <ContextXmlReader config="conf/apps1.xml" /> > > > > and server2.xml to be: > > > > <ContextXmlReader config="conf/apps2.xml" />. > > > > The first version reads apps1.xml and all files matching > > the pattern apps1-*.xml. The second version reads > > apps2.xml and all files matching the pattern apps2-*.xml. > > > > Cheers, > > Larry > > > > > > > -----Original Message----- > > > From: James Chuang [mailto:[EMAIL PROTECTED]] > > > Sent: Friday, December 14, 2001 8:32 PM > > > To: Tomcat Users List > > > Subject: Configureing multiple JVMs on Tomcat 3.3 > > > > > > > > > Under Tomcat 3.2.3, I had 2 serverXXX.xml files, and I > > > started 2 instances > > > of Tomcat, each with it's own serverXXX.XML file. This > > > allowed each app to > > > have it's own JVM. > > > > > > Looking at 3.3's documentation, it seems the right way to > > > define contexts is > > > to use app_XXX.XML file in the conf directory, and let tomcat > > > find them > > > directly. > > > > > > Question, does each context have it's own JVM? If not, then > > > how should I > > > create multiple JVMs? It looks like I have to go back to > putting the > > > context definition in 2 separate server.XML files, then call them > > > separately, and not use the APP-XXX.XML route, which > seems to be the > > > preferred route. > > > > > > Thanks in advance. > > > > > > jchuang > > > > > > > > > -- > > > 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]> > > > > > -- > 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]>
