Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 23764 invoked from network); 27 Oct 2010 13:18:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Oct 2010 13:18:50 -0000 Received: (qmail 15059 invoked by uid 500); 27 Oct 2010 13:18:50 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 14856 invoked by uid 500); 27 Oct 2010 13:18:46 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 14362 invoked by uid 99); 27 Oct 2010 13:18:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Oct 2010 13:18:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Oct 2010 13:18:41 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9RDIKKx011296 for ; Wed, 27 Oct 2010 13:18:21 GMT Message-ID: <31445760.99001288185500876.JavaMail.jira@thor> Date: Wed, 27 Oct 2010 09:18:20 -0400 (EDT) From: "Oleg Kalnichevski (JIRA)" To: dev@hc.apache.org Subject: [jira] Commented: (HTTPCLIENT-1019) httpclient-osgi Requires commons-logging 1.1.1 exported in OSGi, which they have no plan to move forward with In-Reply-To: <5703829.89361288130486055.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925361#action_12925361 ] Oleg Kalnichevski commented on HTTPCLIENT-1019: ----------------------------------------------- Zach While I agree the discovery mechanism of Commons Logging is utterly broken for containers and managed environments with complex class loader hierarchies, I personally do not think there is anything wrong with the Commons Logging API. We had a fair share of Logging Wars on the dev and user lists in the past and would not like them to repeat. There is _nothing_ that prevents you from using a compatibility layer such as jcl-over-slf4j provided by slf4j and whatever concrete implementation you find to be OSGi friendly. I will happily tweak the bundle manifest but It is unlikely we will be able to replace Commons Logging with a different logging toolkit in the stable (4.x) branch. We can revisit the issue for HttpClient 5.0 (if that is of any consolation to you). Oleg > httpclient-osgi Requires commons-logging 1.1.1 exported in OSGi, which they have no plan to move forward with > ------------------------------------------------------------------------------------------------------------- > > Key: HTTPCLIENT-1019 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1019 > Project: HttpComponents HttpClient > Issue Type: Bug > Affects Versions: 4.0.1, 4.0.2, 4.0.3 > Reporter: Zach Calvert > Priority: Critical > > If you are trying to run the httpclient-osgi version 4.0.1, there is little opportunity to make it work without hand rolling your own apache commons logging. Using the Maven descriptor: > > org.apache.httpcomponents > httpclient-osgi > 4.0.1 > > You will find that the downloaded bundle manifest has: > Import-Package: javax.crypto,javax.crypto.spec,javax.net.ssl,javax.sec > urity.auth.x500,org.apache.commons.logging;version="1.1.1",org.apache > ... > Emphasis on org.apache.commons.logging;version="1.1.1". Basing my understanding of the bug at > https://issues.apache.org/jira/browse/LOGGING-124 > which I have also commented on, there is no such thing as an exported osgi package version 1.1.1 of commons logging due to problems with the OSGi classloader. > Support needs to be made to make commons logging optional in the osgi world and if the logging mechanism for commons logging isn't there, then move forward to something that doesn't make waves for the OSGi runtime. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org