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