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 BF18DDC18 for ; Mon, 17 Sep 2012 16:27:02 +0000 (UTC) Received: (qmail 94282 invoked by uid 500); 17 Sep 2012 16:26:59 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 94090 invoked by uid 500); 17 Sep 2012 16:26:59 -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 94081 invoked by uid 99); 17 Sep 2012 16:26:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2012 16:26:59 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [76.96.59.228] (HELO qmta15.westchester.pa.mail.comcast.net) (76.96.59.228) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2012 16:26:51 +0000 Received: from omta01.westchester.pa.mail.comcast.net ([76.96.62.11]) by qmta15.westchester.pa.mail.comcast.net with comcast id 0Ao41k0020EZKEL5FGSttu; Mon, 17 Sep 2012 16:26:53 +0000 Received: from Christophers-MacBook-Pro.local ([69.143.109.145]) by omta01.westchester.pa.mail.comcast.net with comcast id 0GSo1k00V38FjT13MGSq4N; Mon, 17 Sep 2012 16:26:51 +0000 Message-ID: <50574F33.2080106@christopherschultz.net> Date: Mon, 17 Sep 2012 12:26:27 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Can't seem to get metadata-complete turned on References: In-Reply-To: X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Benson, On 9/14/12 12:12 PM, Benson Margulies wrote: > Apologies for the accidental use of HTML. > > The problem below is triggered by the facts that: > > a) spring-web contains a ServletContainerInitializer b) even with > metadata-complete, tomcat does annotation scanning once it sees one > of those c) In my embedded environment, there's a lot of real > estate to potentially scan in the classpath. > > Is (b) really correct? > > Unfortunately, I need spring-web in order to get the log4j > support, even though I don't want any of that other stuff in > there. Using Spring to get log4j support seems ... heavy-handed. Why not just use log4j directly? Configuring the logging system is dead simple: there is no dependency-injection or anything else like that which Spring can provide for you. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBXTzMACgkQ9CaO5/Lv0PCgRgCgq9tnaVcurxs9c7BCjxrPDUBm Zw4An3MifnvCml+nkSJhFqic3un3ZB11 =ALVp -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org