Hi,

If you deploy the ServiceMix XML API bundles you might want to remove the xml 
package exports from the default Felix framework exports (see in the felix 
folder for some properties files and the org.osgi.framework.system.packages 
property.

Regards
Felix

Am 14.03.2012 um 12:19 schrieb Brunner Basil:

> Hi,
> 
> when I start Felix, I get this error message:
> 
> ====
> ERROR: Bundle matterhorn-kernel [23] Error starting 
> file:///opt/captureagent/ext/matterhorn-kernel-1.3-rc6.jar 
> (org.osgi.framework.BundleException: Uses constraint violation. Unable to 
> resolve bundle revision matterhorn-kernel [23.0] because it is exposed to 
> package 'javax.xml.stream' from bundle revisions 
> org.apache.servicemix.specs.stax-api-1.0 [41.0] and 
> org.apache.felix.framework [0] via two dependency chains.
> 
> Chain 1:
>  matterhorn-kernel [23.0]
>    import: (&(osgi.wiring.package=javax.xml.stream)(version>=1.0.0))
>     |
>    export: osgi.wiring.package=javax.xml.stream
>  org.apache.servicemix.specs.stax-api-1.0 [41.0]
> 
> Chain 2:
>  matterhorn-kernel [23.0]
>    import: 
> (&(osgi.wiring.package=org.springframework.util.xml)(version>=3.0.0))
>     |
>    export: osgi.wiring.package=org.springframework.util.xml; 
> uses:=javax.xml.stream
>  org.springframework.core [12.0]
>    import: (&(osgi.wiring.package=javax.xml.stream)(version>=0.0.0))
>     |
>    export: osgi.wiring.package=javax.xml.stream
>  org.apache.felix.framework [0])
> ====
> 
> I don't completely understand the error message. Is there a (easy) way to 
> solve this?
> 
> -Basil
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to