Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 89406 invoked from network); 3 Feb 2010 07:05:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2010 07:05:29 -0000 Received: (qmail 88213 invoked by uid 500); 3 Feb 2010 07:05:29 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 87974 invoked by uid 500); 3 Feb 2010 07:05:26 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 87963 invoked by uid 99); 3 Feb 2010 07:05:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 07:05:25 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of knst.kolinko@gmail.com designates 209.85.220.228 as permitted sender) Received: from [209.85.220.228] (HELO mail-fx0-f228.google.com) (209.85.220.228) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 07:05:19 +0000 Received: by fxm28 with SMTP id 28so918137fxm.0 for ; Tue, 02 Feb 2010 23:04:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=E+oyJw70JaUQagGD63wFbRyjxCpEt+/14yJ1yFosuHc=; b=dlmkjEEsffwny/bYi/2Wyq6iNzq0gEttbca9ws0lcZEFzXjlEDwOh7gti7EVjjdrNN 1kdyqvX1jSB6E+4Th0vsJcMmgSQr9rJxTd+YkWtC2iufoZSomI3Js0mM9V4ozKnx6fNl P7EiEM0h6scMx8Iyn0e7oqiiWVw6omYZUrouM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=upk9Js3eqD3Smh8drnGuiUZixMITQ9gfHRVwjuKDNSmI1iTnBPav5jTtIlz8DTYgVi 2LkiRolocWsXXqMbUjVhq73iWReDsq2gCBRbHxRECprvZxopkwtEsvzF5iwhIHil2ZDp Ddjl04Mxi35D+TK2l+BSHDiv2EH3+6LXrEWTA= MIME-Version: 1.0 Received: by 10.103.84.6 with SMTP id m6mr4488042mul.41.1265180697747; Tue, 02 Feb 2010 23:04:57 -0800 (PST) In-Reply-To: <427155181002020953s273f383an19974809971ab228@mail.gmail.com> References: <20100202171017.2715723888E8@eris.apache.org> <427155181002020931w74ce64a2i12839b4ac7a6cecf@mail.gmail.com> <4B686210.5070800@apache.org> <427155181002020953s273f383an19974809971ab228@mail.gmail.com> Date: Wed, 3 Feb 2010 10:04:57 +0300 Message-ID: <427155181002022304xc3a9c6dgb1b749441693da03@mail.gmail.com> Subject: Re: svn commit: r905710 - /tomcat/tc5.5.x/trunk/STATUS.txt From: Konstantin Kolinko To: Tomcat Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 2010/2/2 Konstantin Kolinko : > 2010/2/2 Mark Thomas : >> On 02/02/2010 17:31, Konstantin Kolinko wrote: >>> 2010/2/2 =A0: >>>> Author: markt >>>> Date: Tue Feb =A02 17:10:05 2010 >>>> New Revision: 905710 >>>> >>>> URL: http://svn.apache.org/viewvc?rev=3D905710&view=3Drev >>>> Log: >>>> Proposal >>>> >>>> Modified: >>>> =A0 =A0tomcat/tc5.5.x/trunk/STATUS.txt >>>> >>> >>>> +* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=3D48581 >>>> + =A0Avoid security exception on first access >>>> + =A0http://people.apache.org/~markt/patches/2010-02-02-bug48581.patch >>>> + =A0+1: markt >>>> + =A0-1: >>> >>> A very elaborate patch. =A0So, it was "org.apache.coyote.Constants". >>> I thought that we would just preload the class. >> >> Yeah, it did get a bit out of hand. Pre-loading should work too. >> I tried to preload "org.apache.coyote.Constants", and it doesn't fix the is= sue. While class is preloaded, its class initialization ( call) still occurs during InternalOutputBuffer.sendStatus(), thus I am getting java.security.AccessControlException: access denied (java.util.PropertyPermission org.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER read) in localhost.2010-02-03.log, followed by java.lang.NoClassDefFoundError: Could not initialize class org.apache.coyote.Constants in catalina.2010-02-03.log Your patch works. Let's go with it. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org