Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 1428 invoked from network); 8 May 2006 13:50:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 May 2006 13:50:33 -0000 Received: (qmail 49347 invoked by uid 500); 8 May 2006 13:50:19 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 49324 invoked by uid 500); 8 May 2006 13:50:19 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 49313 invoked by uid 99); 8 May 2006 13:50:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 06:50:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [70.84.37.196] (HELO Rivendell.nextre.it) (70.84.37.196) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 06:50:18 -0700 Received: (qmail 5895 invoked from network); 8 May 2006 15:23:54 +0200 Received: from 81-208-60-198.ip.fastwebnet.it (HELO ?192.168.2.114?) (81.208.60.198) by c4.25.5446.static.theplanet.com with SMTP; 8 May 2006 15:23:54 +0200 Message-ID: <445F4C3A.4030804@nextre.it> Date: Mon, 08 May 2006 15:48:42 +0200 From: Fabio Gurgone User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat config with APACHE and mutliple VHOST References: <02c601c670a8$d977edd0$9b0c7153@nompgdcjlpcc3z> <015401c670a9$b38c7b30$7a0a0a0a@ptslaptop> <02d001c670ac$b18f4440$9b0c7153@nompgdcjlpcc3z> <03ef01c6711e$cf9f29b0$9b0c7153@nompgdcjlpcc3z> <445CF455.7000806@labcc.dcc.fc.up.pt> <445EF7A0.7060300@nextre.it> <007b01c67299$7e05a620$d243cd53@nompgdcjlpcc3z> In-Reply-To: <007b01c67299$7e05a620$d243cd53@nompgdcjlpcc3z> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [cut] > What is a trouble for us is this >> Other file that needs editing is workers.properties First thing. Add >> the connection name to the worker.list >> worker.list=ajp12, ajp13, connect_id >> Next add that connection to the worker >> worker.connect_id.port=8112 >> worker.connect_id.host=virtual.domainname.com >> worker.connect_id.type=ajp13 > > Ok we add a connexion name, but it means to create a > workers.properties for every vhosts ? Basicly it means we have to > restart apache/tomcat every time we add a new vhost ? also where the > workers.properties should be ? in the vhost documentroot ? in the > tomcat dir ? in the WEB-INF dir of every vhosts ? I think it is this > last case no ? It's enought to define only one worker because that is the link between apache and tomcat (in fact in server.xml you declare only one ajp connector). Many connectors (usually) mean many tomcat instances. Fabio --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org