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<linsun....@gmail.com> wrote: > Hi, > > I followed the instruction in the blueprint README and everything went > well till step 5a - start <bundle id for blueprint-sample> > > -> 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=CREATING] 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=GRACE_PERIOD, > dependencies=[(&(objectClass=org.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=org.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=org.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=org.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=org.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=org.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 > at > org.apache.geronimo.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:247) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) > at java.util.concurrent.FutureTask.run(FutureTask.java:123) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:168) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) > at java.lang.Thread.run(Thread.java:613) > [org.apache.geronimo.blueprint.container.BlueprintEventDispatcher] : > Sending blueprint container event BlueprintEvent[type=FAILURE, > dependencies=[(&(objectClass=org.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=org.apache.geronimo.blueprint.sample.InterfaceA)), > (&(objectClass=org.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=org.apache.geronimo.blueprint.sample.Foo)), > (&(objectClass=org.apache.geronimo.blueprint.sample.InterfaceA)), > (&(objectClass=org.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=org.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=org.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=org.osgi.service.cm.ConfigurationAdmin)), > (&(objectClass=org.apache.geronimo.blueprint.sample.InterfaceA))], > exception=null] for bundle blueprint-sample > > The bundle state is Populated which seemed to cause the exception. Any ideas? > > Thanks > > Lin >