tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Héritier <aherit...@sopragroup.com>
Subject RE: running two tomcat servers
Date Fri, 30 Nov 2001 09:28:34 GMT
You can see this previous mail which adresses the problem with TC4.0.
It didn't change for the apache configuration part.

 

arno

> -----Message d'origine-----
> De:	Lauer, Oliver [SMTP:Oliver.Lauer@AXA.de]
> Date:	jeudi 29 novembre 2001 16:39
> À:	'Tomcat Users List'
> Objet:	AW: running two tomcat servers
>
> OK, I understand what to do with TC, but what do I have to do for Apache 
?
>
> Thanks in advance !
>
> > AXA eSolutions GmbH
> > AXA Konzern AG Germany
> > Oliver Lauer
> > Web Architect
> > Wörthstraße 34
> > D-50668 Köln
> > Germany
> > Tel.: +49 221 148 31277
> > Fax: +49 221 148 43963
> > Mobil: +49 179 59 064 59
> > e-Mail: Oliver.Lauer@axa.de
> > _____________________________
> >
>
>
> -----Ursprüngliche Nachricht-----
> Von: Michael Weissenbacher [mailto:MWeissenbacher@net4you.net]
> Gesendet: Donnerstag, 29. November 2001 14:26
> An: 'Tomcat Users List'
> Betreff: RE: running two tomcat servers
>
>
> i don't know why this info is not on the tomcat4 documentation site, but
> here is info how to do tc4&mod_jk&ajp13
> http://jakarta.apache.org/~hgomez/ajp13-tc4.0/
>
> regards
> michael weissenbacher
>
> Net4You, a VIA NET.WORKS Company
> ==================================================
> Michael Weissenbacher - Net4You OASE
> Tiroler Straße 80, 9500 Villach
> Tel.:+ 43 (0) 4242 - 5005 - 400
> Fax: + 43 (0) 4242 - 50055
> mailto:mweissenbacher@net4you.net
> ==================================================
>
> -----Original Message-----
> From: Lauer, Oliver [mailto:Oliver.Lauer@AXA.de]
> Sent: Thursday, November 29, 2001 2:18 PM
> To: 'Tomcat Users List'; 'aheritier@sopragroup.com'
> Subject: AW: running two tomcat servers
>
>
> Due to the warp-connector doesn't support loadbalacing at the moment and
> isn't too stable could you please post here where I can find some doc
> concerning connecting TC4.0 with Apache1.3 using the ajp ?
>
> Thanks in advance
> Oliver
>
> > AXA eSolutions GmbH
> > AXA Konzern AG Germany
> > Oliver Lauer
> > Web Architect
> > Wörthstraße 34
> > D-50668 Köln
> > Germany
> > Tel.: +49 221 148 31277
> > Fax: +49 221 148 43963
> > Mobil: +49 179 59 064 59
> > e-Mail: Oliver.Lauer@axa.de
> > _____________________________
> >
>
>
> -----Ursprüngliche Nachricht-----
> Von: Arnaud Héritier [mailto:aheritier@sopragroup.com]
> Gesendet: Donnerstag, 29. November 2001 13:40
> An: 'Tomcat Users List'
> Betreff: RE: running two tomcat servers
>
>
> you should define in the workers.properties one worker for each tomcat
> server.
> by default there are 2 workers (ajp12, ajp13).
> You must define for exemple ajp13_server1 and ajp13_server2 helping you 
with
> the ajp13 definition example.
>
> worker.list=ajp12, ajp13, ajp13_server1, ajp13_server2
>
> #
> # Defining a worker named ajp13_server1 and of type ajp13_server1
> # Note that the name and the type do not have to match.
> #
> worker.ajp13_server1.port="port server 1"
> worker.ajp13_server1.host=localhost
> worker.ajp13_server1.type=ajp13_server1
> #
> # Specifies the load balance factor when used with
> # a load balancing worker.
> # Note:
> #  ----> lbfactor must be > 0
> #  ----> Low lbfactor means less work done by the worker.
> worker.ajp13_server1.lbfactor=1
>
> #
> # Specify the size of the open connection cache.
> #worker.ajp13_server1.cachesize
>
> #
> # Defining a worker named ajp13_server2 and of type ajp13_server2
> # Note that the name and the type do not have to match.
> #
> worker.ajp13_server2.port="port server 2"
> worker.ajp13_server2.host=localhost
> worker.ajp13_server2.type=ajp13_server2
> #
> # Specifies the load balance factor when used with
> # a load balancing worker.
> # Note:
> #  ----> lbfactor must be > 0
> #  ----> Low lbfactor means less work done by the worker.
> worker.ajp13_server2.lbfactor=1
>
> #
> # Specify the size of the open connection cache.
> #worker.ajp13_server2.cachesize
>
>
> then in your mod_jk.conf file you must use the appropriate worker with 
each
> web app using  somethng like that :
> ...
> JkMount /path/servlet/* ajp13_server1
> JkMount /path/*.jsp ajp13_server1
> ...
> ...
> JkMount /path/servlet/* ajp13_server2
> JkMount /path/*.jsp ajp13_server2
> ...
>
>
> Arno
>
> > -----Message d'origine-----
> > De:	Sumith Ail [SMTP:sumithail3@yahoo.com]
> > Date:	jeudi 29 novembre 2001 13:26
> > À:	tomcat-user@jakarta.apache.org
> > Objet:	Re: running two tomcat servers
> >
> > Hello
> >
> > Thanx for the response.
> > I played some more with the conf files and was able to
> > start two tomcat instance as separate users.
> >
> > I need to integrate both of them with Apache web
> > server. How to differentiate on which instance to use
> > to serve certain context if I use mod_jk with ajp13
> > protocol.
> >
> > Thank you for all your support
> >
> > Regards
> > Sumith
> >
> >
> > > Hi,
> > >
> > > 	I am running two tomcat instances on my machine --
> > > sometimes I
> > > run three.  What sort of problems are you having?  I
> > > only integrate one
> > > of the instances with the web server, the other
> > > one(s) I access
> > > directly by going to the port number assigned to
> > > them.
> > >
> > > 	Like I said, I am doing it with no problems, just
> > > have to make
> > > sure that the port numbers are different in the
> > > different server.xml
> > > files (I keep all of them separate, so they're all
> > > running out of
> > > different directories).
> > >
> > >
> > > 							Brendan
> > > --
> > > Brendan McKenna			       Email:
> > > brendan.mckenna@taringold.ie
> > > Development Strategist		       Phone: +353-61-338177
> > > Taringold Ltd.			       Fax:   +353-61-338065
> > >
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
> > http://geocities.yahoo.com/ps/info1
> >
> > --
> > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: g>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>
> ----------------------------
> Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene 
Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung 
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. 
Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, 
Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser 
E-Mail nicht gestattet ist.Diese Nachricht  ist ausschliesslich fuer den 
bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht 
der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so 
bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.
> ----------------------------
> For legal and security reasons the information provided in this e-mail is 
not legally binding. Upon request we would be pleased to provide you with a 
legally binding confirmation in written form. Any form of unauthorised use, 
publication, reproduction, copying or disclosure of the content of this 
e-mail is not permitted. This message is exclusively for the person 
addressed or their representative. If you are not the intended recipient of 
this message and its contents, please notify the sender immediately.
> ---------------------------
>
>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

Mime
View raw message