Hello Pierre, i can not reproduce the problem with trunk dm&shell. woohoo! Any ETA on a release?
thanks! Andras On 27 June 2014 08:42, Pierre De Rop <[email protected]> wrote: > Hello Andras; > > just to say I saw your post. I'm just lacking of time this week, but I will > look into your problem this WE; > > in the mean time, it would be helpful if you could confirm that you also > have the problem with the dm and shell trunk versions ? > > thanks; > > kind regards; > /Pierre > > > On Wed, Jun 25, 2014 at 2:54 PM, Andras Szerdahelyi < > [email protected]> wrote: > > > hello list, > > > > i use the DM Shell bundle to debug service dependency problems in my > > DM-managed components. Its been working great for the most part, that is > > until i try to update an active bundle in the framework. I see the > expected > > framework events logged in "log debug", DM or the DM shell bundle is > never > > stopped. Yet after the update, the "dm" gogo command returns with > > > > g! dm > > > > gogo: IllegalStateException: Invalid BundleContext. > > > > g! > > > > > > the full output of "log debug" for reference: > > > > 2014.06.25 14:47:38 INFO - Bundle: > myproduct-service-budgeting-memcached - > > [com.mycompany.myproduct.service.budgeting.api.BudgetingService] - > > ServiceEvent REGISTERED > > > > 2014.06.25 14:47:38 INFO - Bundle: myproduct-channel-http - > > [com.mycompany.myproduct.channel.api.myproductChannel] - ServiceEvent > > REGISTERED > > > > 2014.06.25 14:47:38 INFO - Bundle: myproduct-processor-jul-concurrent - > > [com.mycompany.myproduct.processor.api.ProcessorService] - ServiceEvent > > REGISTERED > > > > 2014.06.25 14:47:38 INFO - Bundle: > myproduct-service-budgeting-memcached - > > BundleEvent STARTED > > > > 2014.06.25 14:47:38 INFO - Bundle: > myproduct-service-budgeting-memcached - > > [org.osgi.service.cm.ManagedServiceFactory] - ServiceEvent REGISTERED > > > > 2014.06.25 14:47:38 INFO - Bundle: myproduct-service-budgeting-memcached > - > > [com.mycompany.myproduct.configuration.myproductConfigurationFactory] - > > ServiceEvent REGISTERED > > > > 2014.06.25 14:47:38 INFO - Bundle: myproduct-service-budgeting-memcached > - > > BundleEvent RESOLVED > > > > 2014.06.25 14:47:38 INFO - Bundle: org.apache.felix.framework - > > FrameworkEvent PACKAGES REFRESHED > > > > 2014.06.25 14:47:38 INFO - Bundle: org.apache.felix.framework - > > FrameworkEvent PACKAGES REFRESHED > > > > 2014.06.25 14:47:38 INFO - Bundle: myproduct-service-budgeting-memcached > - > > BundleEvent UPDATED > > > > 2014.06.25 14:47:38 INFO - Bundle: myproduct-service-budgeting-memcached > - > > BundleEvent UNRESOLVED > > > > 2014.06.25 14:47:38 INFO - Bundle: myproduct-service-budgeting-memcached > - > > BundleEvent STOPPED > > > > 2014.06.25 14:47:38 INFO - Bundle: myproduct-service-budgeting-memcached > - > > [com.mycompany.myproduct.service.budgeting.api.BudgetingService] - > > ServiceEvent UNREGISTERING > > > > 2014.06.25 14:47:37 INFO - Bundle: myproduct-channel-http - > > [com.mycompany.myproduct.channel.api.myproductChannel] - ServiceEvent > > UNREGISTERING > > > > 2014.06.25 14:47:37 INFO - Bundle: myproduct-processor-jul-concurrent - > > [com.mycompany.myproduct.processor.api.ProcessorService] - ServiceEvent > > UNREGISTERING > > > > 2014.06.25 14:47:37 INFO - Bundle: myproduct-service-budgeting-memcached > - > > [com.mycompany.myproduct.configuration.myproductConfigurationFactory] - > > ServiceEvent UNREGISTERING > > > > 2014.06.25 14:47:37 INFO - Bundle: myproduct-service-budgeting-memcached > - > > [org.osgi.service.cm.ManagedServiceFactory] - ServiceEvent UNREGISTERING > > > > 2014.06.25 14:47:36 INFO - Bundle: myproduct-service-budgeting-memcached > - > > [com.mycompany.myproduct.service.budgeting.api.BudgetingService] - > > ServiceEvent REGISTERED > > > > 2014.06.25 14:47:36 INFO - Bundle: myproduct-channel-http - > > [com.mycompany.myproduct.channel.api.myproductChannel] - ServiceEvent > > REGISTERED > > > > 2014.06.25 14:47:36 INFO - Bundle: myproduct-processor-jul-concurrent - > > [com.mycompany.myproduct.processor.api.ProcessorService] - ServiceEvent > > REGISTERED > > > > 2014.06.25 14:47:36 INFO - Bundle: myproduct-service-budgeting-memcached > - > > BundleEvent STARTED > > > > 2014.06.25 14:47:36 INFO - Bundle: myproduct-service-budgeting-memcached > - > > [org.osgi.service.cm.ManagedServiceFactory] - ServiceEvent REGISTERED > > > > 2014.06.25 14:47:36 INFO - Bundle: myproduct-service-budgeting-memcached > - > > [com.mycompany.myproduct.configuration.myproductConfigurationFactory] - > > ServiceEvent REGISTERED > > > > 2014.06.25 14:47:36 INFO - Bundle: myproduct-service-budgeting-memcached > - > > BundleEvent RESOLVED > > > > 2014.06.25 14:47:36 INFO - Bundle: org.apache.felix.framework - > > FrameworkEvent PACKAGES REFRESHED > > > > 2014.06.25 14:47:36 INFO - Bundle: org.apache.felix.framework - > > FrameworkEvent PACKAGES REFRESHED > > > > 2014.06.25 14:47:36 INFO - Bundle: myproduct-service-budgeting-memcached > - > > BundleEvent UPDATED > > > > 2014.06.25 14:47:36 INFO - Bundle: myproduct-service-budgeting-memcached > - > > BundleEvent UNRESOLVED > > > > 2014.06.25 14:47:36 INFO - Bundle: myproduct-service-budgeting-memcached > - > > BundleEvent STOPPED > > > > 2014.06.25 14:47:36 INFO - Bundle: myproduct-service-budgeting-memcached > - > > [com.mycompany.myproduct.service.budgeting.api.BudgetingService] - > > ServiceEvent UNREGISTERING > > > > 2014.06.25 14:47:35 INFO - Bundle: myproduct-channel-http - > > [com.mycompany.myproduct.channel.api.myproductChannel] - ServiceEvent > > UNREGISTERING > > > > 2014.06.25 14:47:35 INFO - Bundle: myproduct-processor-jul-concurrent - > > [com.mycompany.myproduct.processor.api.ProcessorService] - ServiceEvent > > UNREGISTERING > > > > 2014.06.25 14:47:35 INFO - Bundle: myproduct-service-budgeting-memcached > - > > [org.osgi.service.cm.ManagedServiceFactory] - ServiceEvent UNREGISTERING > > > > 2014.06.25 14:47:35 INFO - Bundle: myproduct-service-budgeting-memcached > - > > [com.mycompany.myproduct.configuration.myproductConfigurationFactory] - > > ServiceEvent UNREGISTERING > > > > > > i'm a bit stuck on this at the moment - the BundleContext javadocs > suggest > > that BundleContext may be considered invalid if the bundle leaves the > > ACTIVE state, which DM Shell never did ( according to the above logs ) > > > > Any clues as to how to resolve this are greatly appreciated. > > > > I'm using 3.0.1. > > > > thanks, > > > > Andras > > >

