Hi,

First, you don't need camel-activemq feature, just camel-jms is enough.

The activemq-broker-noweb feature seems to work fine, so you have
probably a refresh.

Here's what I did:

feature:install webconsole
feature:repo-add activemq 5.15.11
feature:repo-add camel 3.0.0
feature:install activemq-broker-noweb
feature:install camel-blueprint
feature:install camel-jms
feature:install jms

I don't have any issue so far (activemq:bstat is fine with an unique
broker).

Regards
JB

On 12/01/2020 15:57, Gerald Kallas wrote:
> Dear community,
> 
> I'm going to setup a vanilla karaf / activemq / camel3 installation with the 
> following commands
> 
> karaf@root()> feature:repo-add hawtio 2.8.0
> Adding feature url mvn:io.hawt/hawtio-karaf/2.8.0/xml/features
> karaf@root()> feature:repo-add activemq 5.15.11
> Adding feature url mvn:org.apache.activemq/activemq-karaf/5.15.11/xml/features
> karaf@root()> feature:repo-add camel 3.0.0
> Adding feature url mvn:org.apache.camel.karaf/apache-camel/3.0.0/xml/features
> karaf@root()> feature:install webconsole
> karaf@root()> feature:install hawtio
> karaf@root()> feature:install activemq-broker-noweb
> karaf@root()> feature:install camel
> karaf@root()> feature:install camel-jms
> karaf@root()> feature:install camel-activemq
> 
> The last command caused an error that comes on board again when restarting 
> karaf
> 
> org.osgi.service.cm.ConfigurationException: null : Cannot start the broker
> at 
> org.apache.activemq.osgi.ActiveMQServiceFactory.updated(ActiveMQServiceFactory.java:147)
>  ~[!/:5.15.10]
> at 
> org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker.updated(ManagedServiceFactoryTracker.java:159)
>  ~[!/:?]
> at 
> org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker.provideConfiguration(ManagedServiceFactoryTracker.java:93)
>  [!/:?]
> at 
> org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceFactoryUpdate.provide(ConfigurationManager.java:1253)
>  [!/:?]
> at 
> org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceFactoryUpdate.run(ConfigurationManager.java:1197)
>  [!/:?]
> at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:138) [!/:?]
> at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:105) [!/:?]
> at java.lang.Thread.run(Unknown Source) [?:1.8.0_201]
> Caused by: javax.management.InstanceAlreadyExistsException: 
> org.apache.activemq:type=Broker,brokerName=amq-broker
> at com.sun.jmx.mbeanserver.Repository.addMBean(Unknown Source) ~[?:1.8.0_201]
> at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(Unknown
>  Source) ~[?:1.8.0_201]
> at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(Unknown
>  Source) ~[?:1.8.0_201]
> at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(Unknown 
> Source) ~[?:1.8.0_201]
> at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Unknown 
> Source) ~[?:1.8.0_201]
> at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Unknown Source) 
> ~[?:1.8.0_201]
> at 
> org.apache.activemq.broker.jmx.ManagementContext.registerMBean(ManagementContext.java:409)
>  ~[!/:5.15.10]
> at 
> org.apache.activemq.broker.jmx.AnnotatedMBean.registerMBean(AnnotatedMBean.java:93)
>  ~[!/:5.15.10]
> at 
> org.apache.activemq.broker.BrokerService.startManagementContext(BrokerService.java:2627)
>  ~[!/:5.15.10]
> at org.apache.activemq.broker.BrokerService.start(BrokerService.java:621) 
> ~[!/:5.15.10]
> at 
> org.apache.activemq.osgi.ActiveMQServiceFactory.updated(ActiveMQServiceFactory.java:141)
>  ~[!/:5.15.10]
> ... 7 more
> 
> I tried some other sequences, always the same. Seems that the broker 
> attempted to start twice.
> 
> Any hints and suggestions are highly appreciated.
> 
> Best
> - Gerald
> 

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to