Hi

This JIRA has already been opened :

https://issues.apache.org/jira/browse/CXF-2216

we've chatted with Dan a bit and it's not quite obvious how to fix it.
Importing '0.0.0' versions might be a bit risky for CXF, for example,
multiple jaxws apis may be loaded in a given OSGI container instance. Dan
reckons some updates might be applied to a maven bundle plugin for it to
avoid sticking versions to system packages or may be CXF bundle poms can
have '0' versions hard-coded for such packages. It's still not obvious it
would be the right approach.

Would it make any sense to have individual Equinox instance properties
modified instead ? Is there some sort of text configuration file which can
be edited ?

Any other ideas ?

cheers, Sergey


Gpinkham wrote:
> 
> I'm wondering if anyone else is running CXF under the Servlet Bridge in
> Equinox??    I ask because of an issue I'm struggling with..    CXF DOSGI
> comes in two distributions..  One is a single jar which has all it's
> dependencies inside.. This works fine, but I want to be able to better
> manage the dependent jars..   
> 
> So I'm now trying the distribution which has separate jars for CXF and
> it's dependencies..     
> When I try this CXF won't resolve.. It has a "Package uses conflict". 
> Specifically Import-Package: javax.xml.ws; version="2.1.0".  When I try
> Packages javax.xml.ws from the console I see the base osgi bundle and the
> apache service mix bundle (CXF dependency)...  It seems that OSGi is
> exporting java.xml.ws version 0.0.0 and Apache Service mix is exporting
> javax.xml.ws version 2.1.0... 
> 
> So my question is.. Any idea how to resolve this conflict..    I'm really
> at a loss..  I saw a blog on the subject that described changing the
> manifest..  This is only good for things you control..   Not for 3rd party
> libraries..  I don't want to be modifying the CXF bundles.. 
> 
> Thanks in advance!
> Gary
> 

-- 
View this message in context: 
http://www.nabble.com/CXF-DOSGI-%2B-Equinox-Servlet-Bridge-tp24355153p24356754.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to