Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 84726 invoked from network); 8 Jun 2009 19:44:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jun 2009 19:44:07 -0000 Received: (qmail 95085 invoked by uid 500); 8 Jun 2009 19:44:17 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 94984 invoked by uid 500); 8 Jun 2009 19:44:17 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 94976 invoked by uid 99); 8 Jun 2009 19:44:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 19:44:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of linsun.unc@gmail.com designates 209.85.218.211 as permitted sender) Received: from [209.85.218.211] (HELO mail-bw0-f211.google.com) (209.85.218.211) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 19:44:06 +0000 Received: by bwz7 with SMTP id 7so3353951bwz.19 for ; Mon, 08 Jun 2009 12:43:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=JIBOoUAMZqH/LEPELlfaJKbs4r3v3xjJ4WDx+nOb/JY=; b=l5KpB2P6lYVbpzuaZi+HI7ELORSX7cYKJmj/gqCZr/jKZmCXgTsZut5vEpdVk2pKLp ei3q4fmwJzirRbLRhsLQUp+1awvc/x1BUIrkb+Laks1JRi1VNR0c0EQlGPGgkVKPZKoq hFlE8Vs0iebrMRTtg13LZVjiSbJNemrYJARPo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=MZGMBKYVzhN3ueucHoqNSEgFN8aLwOhO7Z1wKqvHS/8frdziP3T8y0vfy9zObtEE6i +c321EzzPt11hsJXtFUgTFTlwztb+XYWpjl/xl0Qjh+YXcOy3mGumBibNpEUEC+WqGz1 4lgKEXshwvDayOSPCbGGMqC0sTLUCz8xe8ZQY= MIME-Version: 1.0 Received: by 10.223.107.198 with SMTP id c6mr4725014fap.32.1244490224505; Mon, 08 Jun 2009 12:43:44 -0700 (PDT) In-Reply-To: References: Date: Mon, 8 Jun 2009 15:43:44 -0400 Message-ID: Subject: Re: unable to start the blueprint sample bundle From: Lin Sun To: dev@geronimo.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I believe this is caused by the fact that config admin service is not active yet when I attempted to start the bundleprint sample. After I made sure config admin is active, this error doesn't appear. Lin On Wed, Jun 3, 2009 at 10:41 AM, Lin Sun wrote: > Hi, > > I followed the instruction in the blueprint README and everything went > well till step 5a - start > > -> start 9 > Bundle start > [org.apache.geronimo.blueprint.container.BlueprintExtender] : Scanning > bundle blueprint-sample for blueprint application > [org.apache.geronimo.blueprint.container.BlueprintExtender] : Found > blueprint application in bundle blueprint-sample with urls: > [bundle://9.0:0/OSGI-INF/blueprint/config.xml] > -> [org.apache.geronimo.blueprint.container.BlueprintContainerImpl] : > Running blueprint container for bundle blueprint-sample in state > Unknown > [org.apache.geronimo.blueprint.container.BlueprintEventDispatcher] : > Sending blueprint container event BlueprintEvent[type=3DCREATING] for > bundle blueprint-sample > [org.apache.geronimo.blueprint.container.BlueprintContainerImpl] : > Running blueprint container for bundle blueprint-sample in state > WaitForNamespaceHandlers > [org.apache.geronimo.blueprint.ext.ExtNamespaceHandler] : Parsing > element {http://geronimo.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0}= property-placeholder > [org.apache.geronimo.blueprint.compendium.cm.CmNamespaceHandler] : > Parsing element > {http://www.osgi.org/xmlns/blueprint-cm/v1.0.0}managed-service-factory > [org.apache.geronimo.blueprint.compendium.cm.CmNamespaceHandler] : > Parsing element > {http://www.osgi.org/xmlns/blueprint-cm/v1.0.0}property-placeholder > [org.apache.geronimo.blueprint.compendium.cm.CmNamespaceHandler] : > Decorating node > {http://www.osgi.org/xmlns/blueprint-cm/v1.0.0}managed-properties > [org.apache.geronimo.blueprint.compendium.cm.CmNamespaceHandler] : > Decorating node > {http://www.osgi.org/xmlns/blueprint-cm/v1.0.0}managed-properties > [org.apache.geronimo.blueprint.compendium.cm.CmNamespaceHandler] : > Decorating node > {http://www.osgi.org/xmlns/blueprint-cm/v1.0.0}managed-properties > [org.apache.geronimo.blueprint.container.BlueprintContainerImpl] : > Running blueprint container for bundle blueprint-sample in state > Populated > [org.apache.geronimo.blueprint.container.BlueprintContainerImpl] : > Tracking service references: [#recipe-81, ref, ref-list, > blueprint.configadmin, ref2] > [org.apache.geronimo.blueprint.container.BlueprintContainerImpl] : > Running blueprint container for bundle blueprint-sample in state > WaitForInitialReferences > [org.apache.geronimo.blueprint.container.BlueprintEventDispatcher] : > Sending blueprint container event BlueprintEvent[type=3DGRACE_PERIOD, > dependencies=3D[(&(objectClass=3Dorg.osgi.service.cm.ConfigurationAdmin))= , > (&(objectClass=3Dorg.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=3Dorg.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=3Dorg.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=3Dorg.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=3Dorg.osgi.service.cm.ConfigurationAdmin))]] for bundle > blueprint-sample > > -> [org.apache.geronimo.blueprint.container.BlueprintContainerImpl] : > Unable to start blueprint container for bundle blueprint-sample > java.util.concurrent.TimeoutException > =A0 =A0 =A0 =A0at org.apache.geronimo.blueprint.container.BlueprintContai= nerImpl$1.run(BlueprintContainerImpl.java:247) > =A0 =A0 =A0 =A0at java.util.concurrent.Executors$RunnableAdapter.call(Exe= cutors.java:417) > =A0 =A0 =A0 =A0at java.util.concurrent.FutureTask$Sync.innerRun(FutureTas= k.java:269) > =A0 =A0 =A0 =A0at java.util.concurrent.FutureTask.run(FutureTask.java:123= ) > =A0 =A0 =A0 =A0at java.util.concurrent.ScheduledThreadPoolExecutor$Schedu= ledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65) > =A0 =A0 =A0 =A0at java.util.concurrent.ScheduledThreadPoolExecutor$Schedu= ledFutureTask.run(ScheduledThreadPoolExecutor.java:168) > =A0 =A0 =A0 =A0at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(= ThreadPoolExecutor.java:650) > =A0 =A0 =A0 =A0at java.util.concurrent.ThreadPoolExecutor$Worker.run(Thre= adPoolExecutor.java:675) > =A0 =A0 =A0 =A0at java.lang.Thread.run(Thread.java:613) > [org.apache.geronimo.blueprint.container.BlueprintEventDispatcher] : > Sending blueprint container event BlueprintEvent[type=3DFAILURE, > dependencies=3D[(&(objectClass=3Dorg.osgi.service.cm.ConfigurationAdmin))= , > (&(objectClass=3Dorg.apache.geronimo.blueprint.sample.InterfaceA)), > (&(objectClass=3Dorg.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=3Dorg.apache.geronimo.blueprint.sample.Foo)), > (&(objectClass=3Dorg.apache.geronimo.blueprint.sample.InterfaceA)), > (&(objectClass=3Dorg.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=3Dorg.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=3Dorg.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=3Dorg.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=3Dorg.apache.geronimo.blueprint.sample.InterfaceA))], > exception=3Dnull] for bundle blueprint-sample > > The bundle state is Populated which seemed to cause the exception. =A0Any= ideas? > > Thanks > > Lin >