karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Achim Nierbeck (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (KARAF-312) Refresh of bundles does not always work after new feature install
Date Sun, 12 Dec 2010 20:24:01 GMT

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

Achim Nierbeck resolved KARAF-312.
----------------------------------

    Resolution: Won't Fix

Since the default behavior checks only the dependent features, this is OK.

> Refresh of bundles does not always work after new feature install
> -----------------------------------------------------------------
>
>                 Key: KARAF-312
>                 URL: https://issues.apache.org/jira/browse/KARAF-312
>             Project: Karaf
>          Issue Type: Bug
>          Components: runtime
>    Affects Versions: 2.2.0
>            Reporter: Achim Nierbeck
>
> On the current trunk, on a clean Karaf installation with a pax-web 0.8.2-SNAPSHOT version
(probably would be the best to compile the current version from source) 
> do the following: 
> features:install war
> features:install eventadmin
> this results in an Exception
> ERROR: EventDispatcher: Error during dispatch. (java.lang.NoClassDefFoundError: org/osgi/service/event/EventAdmin)
> java.lang.NoClassDefFoundError: org/osgi/service/event/EventAdmin
>         at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.setEventAdminService(WebXmlObserver.java:255)
>         at org.ops4j.pax.web.extender.war.internal.Activator$EventServiceCustomizer.addingService(Activator.java:148)
>         at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)
>         at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)
>         at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:233)
>         at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:840)
>         at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:871)
>         at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:733)
>         at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662)
>         at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3721)
>         at org.apache.felix.framework.Felix.access$000(Felix.java:80)
>         at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:717)
>         at org.apache.felix.framework.ServiceRegistry.registerService(ServiceRegistry.java:107)
>         at org.apache.felix.framework.Felix.registerService(Felix.java:2842)
>         at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:251)
>         at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:229)
>         at org.apache.felix.eventadmin.impl.Configuration.startOrUpdate(Configuration.java:340)
>         at org.apache.felix.eventadmin.impl.Configuration.<init>(Configuration.java:149)
>         at org.apache.felix.eventadmin.impl.Activator.start(Activator.java:65)
>         at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:633)
>         at org.apache.felix.framework.Felix.activateBundle(Felix.java:1822)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:1739)
>         at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:922)
>         at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:909)
>         at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:289)
>         at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:220)
>         at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:216)
>         at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:51)
>         at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:39)
>         at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)
>         at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
>         at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
>         at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:458)
>         at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:384)
>         at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
>         at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
>         at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
>         at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:79)
>         at org.apache.karaf.shell.console.jline.Console.run(Console.java:179)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.ClassNotFoundException: org.osgi.service.event.EventAdmin not found
by org.ops4j.pax.web.pax-web-ex
> tender-war [50]
>         at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)
>         at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
>         at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>         ... 40 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message