Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 70640 invoked from network); 19 May 2009 14:10:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 May 2009 14:10:08 -0000 Received: (qmail 46305 invoked by uid 500); 19 May 2009 14:10:07 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 46254 invoked by uid 500); 19 May 2009 14:10:07 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 46244 invoked by uid 99); 19 May 2009 14:10:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2009 14:10:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2009 14:10:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BFC7C234C004 for ; Tue, 19 May 2009 07:09:45 -0700 (PDT) Message-ID: <866368463.1242742185770.JavaMail.jira@brutus> Date: Tue, 19 May 2009 07:09:45 -0700 (PDT) From: "Bertrand Delacretaz (JIRA)" To: dev@felix.apache.org Subject: [jira] Created: (FELIX-1166) SCR does not rebind ConfigurationAdmin service in Sling jcrinstall tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org SCR does not rebind ConfigurationAdmin service in Sling jcrinstall tests ------------------------------------------------------------------------ Key: FELIX-1166 URL: https://issues.apache.org/jira/browse/FELIX-1166 Project: Felix Issue Type: Bug Components: Declarative Services (SCR) Affects Versions: scr-1.0.8 Reporter: Bertrand Delacretaz Attachments: FELIX-1166-reproduce.patch I'm testing the Sling jcrinstall module using Pax Exam, and the SCR reference shown below is not rebound after stopping and restarting the org.apache.felix.configadmin bundle, and waiting up to 5 seconds. The reference is declared like this in the OsgiControllerImpl class: /** @scr.reference cardinality="0..1" policy="dynamic" */ private ConfigurationAdmin configAdmin; To reproduce, apply the attached patch to revision 776315 of http://svn.apache.org/repos/asf/incubator/sling/trunk/contrib/extensions/jcrinstall, and run the tests with mvn clean install. The OsgiControllerTest.testDeferredConfigInstall test then fails, because the ConfigurationAdmin service is not rebound to the OsgiControllerImpl class, after waiting up to 5 seconds for that to happen. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.