Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5E7B29568 for ; Tue, 20 Dec 2011 08:37:55 +0000 (UTC) Received: (qmail 25588 invoked by uid 500); 20 Dec 2011 08:37:54 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 25546 invoked by uid 500); 20 Dec 2011 08:37:54 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 25524 invoked by uid 99); 20 Dec 2011 08:37:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Dec 2011 08:37:52 +0000 X-ASF-Spam-Status: No, hits=-2002.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Dec 2011 08:37:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C265511D2DA for ; Tue, 20 Dec 2011 08:37:30 +0000 (UTC) Date: Tue, 20 Dec 2011 08:37:30 +0000 (UTC) From: "metatech (Created) (JIRA)" To: dev@activemq.apache.org Message-ID: <1757847660.29967.1324370250797.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (AMQ-3640) activemq-broker.xml stays in Blueprint "GracePeriod" state forever MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 activemq-broker.xml stays in Blueprint "GracePeriod" state forever ------------------------------------------------------------------ Key: AMQ-3640 URL: https://issues.apache.org/jira/browse/AMQ-3640 Project: ActiveMQ Issue Type: Bug Components: activemq-camel Affects Versions: 5.4.2 Environment: ServiceMix 4.3 Reporter: metatech In a small proportion of the time (about 20%) of first starting ServiceMix, the bundle "activemq-broker.xml" stays in the "GracePeriod" forever (ie no timeout after 5 minutes). It is waiting for a namespace handler for the namespace "http://activemq.apache.org/schema/core", which should be exported by the bundle "activemq-blueprint", which is declared as a OSGi fragment of the "activemq-core" bundle. When the problem occurs, the fragment is not properly attached to the host bundle. See the extract of the Karaf console : {code} [ 46] [Active ] [ ] [ ] [ 60] activemq-core (5.4.2) [ 56] [Installed ] [ ] [ ] [ 60] activemq-blueprint (5.4.2) [ 59] [Active ] [GracePeriod ] [ ] [ 60] activemq-broker.xml (0.0.0) {code} There are no "Hosts:" and "Fragments:" lines. The activemq-blueprint stays in "Installed" state instead of "Resolved", and cannot be started manually because it is a fragment bundle. Proposed short-term workaround (untested) : merge both bundles "activemq-core" and "activemq-blueprint". Long-term solution : I guess the problem is due to a race condition between the starting of the bundles and the discovery of the "host-fragment" relationship : maybe a 2-phase mechanism is needed. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira