[ 
https://issues.apache.org/jira/browse/SM-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14083772#comment-14083772
 ] 

Krzysztof Sobkowiak edited comment on SM-2346 at 8/2/14 11:35 PM:
------------------------------------------------------------------

As *workaround* you can add {{sun.misc}} at the end of 
{{org.osgi.framework.system.packages.extra}} property in {{custom.properties}}

{code}
org.osgi.framework.system.packages.extra = \
......
  org.apache.xerces.impl.validation; version="2.11.0", \
  org.apache.xml.serialize; version="2.11.0", \
  sun.misc; version="0.0.0" 
{code}

It worked for me


was (Author: sobkowiak):
As workaround you can add {{sun.misc}} at the end of 
{{org.osgi.framework.system.packages.extra}} property in {{custom.properties}}

{code}
org.osgi.framework.system.packages.extra = \
......
  org.apache.xerces.impl.validation; version="2.11.0", \
  org.apache.xml.serialize; version="2.11.0", \
  sun.misc; version="0.0.0" 
{code}

It worked for me

> Can not resolve feature: camel-avro
> -----------------------------------
>
>                 Key: SM-2346
>                 URL: https://issues.apache.org/jira/browse/SM-2346
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-camel
>    Affects Versions: 5.1.0
>            Reporter: Brad Nussbaum
>            Assignee: Krzysztof Sobkowiak
>             Fix For: 5.1.x, 5.2.x, 6.0.x
>
>
> {code}
> karaf@root> features:list |grep avro
> [uninstalled] [2.13.1         ] camel-avro                              
> camel-2.13.1              
> karaf@root> features:install camel-avro
> Error executing command: Can not resolve feature:
> Unsatisfied requirement(s):
> ---------------------------
>    
> package:(&(package=org.apache.avro.file)(version>=1.7.0)(!(version>=2.0.0)))
>       Apache ServiceMix :: Bundles :: avro-ipc
>    package:(&(package=org.apache.avro.ipc)(version>=1.7.0)(!(version>=2.0.0)))
>       camel-avro
>    package:(&(package=org.apache.avro.io)(version>=1.7.0)(!(version>=2.0.0)))
>       Apache ServiceMix :: Bundles :: avro-ipc
>    
> package:(&(package=org.apache.avro.ipc.reflect)(version>=1.7.0)(!(version>=2.0.0)))
>       camel-avro
>    
> package:(&(package=org.apache.avro.generic)(version>=1.7.0)(!(version>=2.0.0)))
>       Apache ServiceMix :: Bundles :: avro-ipc
>    package:(&(package=org.apache.avro)(version>=1.7.0)(!(version>=2.0.0)))
>       Apache ServiceMix :: Bundles :: avro-ipc
>    
> package:(&(package=org.apache.avro.reflect)(version>=1.7.0)(!(version>=2.0.0)))
>       camel-avro
>    
> package:(&(package=org.apache.avro.util)(version>=1.7.0)(!(version>=2.0.0)))
>       Apache ServiceMix :: Bundles :: avro-ipc
>    
> package:(&(package=org.apache.avro.specific)(version>=1.7.0)(!(version>=2.0.0)))
>       camel-avro
>    package:(&(package=org.apache.avro)(version>=1.7.0)(!(version>=2.0.0)))
>       camel-avro
>    
> package:(&(package=org.apache.avro.specific)(version>=1.7.0)(!(version>=2.0.0)))
>       Apache ServiceMix :: Bundles :: avro-ipc
>    package:(&(package=org.apache.avro.io)(version>=1.7.0)(!(version>=2.0.0)))
>       camel-avro
>    
> package:(&(package=org.apache.avro.data)(version>=1.7.0)(!(version>=2.0.0)))
>       Apache ServiceMix :: Bundles :: avro-ipc
>    
> package:(&(package=org.apache.avro.generic)(version>=1.7.0)(!(version>=2.0.0)))
>       camel-avro
>    
> package:(&(package=org.apache.avro.ipc.specific)(version>=1.7.0)(!(version>=2.0.0)))
>       camel-avro
>    
> package:(&(package=org.apache.avro.reflect)(version>=1.7.0)(!(version>=2.0.0)))
>       Apache ServiceMix :: Bundles :: avro-ipc
>    package:(&(package=sun.misc))
>       Apache ServiceMix :: Bundles :: avro
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to