Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 35434 invoked from network); 18 Jun 2010 17:33:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Jun 2010 17:33:50 -0000 Received: (qmail 56213 invoked by uid 500); 18 Jun 2010 17:33:50 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 56147 invoked by uid 500); 18 Jun 2010 17:33:49 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 56139 invoked by uid 99); 18 Jun 2010 17:33:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jun 2010 17:33:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jun 2010 17:33:46 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5IHXObx027947 for ; Fri, 18 Jun 2010 17:33:25 GMT Message-ID: <25714171.82231276882404748.JavaMail.jira@thor> Date: Fri, 18 Jun 2010 13:33:24 -0400 (EDT) From: "Alex Mulholland (JIRA)" To: dev@felix.apache.org Subject: [jira] Closed: (FELIX-2231) Errors with services in Lazy bundles In-Reply-To: <2120781274.440461269370107461.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-2231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Mulholland closed FELIX-2231. ---------------------------------- Resolution: Fixed I'm not seeing this problem with the latest code, thanks. > 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. - You can reply to this email to add a comment to the issue online.