Return-Path: Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: (qmail 12420 invoked from network); 3 Jul 2010 17:38:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Jul 2010 17:38:27 -0000 Received: (qmail 1914 invoked by uid 500); 3 Jul 2010 17:38:27 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 1835 invoked by uid 500); 3 Jul 2010 17:38:26 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 1827 invoked by uid 99); 3 Jul 2010 17:38:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jul 2010 17:38:26 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [173.212.192.37] (HELO server.dankulp.com) (173.212.192.37) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jul 2010 17:38:18 +0000 Received: by server.dankulp.com (Postfix, from userid 5000) id 7DE9B4CE8A6A; Sat, 3 Jul 2010 13:37:57 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on server.dankulp.com X-Spam-Level: X-Msg-File: /tmp/mailfilter-dev@cxf.apache.org.iVitSytMOy Received: from dilbert.dankulp.com (cpe-static-staybridgesuites-rtr.cmts.trx.ptd.net [24.115.16.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.dankulp.com (Postfix) with ESMTPSA id 953734CE8A65; Sat, 3 Jul 2010 13:37:55 -0400 (EDT) From: Daniel Kulp To: dev@cxf.apache.org Subject: Re: CXF 2.2.x OSGi Bundle / import on javax.servlet.* Date: Sat, 3 Jul 2010 13:37:14 -0400 User-Agent: KMail/1.13.3 (Linux/2.6.34; KDE/4.4.4; x86_64; ; ) Cc: Florent BENOIT References: <4C2DB97D.3010404@ow2.org> In-Reply-To: <4C2DB97D.3010404@ow2.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201007031337.15089.dkulp@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=unavailable version=3.3.1 On Friday 02 July 2010 6:03:41 am Florent BENOIT wrote: > Hi, > > I'm facing a problem with the CXF 2.2.9 Bundle and Servlet API in OSGi mode > If javax.servlet package is exported in 3.0.0 version, the CXF bundle > won't start > > This is because, in the MANIFEST generated by the following pom.xml > [https://svn.apache.org/repos/asf/cxf/branches/2.2.x-fixes/distribution/bun > dle/all/pom.xml ], there is the following code: > /javax.servlet.*;version="[0.0,3)";resolution:=optional,/ > > Which means that javax.servlet package exported in 3.0 version won't be > accepted > Is there a reason to use 3 ? or maybe you could switch to > /javax.servlet.*;version="[0.0,4)";resolution:=optional,/ > in order to accept javax.servlet exported in 3.0 version or remove the > versioning number ? > > I may open an issue on the jira tracker about this. > Yes. Please do. And a patch would be nice. :-) Dan > Note that this is the same case for the trunk version : > https://svn.apache.org/repos/asf/cxf/trunk/distribution/bundle/all/pom.xml > > Regards, > > Florent -- Daniel Kulp dkulp@apache.org http://dankulp.com/blog