Some more info as I keep looking at what transpires here. Before I add the camel repo:
karaf@root()> feature:repo-list Repository │ URL ──────────────────────────────────┼───────────────────────────────────────────────────────────────────────────────────────────── spring-4.2.10 │ mvn:org.apache.karaf.features/spring/4.2.10/xml/features standard-4.2.10 │ mvn:org.apache.karaf.features/standard/4.2.10/xml/features hibernate-validator-osgi-features │ mvn:org.hibernate.validator/hibernate-validator-osgi-karaf-features/6.1.5.Final/xml/features enterprise-4.2.10 │ mvn:org.apache.karaf.features/enterprise/4.2.10/xml/features openjpa-3.1.1 │ mvn:org.apache.openjpa/openjpa-features/3.1.1/xml/features org.ops4j.pax.jdbc-1.4.4 │ mvn:org.ops4j.pax.jdbc/pax-jdbc-features/1.4.4/xml/features aries-jpa-2.7.2 │ mvn:org.apache.aries.jpa/jpa-features/2.7.2/xml/features org.ops4j.pax.cdi-1.1.3 │ mvn:org.ops4j.pax.cdi/pax-cdi-features/1.1.3/xml/features pax-jms-1.0.7 │ mvn:org.ops4j.pax.jms/pax-jms-features/1.0.7/xml/features pax-transx-0.4.4 │ mvn:org.ops4j.pax.transx/pax-transx-features/0.4.4/xml/features framework-4.2.10 │ mvn:org.apache.karaf.features/framework/4.2.10/xml/features org.ops4j.pax.web-7.2.19 │ mvn:org.ops4j.pax.web/pax-web-features/7.2.19/xml/features After I add the camel repo: karaf@root()> feature:repo-list Repository │ URL ──────────────────────────────────┼───────────────────────────────────────────────────────────────────────────────────────────── standard-4.2.10 │ mvn:org.apache.karaf.features/standard/4.2.10/xml/features hibernate-validator-osgi-features │ mvn:org.hibernate.validator/hibernate-validator-osgi-karaf-features/6.1.5.Final/xml/features standard-4.2.9 │ mvn:org.apache.karaf.features/standard/4.2.9/xml/features org.ops4j.pax.web-7.2.16 │ mvn:org.ops4j.pax.web/pax-web-features/7.2.16/xml/features spring-legacy-4.2.9 │ mvn:org.apache.karaf.features/spring-legacy/4.2.9/xml/features aries-jpa-2.7.2 │ mvn:org.apache.aries.jpa/jpa-features/2.7.2/xml/features pax-transx-0.4.4 │ mvn:org.ops4j.pax.transx/pax-transx-features/0.4.4/xml/features framework-4.2.10 │ mvn:org.apache.karaf.features/framework/4.2.10/xml/features spring-4.2.10 │ mvn:org.apache.karaf.features/spring/4.2.10/xml/features enterprise-4.2.10 │ mvn:org.apache.karaf.features/enterprise/4.2.10/xml/features camel-3.6.0 │ mvn:org.apache.camel.karaf/apache-camel/RELEASE/xml/features org.ops4j.pax.cdi-1.0.0 │ mvn:org.ops4j.pax.cdi/pax-cdi-features/1.0.0/xml/features openjpa-3.1.1 │ mvn:org.apache.openjpa/openjpa-features/3.1.1/xml/features org.ops4j.pax.jdbc-1.4.4 │ mvn:org.ops4j.pax.jdbc/pax-jdbc-features/1.4.4/xml/features cxf-3.4.0 │ mvn:org.apache.cxf.karaf/apache-cxf/3.4.0/xml/features jclouds-2.1.2 │ mvn:org.apache.jclouds.karaf/jclouds-karaf/2.1.2/xml/features org.ops4j.pax.cdi-1.1.3 │ mvn:org.ops4j.pax.cdi/pax-cdi-features/1.1.3/xml/features pax-jms-1.0.7 │ mvn:org.ops4j.pax.jms/pax-jms-features/1.0.7/xml/features org.ops4j.pax.web-7.2.19 │ mvn:org.ops4j.pax.web/pax-web-features/7.2.19/xml/features > On Oct 28, 2020, at 7:07 AM, Oleg Cohen <oleg.co...@assurebridge.com> wrote: > > To add, it is actually enough to reproduce the error by calling > > feature:repo-add camel > > before installing a feature like war > > Thanks! > Oleg > >> On Oct 28, 2020, at 7:04 AM, Oleg Cohen <oleg.co...@assurebridge.com >> <mailto:oleg.co...@assurebridge.com>> wrote: >> >> Greetings, >> >> I am migrating to Karaf v4.2.10. Starting from a clean container. >> >> If I install feature war all works fine. >> >> After I add two camel repos: >> >> feature:repo-add >> mvn:org.apache.camel.karaf/apache-camel/RELEASE/xml/features >> feature:repo-add >> mvn:org.apache-extras.camel-extra.karaf/camel-extra/RELEASE/xml/features >> >> I see a number of errors when installing war (or any other feature). I >> noticed that there are commands to install >> org.apache.karaf.scr.management/4.2.9 along with 4.2.10 >> >> 2020-10-28T06:59:33,762 | INFO | features-3-thread-1 | CommandExtension >> | 37 - org.apache.karaf.shell.core - 4.2.10 | Registering >> commands for bundle org.apache.karaf.scr.state/4.2.10 >> 2020-10-28T06:59:33,762 | INFO | features-3-thread-1 | FeaturesServiceImpl >> | 11 - org.apache.karaf.features.core - 4.2.10 | >> org.apache.karaf.scr.management/4.2.9 >> 2020-10-28T06:59:33,772 | INFO | features-3-thread-1 | >> ServiceComponentRuntimeMBeanImpl | 59 - org.apache.karaf.scr.management - >> 4.2.9 | Activating the Apache Karaf ServiceComponentRuntime MBean >> 2020-10-28T06:59:33,773 | INFO | features-3-thread-1 | FeaturesServiceImpl >> | 11 - org.apache.karaf.features.core - 4.2.10 | >> org.apache.karaf.scr.management/4.2.10 >> >> The errors are JMX based: >> >> 2020-10-28T06:59:33,779 | INFO | features-3-thread-1 | >> ServiceComponentRuntimeMBeanImpl | 60 - org.apache.karaf.scr.management - >> 4.2.10 | Activating the Apache Karaf ServiceComponentRuntime MBean >> 2020-10-28T06:59:33,780 | ERROR | features-3-thread-1 | >> ServiceComponentRuntimeMBeanImpl | 60 - org.apache.karaf.scr.management - >> 4.2.10 | Exception registering the SCR Management MBean: >> org.apache.karaf:type=scr,name=root >> javax.management.InstanceAlreadyExistsException: >> org.apache.karaf:type=scr,name=root >> >> Would appreciate help on resolving this! >> >> Best, >> Oleg >