Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E275891A0 for ; Thu, 5 Apr 2012 22:30:01 +0000 (UTC) Received: (qmail 97845 invoked by uid 500); 5 Apr 2012 22:29:58 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 97661 invoked by uid 500); 5 Apr 2012 22:29:58 -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 97652 invoked by uid 99); 5 Apr 2012 22:29:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 22:29:58 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.138.91.161] (HELO nm1-vm4.bullet.mail.ne1.yahoo.com) (98.138.91.161) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 05 Apr 2012 22:29:49 +0000 Received: from [98.138.90.57] by nm1.bullet.mail.ne1.yahoo.com with NNFMP; 05 Apr 2012 22:29:27 -0000 Received: from [98.138.226.162] by tm10.bullet.mail.ne1.yahoo.com with NNFMP; 05 Apr 2012 22:29:27 -0000 Received: from [127.0.0.1] by omp1063.mail.ne1.yahoo.com with NNFMP; 05 Apr 2012 22:29:27 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 743876.9353.bm@omp1063.mail.ne1.yahoo.com Received: (qmail 67138 invoked by uid 60001); 5 Apr 2012 22:29:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1333664967; bh=mVlwfF0TfXhly7dfAnHlbs5rRt2LBeOP69BzUf5R/5I=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=XQByOIy2CadNoKGtDbl62kHoVWklNhPqxaqARolbHQdVjCTBccRxRyyIJuYDd3m6c8MGD0IS7DfJiMnKmKnpdc/kxJBhkoKEOEp6wJaxLopjNWZrd8xpCuFyFI4gnOBaen/IadKOdz3vx+gqncARyxFGsg+lbM6s6Iq+kUwjwy4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=PL4YaJDoBbizCTHIGFqSr88OTXvLtMFgMAWwBvKcqiRrM25/kohcgtGB7T/TAg1sCcXR2J+ELxbnNdYeXquAQv27Q6OigeuYEXyMFjD1XYoepeRZBMUFxjwfQG1Jnf/FuUruTLhEaxpBznKGgxRCsBM5wAbVtIIZ1PUU0VVxpFE=; X-YMail-OSG: rWRBK8MVM1m_ty.5o._ZKyGbEXCvc093fNQzi.N58.PsS6M tnd3L68HB22jkNZPPkXBTr_5EgaoUH2NuPg._boLHvNPYYJrRs10d1_0ZcrW G2vEf1T4o8lLG6vLt3AI0fbdWuefr3lOdF3IKcgHpEoR_gnyqw2h4SOiBVw9 Ahh5.IUDjC3XDhnuhqJ7xeEW1iT165Dk8WgPg0O3KoNL10Pgh0b757NF4k6d GvT8Jcuy.K_7c9kAUvNrfNaZDL9kCm_A6XIh8r_CUvHsoCXkoDUrHYwYTqfH Gx9nLEA1QemHMYIDEBV9o72TUbVbRQDGWpPTL6HC8lnd4c7luKJeRzOc5fWI 2IJfRDxlnCpzSZeRn.hcAzd0Zjpf_N7KUj9H93LRkDFhgSHEFQF.oxNI.BRo X.FbfwZ4ohcu29WDmyK3.DSwQ2jeDdMjSjaRVlSDXIRwqY25uWPrwp0dw8rv 98.yF_yx6sN330ZBmfuisGYxuuIE- Received: from [71.129.46.96] by web125506.mail.ne1.yahoo.com via HTTP; Thu, 05 Apr 2012 15:29:27 PDT X-Mailer: YahooMailWebService/0.8.117.340979 References: <1333654834.93600.YahooMailNeo@web125503.mail.ne1.yahoo.com> Message-ID: <1333664967.61959.YahooMailNeo@web125506.mail.ne1.yahoo.com> Date: Thu, 5 Apr 2012 15:29:27 -0700 (PDT) From: Mark Eggers Reply-To: Mark Eggers Subject: Re: Connector warning message with native libraries To: Tomcat Users List In-Reply-To: <1333654834.93600.YahooMailNeo@web125503.mail.ne1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Replying to my own question.=0A=0ASee =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D COMMENT =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=0A----- Ori= ginal Message -----=0A=0A> From: Mark Eggers =0A> To= : Tomcat Users List =0A> Cc: =0A> Sent: Thursday, = April 5, 2012 12:40 PM=0A> Subject: Connector warning message with native l= ibraries=0A> =0A> Folks:=0A> =0A> I'm seeing a warning in my logs when I us= e request.secret for the AJP=0A> connector when I load the APR native libra= ries. The warning is:=0A> =0A> WARNING: [SetAllPropertiesRule]{Server/Servi= ce/Connector}=0A> =A0 Setting property 'request.secret' to 'somesillypasswo= rd' did =0A> not find a=0A> =A0 matching property.=0A> =0A> I'm running a t= hree node Tomcat cluster for testing with the following=0A> configuraiton:= =0A> =0A> OS: =A0 =A0 Fedora 15 32 bit=0A> JVM: =A0 =A0java version "1.6.0_= 31"=0A> =A0 =A0 =A0 =A0 Java(TM) SE Runtime Environment (build 1.6.0_31-b04= )=0A> =A0 =A0 =A0 =A0 Java HotSpot(TM) Client VM (build 20.6-b01, mixed mod= e, sharing)=0A> Tomcat: 6.0.35=0A> Native: 1.1.22=0A> APR: =A0 =A0apr-util-= devel-1.3.12-1.fc15.i686 (Fedora RPM)=0A> SSL: =A0 =A0openssl-devel-1.0.0g-= 1.fc15.i686 (Fedora RPM)=0A> =0A=0A=0A> Here's the snippet from my server.x= ml.=0A> =0A> =0A> redirectPort=3D"8453"=0A> =A0 = =A0 =A0 =A0request.secret=3D"somesillypassword"=0A> =A0 =A0 =A0 =A0connecti= onTimeout=3D"600000"=0A> =A0 =A0 =A0 =A0URIEncoding=3D"UTF-8"/>=0A>=A0=0A= =0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D COMMENT =3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=0A=0A=0AIt helps to read the fine javadoc for org.= apache.coyote.ajp.AjpAprProtocol.=0A=0AIn there you will find a protected s= tring called requiredSecret (much like Tomcat 7.x).=0A=0AIndeed, changing r= equest.secret to requiredSecret when loading the native libraries eliminate= s the warning.=0A=0AHowever, a cursory glance at the online documentation d= idn't reveal any mention of this requirement for the AjpAprProtocol. It's n= ot a problem for Tomcat 7.x obviously since this is the same attribute for = both AprProtocol and AjpAprProtocol.=0A=0AHowever, for Tomcat 6 this presen= ts an issue.=0A=0ASo a note when loading the native libraries, using AjpApr= Protocol, and Tomcat 6 with the "secret" attribute:=0A=0AChange request.sec= ret=3D"somesillypassword" on the AJP/1.3 connector definition to requiredSe= cret=3D"somesillypassword".=0A=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D CO= MMENT =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=0A=0ASorry for th= e bandwidth.=0A=0A. . . . just my two cents.=0A/mde/=0A --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org