Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 7588 invoked from network); 13 Feb 2009 11:18:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2009 11:18:21 -0000 Received: (qmail 37949 invoked by uid 500); 13 Feb 2009 11:18:21 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 37918 invoked by uid 500); 13 Feb 2009 11:18:21 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 37888 invoked by uid 99); 13 Feb 2009 11:18:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2009 03:18:20 -0800 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2009 11:18:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9BC23234C48D for ; Fri, 13 Feb 2009 03:17:59 -0800 (PST) Message-ID: <1876023028.1234523879637.JavaMail.jira@brutus> Date: Fri, 13 Feb 2009 03:17:59 -0800 (PST) From: "David Bosschaert (JIRA)" To: issues@cxf.apache.org Subject: [jira] Resolved: (CXF-2029) Exception when stopping DOSGi bundle In-Reply-To: <960354717.1234273745437.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Bosschaert resolved CXF-2029. ----------------------------------- Resolution: Fixed > Exception when stopping DOSGi bundle > ------------------------------------ > > Key: CXF-2029 > URL: https://issues.apache.org/jira/browse/CXF-2029 > Project: CXF > Issue Type: Bug > Components: Distributed-OSGi > Reporter: David Bosschaert > Assignee: David Bosschaert > > When I shut down the DOSGi bundle, the following exception happens. This happens with the Single Bundle Distribution > java.lang.IllegalStateException: Invalid BundleContext. > at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleCont > extImpl.java:393) > at org.apache.felix.framework.BundleContextImpl.ungetService(BundleConte > xtImpl.java:362) > at org.osgi.util.tracker.ServiceTracker.removedService(ServiceTracker.ja > va:429) > at org.apache.cxf.dosgi.discovery.local.LocalDiscoveryService$1.removedS > ervice(LocalDiscoveryService.java:133) > at org.osgi.util.tracker.ServiceTracker$Tracked.untrack(ServiceTracker.j > ava:1126) > at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTr > acker.java:957) > at org.apache.felix.framework.util.EventDispatcher.invokeServiceListener > Callback(EventDispatcher.java:820) > at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately( > EventDispatcher.java:678) > at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(Even > tDispatcher.java:609) > at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3640) > at org.apache.felix.framework.Felix.access$200(Felix.java:38) > at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:841) > at org.apache.felix.framework.ServiceRegistry.fireServiceChanged(Service > Registry.java:568) > at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceR > egistry.java:105) > at org.apache.felix.framework.ServiceRegistrationImpl.unregister(Service > RegistrationImpl.java:118) > at org.apache.felix.framework.ServiceRegistry.unregisterServices(Service > Registry.java:144) > at org.apache.felix.framework.Felix._stopBundle(Felix.java:2105) > at org.apache.felix.framework.Felix.stopBundle(Felix.java:2034) > at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:11 > 97) > at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265 > ) > at java.lang.Thread.run(Thread.java:595) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.