The reason is that the system bundle exports (or does not export) the
pacakge, depending if you're on jdk 1.5 or 1.6.
This is configured in the etc/config.properties file, and I would
think the best way would be to simply remove this package from the
list and do not let the system bundle export this package.
On Wed, Nov 11, 2009 at 09:21, Charles Moulliard <
cmoulliard@...> wrote:
> I would like to know if we have to export (or not) the javax.xml.bind*
> packages defined in the file config.properties file of Apache Felix
> 2.2 when I would like to use Apache CXF. By default, they are exported
> but I have an unresolved constraint issue when deploying bundles
> required fro CXF 2.2 and especially for the following bundle :
>
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.1.6_1
>
> This bundle requires the packages
> javax.xml.bind;version="2.1",javax.xml.bind.annotation;ver
> sion="2.1",javax.xml.bind.annotation.adapters;version="2.1",javax.xml
> .bind.attachment;version="2.1",javax.xml.bind.helpers;version="2.1"
>
> I see using the command exports that these packages are exported but
> though the version 0.0
>
> Remark : in ServiceMix 4.xxx, they are not exported. In this case,
> which jar file export those required packages ?
>
> Regards,
>
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog :
http://cmoulliard.blogspot.com> twitter :
http://twitter.com/cmoulliard>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
users-unsubscribe@...
> For additional commands, e-mail:
users-help@...
>
>
--
Cheers,
Guillaume Nodet
------------------------
Blog:
http://gnodet.blogspot.com/------------------------
Open Source SOA
http://fusesource.com---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...