Be careful that the documentation from Henry is for Tomcat 4.0. If you use TC 4.0.1 the ajp.jar and tomcat-util.jar are provided in the distribution. Furthemore the config line for AJP13 connector is already inserted in the server.xml file.
Isn't there any mod_jk developper who can reuse the TC3.3 documentation to do a TC4.0 doc about mod_jk. If I can help (in spite of my very bad english) let me know. arno > -----Message d'origine----- > De: Michael Weissenbacher [SMTP:[EMAIL PROTECTED]] > Date: jeudi 29 novembre 2001 14:26 > �: 'Tomcat Users List' > Objet: 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:[EMAIL PROTECTED] > ================================================== > > -----Original Message----- > From: Lauer, Oliver [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 29, 2001 2:18 PM > To: 'Tomcat Users List'; '[EMAIL PROTECTED]' > 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: [EMAIL PROTECTED] > > _____________________________ > > > > > -----Urspr�ngliche Nachricht----- > Von: Arnaud H�ritier [mailto:[EMAIL PROTECTED]] > 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:[EMAIL PROTECTED]] > > Date: jeudi 29 novembre 2001 13:26 > > �: [EMAIL PROTECTED] > > 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: > > > [EMAIL PROTECTED] > > > 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:[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]> > > > ---------------------------- > 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:[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]>
