Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 720EC18C8F for ; Fri, 19 Feb 2016 06:43:18 +0000 (UTC) Received: (qmail 84444 invoked by uid 500); 19 Feb 2016 06:43:18 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 84420 invoked by uid 500); 19 Feb 2016 06:43:18 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 84409 invoked by uid 99); 19 Feb 2016 06:43:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2016 06:43:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 112E72C1F57 for ; Fri, 19 Feb 2016 06:43:18 +0000 (UTC) Date: Fri, 19 Feb 2016 06:43:18 +0000 (UTC) From: "Brajesh Bharti (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-3737) ActiveMQ Broker disappears after Karaf restart MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-3737?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1515= 3794#comment-15153794 ]=20 Brajesh Bharti commented on KARAF-3737: --------------------------------------- So we need to update the dependency and bundle as well. > ActiveMQ Broker disappears after Karaf restart > ---------------------------------------------- > > Key: KARAF-3737 > URL: https://issues.apache.org/jira/browse/KARAF-3737 > Project: Karaf > Issue Type: Bug > Affects Versions: 2.4.2 > Reporter: Krzysztof Sobkowiak > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: 2.4.3 > > > I have installed an ActiveMQ broker on a fresh Karaf version > {code} > karaf@root> features:chooseurl activemq 5.11.1 > Adding feature url mvn:org.apache.activemq/activemq-karaf/5.11.1/xml/feat= ures > karaf@root> features:install activemq-broker > karaf@root> activemq:list=20 > brokerName =3D amq-broker > {code} > There is the default {{amq-broker}} available. Here the list of installed= ActiveMQ features and bundles > {code} > karaf@root> features:list | grep activemq | grep -v uninstalled > [installed ] [5.11.1 ] activemq-client activemq-c= ore-5.11.1 ActiveMQ client libraries > [installed ] [5.11.1 ] activemq activemq-c= ore-5.11.1 ActiveMQ broker libraries > [installed ] [5.11.1 ] activemq-broker activemq-5= .11.1 Full ActiveMQ broker with default configuration and web cons= ole > [installed ] [5.11.1 ] activemq-web-console activemq-5= .11.1 =20 > karaf@root> list -t 0 -l | grep activemq > [ 89] [Active ] [Created ] [ ] [ 50] mvn:org.apache.acti= vemq/activemq-osgi/5.11.1 > [ 90] [Active ] [Created ] [ ] [ 50] mvn:org.apache.acti= vemq/activemq-karaf/5.11.1 > [ 103] [Active ] [ ] [ ] [ 50] mvn:org.apache.acti= vemq/activeio-core/3.1.4 > [ 123] [Active ] [ ] [ ] [ 50] mvn:org.apache.acti= vemq/activemq-web-console/5.11.1/war > {code} > Services exported by the {{activemq-osgi}} bundle > {code} > karaf@root> ls -a 89 > You are about to access system bundle 89. Do you wish to continue (yes/n= o): yes > activemq-osgi (89) provides: > ---------------------------- > objectClass =3D [org.osgi.service.cm.ManagedServiceFactory] > osgi.service.blueprint.compname =3D activeMQServiceFactory > service.id =3D 359 > service.pid =3D org.apache.activemq.server > ---- > objectClass =3D [org.osgi.service.blueprint.container.BlueprintContainer] > osgi.blueprint.container.symbolicname =3D org.apache.activemq.activemq-os= gi > osgi.blueprint.container.version =3D 5.11.1 > service.id =3D 360 > ---- > Bundle-SymbolicName =3D org.apache.activemq.activemq-osgi > Bundle-Version =3D 5.11.1 > objectClass =3D [org.springframework.osgi.context.DelegatedExecutionOsgiB= undleApplicationContext, org.springframework.osgi.context.ConfigurableOsgiB= undleApplicationContext, org.springframework.context.ConfigurableApplicatio= nContext, org.springframework.context.ApplicationContext, org.springframewo= rk.context.Lifecycle, java.io.Closeable, org.springframework.core.env.Envir= onmentCapable, org.springframework.beans.factory.ListableBeanFactory, org.s= pringframework.beans.factory.HierarchicalBeanFactory, org.springframework.c= ontext.MessageSource, org.springframework.context.ApplicationEventPublisher= , org.springframework.core.io.support.ResourcePatternResolver, org.springfr= amework.beans.factory.BeanFactory, org.springframework.core.io.ResourceLoad= er, java.lang.AutoCloseable, org.springframework.beans.factory.DisposableBe= an] > org.springframework.context.service.name =3D org.apache.activemq.activemq= -osgi > service.id =3D 390 > {code} > After restart: > {code} > karaf@root> activemq:list=20 > karaf@root> features:list | grep activemq | grep -v uninstalled > [installed ] [5.11.1 ] activemq-client activemq-c= ore-5.11.1 ActiveMQ client libraries > [installed ] [5.11.1 ] activemq activemq-c= ore-5.11.1 ActiveMQ broker libraries > [installed ] [5.11.1 ] activemq-broker activemq-5= .11.1 Full ActiveMQ broker with default configuration and web cons= ole > [installed ] [5.11.1 ] activemq-web-console activemq-5= .11.1 =20 > karaf@root> list -t 0 -l | grep activemq > [ 89] [Active ] [Created ] [ ] [ 50] mvn:org.apache.acti= vemq/activemq-osgi/5.11.1 > [ 90] [Active ] [Created ] [ ] [ 50] mvn:org.apache.acti= vemq/activemq-karaf/5.11.1 > [ 103] [Active ] [ ] [ ] [ 50] mvn:org.apache.acti= vemq/activeio-core/3.1.4 > [ 123] [Active ] [ ] [ ] [ 50] mvn:org.apache.acti= vemq/activemq-web-console/5.11.1/war > karaf@root> ls -a 89 > You are about to access system bundle 89. Do you wish to continue (yes/n= o): yes > activemq-osgi (89) provides: > ---------------------------- > objectClass =3D [org.osgi.service.cm.ManagedServiceFactory] > osgi.service.blueprint.compname =3D activeMQServiceFactory > service.id =3D 369 > service.pid =3D org.apache.activemq.server > ---- > objectClass =3D [org.osgi.service.blueprint.container.BlueprintContainer] > osgi.blueprint.container.symbolicname =3D org.apache.activemq.activemq-os= gi > osgi.blueprint.container.version =3D 5.11.1 > service.id =3D 370 > karaf@root>=20 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)