geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lin Sun <linsun....@gmail.com>
Subject unable to start the blueprint sample bundle
Date Wed, 03 Jun 2009 14:41:39 GMT
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

Mime
View raw message