Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 65555 invoked from network); 21 Apr 2009 22:03:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Apr 2009 22:03:50 -0000 Received: (qmail 85788 invoked by uid 500); 21 Apr 2009 22:03:49 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 85676 invoked by uid 500); 21 Apr 2009 22:03:49 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 85665 invoked by uid 99); 21 Apr 2009 22:03:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2009 22:03:49 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [76.13.13.76] (HELO n6b.bullet.mail.ac4.yahoo.com) (76.13.13.76) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Apr 2009 22:03:38 +0000 Received: from [76.13.13.26] by n6.bullet.mail.ac4.yahoo.com with NNFMP; 21 Apr 2009 22:03:17 -0000 Received: from [76.13.10.180] by t3.bullet.mail.ac4.yahoo.com with NNFMP; 21 Apr 2009 22:03:17 -0000 Received: from [127.0.0.1] by omp121.mail.ac4.yahoo.com with NNFMP; 21 Apr 2009 22:03:17 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 340879.4368.bm@omp121.mail.ac4.yahoo.com Received: (qmail 60373 invoked by uid 60001); 21 Apr 2009 22:03:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1240351397; bh=seWEl7c8wod4aK21oapLNqEmG737+1SRtUG1DdSLhmg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=45qlshQRZIRltXoEgDgoBpLVymxMAVCgp1lUUTseQny85Qtf5yi2VJ/lgKCPII8nhyPG1pbKRZNdD+gYRPhgozEnRkYUJguh4INOVIPD3B96gDdleMTPqJ0SjATTwNGqLmUrDomaTrbdZ3cLkx8SrOf4XGei2tqGUhrHTOimyBc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=jdUwIprIm9GiZ6eFKcV1uANwtuxout3PUF9n8HjUPZtPt0wYtce1IgK4xC/1MgvpX1eOb3zxOyMOcYStLOsiyfzpQOW9vHISSiSEVI/kdza5jfMLJIvPPh/e1qI6hsrjxBlx15UBLsdhQieAyOKRWJCVgTgk4kFpgtQaEHG32xY=; Message-ID: <256060.59697.qm@web63302.mail.re1.yahoo.com> X-YMail-OSG: kjDwHlYVM1nG32vJbjWCUXkN.Au7PpM_R8riOeA8VuOIjCCUorFlwEB00zt.Dt.ugwddtUDYAqiEzmGugYgLfxxAeEN6kzwDXom0srRW5Zg89H4ah9EO_Su1im94krMYv5W4wl6ViT8KNEBjnb1_Tfl3gIYZc_PMXS7J2p8gMTWv4Q0Cjo4RJOfNoITL3bckMGTslDRWc6wu7m7pYZtL6lw0A2Au_YSv_khW.mppo8M.j3lxWsT8GSoL6S.sV9GyZXdTeEX3e9LO8FjA1LU9m.rOoBPYKOnSQI7FVaqVME4Y8zYNbN3JQzEg_wk- Received: from [216.249.72.185] by web63302.mail.re1.yahoo.com via HTTP; Tue, 21 Apr 2009 15:03:17 PDT X-Mailer: YahooMailRC/1277.35 YahooMailWebService/0.7.289.1 References: <49ECDF6E.70502@doit.wisc.edu> <4A30EC8B-ABA6-4DC0-A766-6EB31A33B24A@dslextreme.com> <342A575A-ECF8-4892-A8B8-312B92DBCD8B@dslextreme.com> <25aac9fc0904210801g5cfcb13ao65df7df0a334fb17@mail.gmail.com> <49EE1794.9080201@apache.org> <59305DEC-5809-4BEA-85CE-942CFE6FE65D@dslextreme.com> Date: Tue, 21 Apr 2009 15:03:17 -0700 (PDT) From: John Bollinger Subject: Re: commons-logging unsuited for cross-context webapplication invocation usage - migrating to slf4j? To: Commons Developers List In-Reply-To: <59305DEC-5809-4BEA-85CE-942CFE6FE65D@dslextreme.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-288016313-1240351397=:59697" X-Virus-Checked: Checked by ClamAV on apache.org --0-288016313-1240351397=:59697 Content-Type: text/plain; charset=us-ascii I confess that I don't understand the portal environment very well, but if I'm following this correctly then PLUTO-553 is a symptom of a more fundamental issue: objects in a Pluto portlet cannot rely on the context classloader to be the correct one from which to obtain resources. This arises because -- as I understand it -- Pluto provides portlet isolation analogous to the isolation of distinct webapps in a servlet container, but unlike a servlet container, it allows one portlet to invoke methods on the live objects of another, not changing the context classloader when such cross-context method invocations occur. If I have analyzed that correctly then I would account it a Pluto bug, not a JCL bug. John ________________________________ From: Ralph Goers To: Commons Developers List Sent: Tuesday, April 21, 2009 3:25:32 PM Subject: Re: commons-logging unsuited for cross-context webapplication invocation usage - migrating to slf4j? On Apr 21, 2009, at 11:59 AM, Dennis Lundberg wrote: >> > > I'm not that experienced in writing portlets or how the portlet > container works. Can you please try to explain in more detail what the > problem is. > > Commons Logging works great in a servlet container like Tomcat. Every > webapp can have their own version of commons-logging and their own > configuration. How does the portlet container use case differ from this? > > Do you configure Commons Logging explicitly, by using a > commons-logging.properties file or are you relying on auto discovery? In > my experience you you should *always* configure the logging > implementation explicitly if you want deterministic results. > As I said in an earlier post, I follow the various portlet mailing lists but really have very little to do with the issue they are experiencing. It is documented at http://issues.apache.org/jira/browse/PLUTO-553. In a nutshell though, the Portal is a War. Individual portlets are packaged as separate war files and are run under the direction of the main portal war. They seem to want all the portlets to use the logging configuration of the portal. Personally, I'm not sure what they are saying they want makes sense, but I guess the point is that even if it doesn't they should still be able to do it. Ralph --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org --0-288016313-1240351397=:59697--