Hello. I don't understand why with 5 bundles, all packaged and installed as features, one of them has been failing with an "lying" error about missing services. The 5 bundles use the same services, and 4 have been started with no issue, and the last one has started normally after a restart of Karaf.
All the bundles are built with a same pattern with the resulting manifest : Manifest-Version: 1.0 Bnd-LastModified: 1675929825182 Build-Jdk-Spec: 11 Bundle-Blueprint: OSGI-INF/blueprint/context_comacc016.xml Bundle-Description: yyyyy :: ESB :: Flux comacc016-esb (Intégrer les informations ACC Well'Com) Bundle-ManifestVersion: 2 Bundle-Name: yyyyy::ESB::comacc016-esb Bundle-SymbolicName: comacc016-esb Bundle-Version: 1.11.0.SNAPSHOT Created-By: Apache Maven Bundle Plugin 5.1.8 Export-Package: info.xxxxxx.yyyyy.com.commercialisation.comacc016.esb; uses:="info.xxxxxx.yyyyy.com.commercialisation.comacc016.esb.dto,org. apache.camel,org.apache.poi.ss.usermodel";version="1.11.0.SNAPSHOT",i nfo.xxxxxx.yyyyy.com.commercialisation.comacc016.esb.dto;version="1.1 1.0.SNAPSHOT" Import-Package: info.xxxxxx.yyyyy.com.caterpillar.buddy;version="[0.0, 1)",info.xxxxxx.yyyyy.com.commercialisation.comacc016.esb.dto,java.io ,java.lang,java.lang.invoke,java.text,java.util,java.util.function,ja va.util.stream,javax.jms;version="[2.0,3)",org.apache.camel;version=" [3.20,4)",org.apache.camel.spi;version="[3.20,4)",org.apache.commons. lang3;version="[3.12,4)",org.apache.commons.lang3.builder;version="[3 .12,4)",org.apache.commons.lang3.tuple;version="[3.12,4)",org.apache. poi.hssf.usermodel,org.apache.poi.ss.usermodel,org.osgi.service.bluep rint;version="[1.0.0,2.0.0)",org.slf4j;version="[1.7,2)" Import-Service: info.xxxxxx.yyyyy.com.caterpillar.buddy.ExchangeBuddy; multiple:=false,info.xxxxxx.yyyyy.com.caterpillar.buddy.CaterpillarMD CUnitOfWorkFactory;multiple:=false,javax.jms.ConnectionFactory;multip le:=false;filter=(osgi.jndi.service.name=jms/yyyyy) Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=11))" Tool: Bnd-6.3.1.202206071316 The two services below are present (ls) and the other 4 bundles resolved them : - info.xxxxxx.yyyyy.com.caterpillar.buddy.ExchangeBuddy - com.caterpillar.buddy.CaterpillarMDCUnitOfWorkFactory The error : waiting for dependencies [(objectClass=info.xxxxxx.yyyyy.com.caterpillar.buddy.ExchangeBuddy), (objectClass=info.xxxxxx.yyyyy.com.caterpillar.buddy.CaterpillarMDCUnitOfWorkFactory)] What can explain the failure when I install the 5th feature, and not the other, and why all is OK after a restart ? Note that restarting the failing bundle didn't work. Thanks for your help. Regards.
