Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 84959 invoked from network); 18 Jun 2007 17:40:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jun 2007 17:40:16 -0000 Received: (qmail 2836 invoked by uid 500); 18 Jun 2007 17:40:06 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 2808 invoked by uid 500); 18 Jun 2007 17:40:06 -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 2791 invoked by uid 99); 18 Jun 2007 17:40:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jun 2007 10:40:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [217.140.77.184] (HELO mail.schoenhaber.de) (217.140.77.184) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jun 2007 10:39:59 -0700 Received: from localhost (unknown [127.0.0.1]) by mail.schoenhaber.de (Postfix) with ESMTP id B4170705F8CE for ; Mon, 18 Jun 2007 17:39:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at schoenhaber.de Received: from mail.schoenhaber.de ([127.0.0.1]) by localhost (mail.schoenhaber.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NN1Pj-2uxJXT for ; Mon, 18 Jun 2007 19:39:35 +0200 (CEST) Received: from [192.168.42.22] (Balrog.schoenhaber.de [192.168.42.22]) by mail.schoenhaber.de (Postfix) with ESMTP id 79CBC705F5D7 for ; Mon, 18 Jun 2007 19:39:35 +0200 (CEST) Message-ID: <4676C356.4080006@schoenhaber.de> Date: Mon, 18 Jun 2007 19:39:34 +0200 From: =?UTF-8?B?TWFya3VzIFNjaMO2bmhhYmVy?= Reply-To: mailing-tomcat-user@schoenhaber.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: APR with tomcat - long boot References: <46752BEF.5050604@schoenhaber.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ilja S. wrote: > I don't know exactly what random source is used by APR, it was compiled > with only one switch " --with-apr". Is this possible to find out? What you compiled (configured) using --with-apr is propably not APR but rather the Tomcat Native Library (libtcnative-1.so) which uses the APR installation you pointed the configure script to with the above switch. What I was talking about is the configuration of the configure script for APR itself. > I use tomcat with apache 2.2x and mod_jk. > The only connectors I have in server xml is: > ------------------------ > port="8080" > redirectPort="8443" > minSpareThreads="25" > connectionTimeout="20000" > maxSpareThreads="75" > maxThreads="150"> > > > port="8009" > redirectPort="8443" > protocol="AJP/1.3"> > > ------------------------------ > The ssl is configured on one virtual host in apache. > > I'm a little bit confused about connectors anyway. > My understanding is that if page request is on port 8080, then "http" > connector (first in config above) comes in play and page is served by > tomcat directly. > If request is on port 80 and we have configured this virtual host with > JkMount directives then page is somehow passed by mod_jk to AJP > connector (I think in workers.properties file we say that it should be > AJP). Is that right? Yes. > Also I wonder do I need to enable APR at all if tomcat is running with > apache and mod_jk? Tomcat works fine without APR. Therefore the is no *necessity* to use APR if you want to use Tomcat. APR is simply supposed to improve performance (moreover with APR you can use OpenSSL certificates with Tomcat's HTTPS Connector instead of the Java keystore). Anyway: since you've not configured an HTTPS Connector in Tomcat, I don't really have an explanation for the slow startup. Regards mks --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org