aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Łukasz Dywicki <l...@code-house.org>
Subject RE: FW: Namespace handler update/restart
Date Tue, 21 Dec 2010 09:51:04 GMT
Hi Guillaume,
I was looking for help, not issues. :-) Sure I can raise JIRA for that.

Best regards,
Lukasz

-----Original Message-----
From: Guillaume Nodet [mailto:gnodet@gmail.com] 
Sent: Tuesday, December 21, 2010 7:58 AM
To: aries-dev@incubator.apache.org
Subject: Re: FW: Namespace handler update/restart

That looks like a bug. Did you raise a JIRA about that ?

2010/12/20 Łukasz Dywicki <luke@code-house.org>:
> I forward this mail to dev mailing list due no response on user mailing
> list.
>
> Hi,
> I found strange behavior in aries blueprint 0.2. I am unable to update or
> even restart NamespaceHandler. After namespace handler bundle state change
> all dependant blueprints are marked as failed.
>
> The lifecycle looks like:
> stop namespace handler
> - blueprints going to GracePeriod state
> start namespace handler
> - blueprint registers namespace handler in osgi registry
> - dependant blueprints changes state to failed
>
> All blueprints have fails due exception:
> org.apache.aries.blueprint.ComponentNameAlreadyInUseException: Name
> 'blueprintContainer' is already in use by a registered component
>
> Log entries from aries:
> 13:44:58,992 | DEBUG | org.apache.aries.blueprint | Destroying
> BlueprintContainer for bundle org.code-house.webconsole.core.namespace
> 13:44:58,992 | DEBUG | org.apache.aries.blueprint | Sending blueprint
> container event BlueprintEvent[type=DESTROYING] for bundle
> org.code-house.webconsole.core.namespace
> 13:44:58,995 | DEBUG | org.apache.aries.blueprint | Unregistering service
> .component-1
> 13:44:58,995 | DEBUG | org.apache.aries.blueprint | Calling listeners for
> service unregistration
> 13:44:58,996 | DEBUG | org.apache.aries.blueprint | Unregistering service
> bundlePluginService
> 13:44:58,996 | DEBUG | org.apache.aries.blueprint | Calling listeners for
> service unregistration
> 13:44:58,997 | DEBUG | org.apache.aries.blueprint | Unregistering service
> resourceSetService
> 13:44:58,997 | DEBUG | org.apache.aries.blueprint | Calling listeners for
> service unregistration
> 13:44:58,999 | DEBUG | org.apache.aries.blueprint | Sending blueprint
> container event BlueprintEvent[type=DESTROYED] for bundle
> org.code-house.webconsole.core.namespace
> 13:44:59,001 | DEBUG | org.apache.aries.blueprint | Running blueprint
> container for bundle org.code-house.webconsole.plugins.osgi.bundle in
state
> WaitForNamespaceHandlers
> 13:44:59,002 | WARN  | org.apache.aries.blueprint | Bundle
> org.code-house.webconsole.plugins.osgi.bundle is waiting for namespace
> handlers
>
[(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.bl
> ueprint.namespace=http://code-house.org/webconsole-1.0))]
> 13:44:59,002 | DEBUG | org.apache.aries.blueprint | Sending blueprint
> container event BlueprintEvent[type=GRACE_PERIOD,
>
dependencies=[(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(os
> gi.service.blueprint.namespace=http://code-house.org/webconsole-1.0))]]
for
> bundle org.code-house.webconsole.plugins.osgi.bundle
> 13:44:59,003 | DEBUG | org.apache.aries.blueprint | Blueprint container
> destroyed:
> org.eclipse.osgi.framework.internal.core.BundleContextImpl@1328f071
> 13:45:00,501 | DEBUG | org.apache.aries.blueprint | Retrieving service for
> bundle org.apache.karaf.shell.console_2.1.2 [29] and service registration
> {org.apache.karaf.shell.console.CompletableFunction,
> org.osgi.service.command.Function}={osgi.command.function=list,
> osgi.command.scope=osgi, service.id=126}
> 13:45:00,502 | DEBUG | org.apache.aries.blueprint | Instantiating
component
> shell-69
> 13:45:00,503 | DEBUG | org.apache.aries.blueprint | Instantiating
component
> blueprintBundleContext
> 13:45:03,210 | DEBUG | org.apache.aries.blueprint | Retrieving service for
> bundle org.apache.karaf.shell.console_2.1.2 [29] and service registration
> {org.apache.karaf.shell.console.CompletableFunction,
> org.osgi.service.command.Function}={osgi.command.function=start,
> osgi.command.scope=osgi, service.id=121}
> 13:45:03,210 | DEBUG | org.apache.aries.blueprint | Instantiating
component
> shell-83
> 13:45:03,211 | DEBUG | org.apache.aries.blueprint | Instantiating
component
> blueprintBundleContext
> 13:45:03,213 | DEBUG | org.apache.aries.blueprint | Scanning bundle
> org.code-house.webconsole.core.namespace for blueprint application
> 13:45:03,214 | DEBUG | org.apache.aries.blueprint | Found blueprint
> application in bundle org.code-house.webconsole.core.namespace with paths:
> [bundleentry://42.fwk1179468258/OSGI-INF/blueprint/namespace.xml]
> 13:45:03,215 | DEBUG | org.apache.aries.blueprint | Running blueprint
> container for bundle org.code-house.webconsole.core.namespace in state
> Unknown
> 13:45:03,215 | DEBUG | org.apache.aries.blueprint | Sending blueprint
> container event BlueprintEvent[type=CREATING] for bundle
> org.code-house.webconsole.core.namespace
> 13:45:03,221 | DEBUG | org.apache.aries.blueprint | Running blueprint
> container for bundle org.code-house.webconsole.core.namespace in state
> WaitForNamespaceHandlers
> 13:45:03,225 | DEBUG | org.apache.aries.blueprint | Running blueprint
> container for bundle org.code-house.webconsole.core.namespace in state
> Populated
> 13:45:03,226 | DEBUG | org.apache.aries.blueprint | Tracking service
> references: []
> 13:45:03,227 | DEBUG | org.apache.aries.blueprint | Running blueprint
> container for bundle org.code-house.webconsole.core.namespace in state
> WaitForInitialReferences
> 13:45:03,227 | DEBUG | org.apache.aries.blueprint | Running blueprint
> container for bundle org.code-house.webconsole.core.namespace in state
> InitialReferencesSatisfied
> 13:45:03,227 | DEBUG | org.apache.aries.blueprint | Running blueprint
> container for bundle org.code-house.webconsole.core.namespace in state
> WaitForInitialReferences2
> 13:45:03,227 | DEBUG | org.apache.aries.blueprint | Running blueprint
> container for bundle org.code-house.webconsole.core.namespace in state
> Create
> 13:45:03,228 | DEBUG | org.apache.aries.blueprint | Registering service
> .component-1 with interfaces [org.apache.aries.blueprint.NamespaceHandler]
> and properties
> {osgi.service.blueprint.namespace=http://code-house.org/webconsole-1.0}
> 13:45:03,229 | DEBUG | org.apache.aries.blueprint | Adding
NamespaceHandler
>
{org.apache.aries.blueprint.NamespaceHandler}={osgi.service.blueprint.namesp
> ace=http://code-house.org/webconsole-1.0, service.id=242}
> 13:45:03,229 | DEBUG | org.apache.aries.blueprint | Retrieving service for
> bundle org.apache.aries.blueprint_0.2.0.incubating [7] and service
> registration
>
{org.apache.aries.blueprint.NamespaceHandler}={osgi.service.blueprint.namesp
> ace=http://code-house.org/webconsole-1.0, service.id=242}
> 13:45:03,229 | DEBUG | org.apache.aries.blueprint | Creating service
> instance
> 13:45:03,230 | DEBUG | org.apache.aries.blueprint | Service created:
>
org.code_houwe.webconsole.core.namespace.WebConsoleNamespaceHandler@31441738
> 13:45:03,230 | DEBUG | org.apache.aries.blueprint | Creating listeners
> 13:45:03,230 | DEBUG | org.apache.aries.blueprint | Listeners created: []
> 13:45:03,231 | DEBUG | org.apache.aries.blueprint | Calling listeners for
> initial service registration
> 13:45:03,233 | DEBUG | org.apache.aries.blueprint | Instantiating
> components: [blueprintContainer, blueprintBundle, blueprintBundleContext,
> blueprintConverter, .component-1]
> 13:45:03,233 | DEBUG | org.apache.aries.blueprint | Running blueprint
> container for bundle org.code-house.webconsole.plugins.osgi.bundle in
state
> WaitForNamespaceHandlers
> 13:45:03,233 | DEBUG | org.apache.aries.blueprint | Retrieving service for
> bundle null and service registration null
> 13:45:03,234 | ERROR | org.apache.aries.blueprint | Unable to start
> blueprint container for bundle
org.code-house.webconsole.plugins.osgi.bundle
> org.apache.aries.blueprint.ComponentNameAlreadyInUseException: Name
> 'blueprintContainer' is already in use by a registered component
>        at
>
org.apache.aries.blueprint.namespace.ComponentDefinitionRegistryImpl.registe
>
rComponentDefinition(ComponentDefinitionRegistryImpl.java:82)[7:org.apache.a
> ries.blueprint:0.2.0.incubating]
>        at
>
org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintC
> ontainerImpl.java:256)[7:org.apache.aries.blueprint:0.2.0.incubating]
>        at
>
org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintCon
> tainerImpl.java:213)[7:org.apache.aries.blueprint:0.2.0.incubating]
>        at
>
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6
> .0_21]
>        at
>
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_21
> ]
>        at
> java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_21]
>        at
>
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$
> 301(ScheduledThreadPoolExecutor.java:98)[:1.6.0_21]
>        at
>
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Sch
> eduledThreadPoolExecutor.java:207)[:1.6.0_21]
>        at
>
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
> va:886)[:1.6.0_21]
>        at
>
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
> 08)[:1.6.0_21]
>        at java.lang.Thread.run(Thread.java:619)[:1.6.0_21]
> 13:45:03,235 | DEBUG | org.apache.aries.blueprint | Sending blueprint
> container event BlueprintEvent[type=CREATED] for bundle
> org.code-house.webconsole.core.namespace
> 13:45:03,235 | DEBUG | org.apache.aries.blueprint | Sending blueprint
> container event BlueprintEvent[type=FAILURE, exception=Name
> 'blueprintContainer' is already in use by a registered component] for
bundle
> org.code-house.webconsole.plugins.osgi.bundle
> 13:45:03,236 | DEBUG | org.apache.aries.blueprint | Running blueprint
> container for bundle org.code-house.webconsole.core.namespace in state
> Created
> 13:45:04,341 | DEBUG | org.apache.aries.blueprint | Retrieving service for
> bundle org.apache.karaf.shell.console_2.1.2 [29] and service registration
> {org.apache.karaf.shell.console.CompletableFunction,
> org.osgi.service.command.Function}={osgi.command.function=list,
> osgi.command.scope=osgi, service.id=126}
> 13:45:04,341 | DEBUG | org.apache.aries.blueprint | Instantiating
component
> shell-69
> 13:45:04,342 | DEBUG | org.apache.aries.blueprint | Instantiating
component
> blueprintBundleContext
>
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com


Mime
View raw message