[
https://issues.apache.org/jira/browse/SM-2290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13990870#comment-13990870
]
Krzysztof Sobkowiak edited comment on SM-2290 at 5/6/14 5:40 PM:
-----------------------------------------------------------------
I tried to add {{obr}} and {{war}} at the begin of {{featuresBoot}} as
described in KARAF-603
{code}
featuresBoot=(obr,war),standard,config,standard,region,package,kar,ssh,management,eventadmin,activemq-broker-noweb,jaxrs-api,camel,camel-jms,camel-cxf,camel-blueprint,activemq-service
{code}
After the change I'm getting following error when installing {{jndi}}
{code}
karaf@root>feature:install jndi
Error executing command: Can not resolve feature:
Unsatisfied requirement(s):
---------------------------
service:(service=org.apache.felix.service.command.CommandProcessor)
Apache Karaf :: Shell :: Console
service:(&(service=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=http://karaf.apache.org/xmlns/shell/v1.1.0))
Apache Karaf :: JNDI :: Command
service:(service=org.apache.felix.service.threadio.ThreadIO)
Apache Karaf :: Shell :: Console
{code}
I'm getting the same effect after changing the start level of
{{org.apache.felix.bundlerepository}} back to {{10}}
Following {{featuresBoot}} solves the problem, but I'm not sure if this is
correct solution
{code}
featuresBoot=(standard,obr,war),config,region,package,kar,ssh,management,eventadmin,activemq-broker-noweb,jaxrs-api,camel,camel-jms,camel-cxf,camel-blueprint,activemq-service
{code}
was (Author: sobkowiak):
I tried to add {{obr}} and {{war}} at the begin of {{featuresBoot}} as
described in KARAF-603
{code}
featuresBoot=(obr,war),standard,config,standard,region,package,kar,ssh,management,eventadmin,activemq-broker-noweb,jaxrs-api,camel,camel-jms,camel-cxf,camel-blueprint,activemq-service
{code}
After the change I'm getting following error when installing {{jndi}}
{code}
karaf@root>feature:install jndi
Error executing command: Can not resolve feature:
Unsatisfied requirement(s):
---------------------------
service:(service=org.apache.felix.service.command.CommandProcessor)
Apache Karaf :: Shell :: Console
service:(&(service=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=http://karaf.apache.org/xmlns/shell/v1.1.0))
Apache Karaf :: JNDI :: Command
service:(service=org.apache.felix.service.threadio.ThreadIO)
Apache Karaf :: Shell :: Console
{code}
I'm getting the same effect after changing the start level of
{{org.apache.felix.bundlerepository}} back to {{10}}
Following {{featuresBoot}} solves the problem, but I'm not sure if this is
correct solution
{code}
featuresBoot=(standard,obr,war),standard,config,region,package,kar,ssh,management,eventadmin,activemq-broker-noweb,jaxrs-api,camel,camel-jms,camel-cxf,camel-blueprint,activemq-service
{code}
> Add obr feature to featuresBoot
> -------------------------------
>
> Key: SM-2290
> URL: https://issues.apache.org/jira/browse/SM-2290
> Project: ServiceMix
> Issue Type: Task
> Components: assemblies
> Reporter: Krzysztof Sobkowiak
> Priority: Minor
> Fix For: 6.0.0
>
>
> The bundles from {{obr}} feature have been added to the
> {{startup.properties}} and the feature has been removed from {{featuresBoot}}
> as workaround for KARAF-608. Because the fix for KARAF-608 is included in
> Karaf 3.x we should add {{obr}} to {{featuresBoot}} again for ServiceMix 6
> Cfr
> https://issues.apache.org/jira/browse/SM-2279?focusedCommentId=13963964&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13963964
--
This message was sent by Atlassian JIRA
(v6.2#6252)