[ 
https://issues.apache.org/jira/browse/FELIX-2231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Mulholland reopened FELIX-2231:
------------------------------------


We're still seeing this one exception in a few of our scenarios:

Stack Dump = org.osgi.service.component.ComponentException: The component name 
'com.ibm.com.amazonaws.ec2' has already been registered by Bundle 34 
(com.ibm.com.amazonaws.ec2) as Component of Class com.ibm.iaas.ec2.EC2IaaS
at 
org.apache.felix.scr.impl.ComponentRegistry.checkComponentName(ComponentRegistry.java:267)
at 
org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:238)
at 
org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:147)
at 
org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:111)
at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:255)
at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:173)

Using scr build 

> Errors with services in Lazy bundles
> ------------------------------------
>
>                 Key: FELIX-2231
>                 URL: https://issues.apache.org/jira/browse/FELIX-2231
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.4.0
>         Environment: Windows XP
>            Reporter: Alex Mulholland
>            Assignee: Felix Meschberger
>             Fix For:  scr-1.4.2
>
>
> Using equinox f/w with felix DS.   Starting many bundles , some of which have 
> Lazy activation policy (including com.ibm.ws.transport.orb, which has 6 
> services defined).  Sometimes everything starts without error. 
> About 1 in 3 times I see these messages for the com.ibm.ws.transport.orb 
> bundle:
> Info: OSGI- [23 Mar 2010 14:27:43.531 EDT] BundleEvent RESOLVED 
> Bundle:com.ibm.ws.transport.orb(id=19) {3}
> Info: OSGI- [23 Mar 2010 14:27:43.531 EDT] BundleEvent INSTALLED 
> Bundle:com.ibm.ws.transport.orb(id=19) {3}
> Exception in thread "Alpine-CM-Thread-7" java.lang.NullPointerException
>       at 
> org.apache.felix.scr.impl.config.ConfiguredComponentHolder.configurationUpdated(ConfiguredComponentHolder.java:187)
>       at 
> org.apache.felix.scr.impl.config.ConfigurationComponentRegistry.configurationEvent(ConfigurationComponentRegistry.java:173)
>       at 
> com.ibm.ws.config.cm.internal.ConfigEventDispatcher$1.run(ConfigEventDispatcher.java:89)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>       at java.lang.Thread.run(Thread.java:736)
> Info: OSGI- [23 Mar 2010 14:27:43.562 EDT] BundleEvent STOPPED 
> Bundle:com.ibm.ws.transport.orb(id=19) {3}
> On some other start attempts I see these messages:
> Info: OSGI- [19 Mar 2010 15:03:09.647 EDT] BundleEvent RESOLVED 
> Bundle:com.ibm.ws.transport.orb(id=19) {3}
> Info: OSGI- [19 Mar 2010 15:03:09.653 EDT] ServiceEvent REGISTERED 
> Bundle:com.ibm.ws.transport.orb(id=19) 
> ServiceRef:[com.ibm.websphere.channelfw.osgi.ChannelFactoryProvider](id=56, 
> pid=null)
> Info: OSGI- [19 Mar 2010 15:03:09.655 EDT] ServiceEvent REGISTERED 
> Bundle:com.ibm.ws.transport.orb(id=19) 
> ServiceRef:[com.ibm.ws.iiop.transport.internal.EventManager](id=57, pid=null)
> Error: OSGI- [19 Mar 2010 15:03:09.661 EDT] [com.ibm.ws.transport.orb] Cannot 
> register Component Bundle:com.ibm.ws.transport.orb(id=19) 
> org.osgi.service.component.ComponentException: The component name 
> 'com.ibm.ws.transport.orb' has already been registered by Bundle 19 
> (com.ibm.ws.transport.orb) as Component of Class 
> com.ibm.ws.iiop.internal.service.ORBServiceImpl
> OSGI- [19 Mar 2010 15:03:09.661 EDT] [com.ibm.ws.transport.orb] Cannot 
> register Component Bundle:com.ibm.ws.transport.orb(id=19) 
> org.osgi.service.component.ComponentException: The component name 
> 'com.ibm.ws.transport.orb' has already been registered by Bundle 19 
> (com.ibm.ws.transport.orb) as Component of Class 
> com.ibm.ws.iiop.internal.service.ORBServiceImpl
> Error: OSGI- [19 Mar 2010 15:03:09.676 EDT] [IIOPChannelProvider] Cannot 
> register Component Bundle:com.ibm.ws.transport.orb(id=19) 
> org.osgi.service.component.ComponentException: The component name 
> 'IIOPChannelProvider' has already been registered by Bundle 19 
> (com.ibm.ws.transport.orb) as Component of Class 
> com.ibm.ws.iiop.internal.service.IIOPChannelProvider
> OSGI- [19 Mar 2010 15:03:09.676 EDT] [IIOPChannelProvider] Cannot register 
> Component Bundle:com.ibm.ws.transport.orb(id=19) 
> org.osgi.service.component.ComponentException: The component name 
> 'IIOPChannelProvider' has already been registered by Bundle 19 
> (com.ibm.ws.transport.orb) as Component of Class 
> com.ibm.ws.iiop.internal.service.IIOPChannelProvider
> Error: OSGI- [19 Mar 2010 15:03:09.677 EDT] 
> [com.ibm.ws.iiop.transport.internal.EventManager] Cannot register Component 
> Bundle:com.ibm.ws.transport.orb(id=19) 
> org.osgi.service.component.ComponentException: The component name 
> 'com.ibm.ws.iiop.transport.internal.EventManager' has already been registered 
> by Bundle 19 (com.ibm.ws.transport.orb) as Component of Class 
> com.ibm.ws.iiop.transport.internal.EventManager
> OSGI- [19 Mar 2010 15:03:09.677 EDT] 
> [com.ibm.ws.iiop.transport.internal.EventManager] Cannot register Component 
> Bundle:com.ibm.ws.transport.orb(id=19) 
> org.osgi.service.component.ComponentException: The component name 
> 'com.ibm.ws.iiop.transport.internal.EventManager' has already been registered 
> by Bundle 19 (com.ibm.ws.transport.orb) as Component of Class 
> com.ibm.ws.iiop.transport.internal.EventManager
> Error: OSGI- [19 Mar 2010 15:03:09.678 EDT] 
> [com.ibm.ws.iiop.internal.service.CorbaContainer] Cannot register Component 
> Bundle:com.ibm.ws.transport.orb(id=19) 
> org.osgi.service.component.ComponentException: The component name 
> 'com.ibm.ws.iiop.internal.service.CorbaContainer' has already been registered 
> by Bundle 19 (com.ibm.ws.transport.orb) as Component of Class 
> com.ibm.ws.iiop.internal.service.CorbaContainer
> OSGI- [19 Mar 2010 15:03:09.678 EDT] 
> [com.ibm.ws.iiop.internal.service.CorbaContainer] Cannot register Component 
> Bundle:com.ibm.ws.transport.orb(id=19) 
> org.osgi.service.component.ComponentException: The component name 
> 'com.ibm.ws.iiop.internal.service.CorbaContainer' has already been registered 
> by Bundle 19 (com.ibm.ws.transport.orb) as Component of Class 
> com.ibm.ws.iiop.internal.service.CorbaContainer
> Error: OSGI- [19 Mar 2010 15:03:09.679 EDT] 
> [com.ibm.ws.iiop.internal.service.IIOPConnectionTracker] Cannot register 
> Component Bundle:com.ibm.ws.transport.orb(id=19) 
> org.osgi.service.component.ComponentException: The component name 
> 'com.ibm.ws.iiop.internal.service.IIOPConnectionTracker' has already been 
> registered by Bundle 19 (com.ibm.ws.transport.orb) as Component of Class 
> com.ibm.ws.iiop.internal.service.IIOPConnectionTracker
> OSGI- [19 Mar 2010 15:03:09.679 EDT] 
> [com.ibm.ws.iiop.internal.service.IIOPConnectionTracker] Cannot register 
> Component Bundle:com.ibm.ws.transport.orb(id=19) 
> org.osgi.service.component.ComponentException: The component name 
> 'com.ibm.ws.iiop.internal.service.IIOPConnectionTracker' has already been 
> registered by Bundle 19 (com.ibm.ws.transport.orb) as Component of Class 
> com.ibm.ws.iiop.internal.service.IIOPConnectionTracker
> Error: OSGI- [19 Mar 2010 15:03:09.681 EDT] 
> [com.ibm.ws.iiop.internal.service.PortableInterceptorManager] Cannot register 
> Component Bundle:com.ibm.ws.transport.orb(id=19) 
> org.osgi.service.component.ComponentException: The component name 
> 'com.ibm.ws.iiop.internal.service.PortableInterceptorManager' has already 
> been registered by Bundle 19 (com.ibm.ws.transport.orb) as Component of Class 
> com.ibm.ws.iiop.internal.service.PortableInterceptorManager
> OSGI- [19 Mar 2010 15:03:09.681 EDT] 
> [com.ibm.ws.iiop.internal.service.PortableInterceptorManager] Cannot register 
> Component Bundle:com.ibm.ws.transport.orb(id=19) 
> org.osgi.service.component.ComponentException: The component name 
> 'com.ibm.ws.iiop.internal.service.PortableInterceptorManager' has already 
> been registered by Bundle 19 (com.ibm.ws.transport.orb) as Component of Class 
> com.ibm.ws.iiop.internal.service.PortableInterceptorManager
> Info: OSGI- [19 Mar 2010 15:03:09.681 EDT] BundleEvent STARTED 
> Bundle:com.ibm.ws.transport.orb(id=19) {3}
> Info: OSGI- [19 Mar 2010 15:03:09.685 EDT] BundleEvent INSTALLED 
> Bundle:com.ibm.ws.transport.orb(id=19) {3}
> Info: OSGI- [19 Mar 2010 15:03:09.690 EDT] ServiceEvent UNREGISTERING 
> Bundle:com.ibm.ws.transport.orb(id=19) 
> ServiceRef:[com.ibm.websphere.channelfw.osgi.ChannelFactoryProvider](id=56, 
> pid=null)
> Info: OSGI- [19 Mar 2010 15:03:09.691 EDT] ServiceEvent UNREGISTERING 
> Bundle:com.ibm.ws.transport.orb(id=19) 
> ServiceRef:[com.ibm.ws.iiop.transport.internal.EventManager](id=57, pid=null)
> Info: OSGI- [19 Mar 2010 15:03:09.692 EDT] BundleEvent STOPPED 
> Bundle:com.ibm.ws.transport.orb(id=19) {3}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to