Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 37E27907C for ; Mon, 26 Dec 2011 19:59:50 +0000 (UTC) Received: (qmail 91531 invoked by uid 500); 26 Dec 2011 19:59:50 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 91498 invoked by uid 500); 26 Dec 2011 19:59:50 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 91486 invoked by uid 99); 26 Dec 2011 19:59:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Dec 2011 19:59:50 +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 (athena.apache.org: local policy) Received: from [217.70.183.196] (HELO relay4-d.mail.gandi.net) (217.70.183.196) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Dec 2011 19:59:44 +0000 X-Originating-IP: 217.70.178.134 Received: from mfilter4-d.gandi.net (mfilter4-d.gandi.net [217.70.178.134]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 7F11517204B for ; Mon, 26 Dec 2011 20:59:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter4-d.gandi.net Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter4-d.gandi.net (mfilter4-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 5hD2NRgEW9yU for ; Mon, 26 Dec 2011 20:59:21 +0100 (CET) X-Originating-IP: 78.244.148.153 Received: from [192.168.134.5] (ser34-1-78-244-148-153.fbx.proxad.net [78.244.148.153]) (Authenticated sender: jb@nanthrax.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id D1039172086 for ; Mon, 26 Dec 2011 20:59:20 +0100 (CET) Message-ID: <4EF8D217.9070902@nanthrax.net> Date: Mon, 26 Dec 2011 20:59:19 +0100 From: =?ISO-8859-1?Q?Jean-Baptiste_Onofr=E9?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: dev@camel.apache.org Subject: Re: svn commit: r1201768 - /camel/trunk/platforms/karaf/features/src/main/resources/features.xml References: <20111114160124.B826123889DE@eris.apache.org> <2025967.W6WuT3mrnt@dilbert.dankulp.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Hi Guillaume, first of all, merry Christmas to you and your family ;) Let me try to explain the current situation. In Camel, we have several features which depend on ServiceMix JAX-WS=20 Spec (for instance, camel-soap). The ServiceMix Specs explicitly define an import package like: javax.xml.bind;version=3D"2.2.0" The jre package exports javax.xml.bind;version=3D0.0.0 by default. So it means that these features are not installable out of the box. The=20 users have to: - solution 1: install manually the xml-spec-api feature or the JAXB bundl= es - solution 2: tweak the jre.properties to export the packages with the=20 2.2.0 version To summarize, it means that these features are not installable out of=20 the box, which is a change comparing to Camel 2.8.x. Regards JB On 12/26/2011 08:09 PM, Guillaume Nodet wrote: > Do you have pointers to the problems ? All those packages are provided = by > the JRE so they should not have to be installed imho. > Anyway, I'm in vacation until january so feel free to revert the xml > definition, i doubt i won't be able to do that this week. > > On Monday, December 26, 2011, Daniel Kulp wrote: >> >> The discussions around the entire xml-specs/jaxb/etc... stuff in the > features >> file has shown that this commit has caused a lot more problems than it= 's >> actually solving. Thus, I'm officially putting a -1 on this commit a= s > it's >> causing breakages in other components, causes cast exceptions and oth= er >> issues at runtime, etc.... >> >> In the future when Karaf can provide better solutions for this issue, = we > can >> can resolve this. But at this point, we need to stay with the same > solutions >> that users are expecting and that have worked fine on the 2.8.x and > earlier >> versions of Camel. >> >> In anycase, this needs to be reverted and CAMEL-4671 re-opened until a > better >> solution can be found. >> >> Dan >> >> >> >> On Monday, November 14, 2011 4:01:24 PM gnodet@apache.org wrote: >>> Author: gnodet >>> Date: Mon Nov 14 16:01:24 2011 >>> New Revision: 1201768 >>> >>> URL: http://svn.apache.org/viewvc?rev=3D1201768&view=3Drev >>> Log: >>> [CAMEL-4671] The camel-core feature should not reference jaxb2 api / = impl >>> >>> Modified: >>> camel/trunk/platforms/karaf/features/src/main/resources/features= .xml >>> >>> Modified: >>> camel/trunk/platforms/karaf/features/src/main/resources/features.xml = URL: >>> > http://svn.apache.org/viewvc/camel/trunk/platforms/karaf/features/src/m= ain/ >>> resources/features.xml?rev=3D1201768&r1=3D1201767&r2=3D1201768&view=3D= diff >>> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >>> =3D=3D=3D --- > camel/trunk/platforms/karaf/features/src/main/resources/features.xml >>> (original) +++ >>> camel/trunk/platforms/karaf/features/src/main/resources/features.xml = Mon >>> Nov 14 16:01:24 2011 @@ -25,13 +25,9 @@ >>> >>> >> start-level=3D'50'> spring >>> ->> > dependency=3D"true">mvn:org.apache.servicemix.specs/org.apache.servicem= ix.spe >>> cs.activation-api-1.1/${servicemix-specs-version} ->> > dependency=3D"true">mvn:org.apache.servicemix.specs/org.apache.servicem= ix.spe >>> cs.jaxb-api-2.2/${servicemix-specs-version} ->> > dependency=3D"true">mvn:org.apache.servicemix.specs/org.apache.servicem= ix.spe >>> cs.stax-api-1.0/${servicemix-specs-version} - >>> > mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles= .jax >>> b-impl/${jaxb-bundle-version} >>> mvn:org.apache.camel/camel-core/${pom.version} >>> > mvn:org.apache.camel.karaf/camel-karaf-commands/${pom.version}<= /bun >>> dle> - >>> +=C2=A7 >>> >> start-level=3D'50'> >> > dependency=3D"true">mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec= /${ger >>> onimo-jta-spec-version} version=3D"[3,4)">spring >> -- >> Daniel Kulp >> dkulp@apache.org - http://dankulp.com/blog >> Talend Community Coder - http://coders.talend.com >> > --=20 Jean-Baptiste Onofr=E9 jbonofre@apache.org http://blog.nanthrax.net Talend - http://www.talend.com