javax.xml.bind classes (JDK 1.6) - Apache Felix Karaf 1.0.0 - Apache CXF 2.2

View: New views
2 Messages — Rating Filter:   Alert me  

javax.xml.bind classes (JDK 1.6) - Apache Felix Karaf 1.0.0 - Apache CXF 2.2

by cmoulliard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...

Charles Moulliard
SOA Architect

My Blog : http://cmoulliard.blogspot.com/ 

Re: javax.xml.bind classes (JDK 1.6) - Apache Felix Karaf 1.0.0 - Apache CXF 2.2

by gnodet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...