Hi, it's probably a race condition where your feature install at the same time or before the shell feature.
I would try to define multiple stage, especially the shell feature in first stage and your feature in second one: (wrap, instance, package, log, ssh, aries-blueprint, framework, system, feature, shell, management, service, jaas, shell-compat, deployer, diagnostic, bundle, config, kar), sdnfw-try Regards JB On 03/04/2018 02:43 AM, sathish_alwar wrote: > Hi, > > We have custom Karaf-4 package (Opendaylight version). We have a main > feature (say A) which includes other sub features (B, C). We are able to > install feature A manually by logging into the Karaf console > (feature:install A), however when we add the same feature as boot feature we > are getting below exception. Please let us know > > 1) Difference between bootFeature and manual installation of feature. > 2) Significance of prerequisite option in feature.xml > > > We have following configuration in org.apache.karaf.features.cfg > featuresBoot=wrap,(jaas),standard,sdnfw-try > > also tried > #featuresBoot=(wrap),instance,package,log,ssh,aries-blueprint,framework,system,feature, > \ > # shell, > management,service,jaas,shell-compat,deployer,diagnostic,bundle, \ > # config, kar, sdnfw-try > > org.osgi.service.resolver.ResolutionException: Unable to resolve root: > missing requirement [root] osgi.identity; osgi.identity=sdnfw-security; > type=karaf.feature; version=0; > filter:="(&(osgi.identity=sdnfw-security)(type=karaf.feature)(version>=0.0.0))" > [caused by: Unable to resolve sdnfw-security/5.1.0.SNAPSHOT: missing > requirement [sdnfw-security/5.1.0.SNAPSHOT] osgi.identity; > osgi.identity=sdnfw.odl-utils; type=osgi.bundle; > version="[5.1.0.SNAPSHOT,5.1.0.SNAPSHOT]"; resolution:=mandatory [caused by: > Unable to resolve sdnfw.odl-utils/5.1.0.SNAPSHOT: missing requirement > [sdnfw.odl-utils/5.1.0.SNAPSHOT] osgi.wiring.package; > filter:="(&(osgi.wiring.package=*org.apache.karaf.shell.commands*)(version>=4.0.0)(!(version>=5.0.0)))"]] > > > Thanks > > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
