felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.W. Janssen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-4561) Jetty 2.3.0 and Whiteboard 2.3.0 randomly not registering services
Date Tue, 28 Oct 2014 13:05:34 GMT

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

J.W. Janssen updated FELIX-4561:
--------------------------------
    Fix Version/s: http-2.3.2

> Jetty 2.3.0 and Whiteboard 2.3.0 randomly not registering services
> ------------------------------------------------------------------
>
>                 Key: FELIX-4561
>                 URL: https://issues.apache.org/jira/browse/FELIX-4561
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http-2.3.0
>            Reporter: Paul Bakker
>             Fix For: http-2.3.2
>
>
> In a project with many bundles/services there are always some registrations being "missed"
by Jetty/Whiteboard. The problems seems to be random; each time different registrations will
be missing.
> I can't reproduce this consistently yet, it seems to be timing dependent. The logs show
the stacktrace below, I'm not sure if this is related to the cause of the issue, or just another
side effect.
> {code}
> g! ERROR: Bundle org.apache.felix.http.whiteboard [4] EventDispatcher: Error during dispatch.
(java.lang.IllegalArgumentException: Nothing registered at /whatsnewjson)
> java.lang.IllegalArgumentException: Nothing registered at /whatsnewjson
>         at org.apache.felix.http.base.internal.service.HttpServiceImpl.unregister(HttpServiceImpl.java:129)
>         at org.apache.felix.http.whiteboard.internal.manager.ServletMapping.unregister(ServletMapping.java:68)
>         at org.apache.felix.http.whiteboard.internal.manager.ExtenderManager.unregisterAll(ExtenderManager.java:217)
>         at org.apache.felix.http.whiteboard.internal.manager.ExtenderManager.unsetHttpService(ExtenderManager.java:200)
>         at org.apache.felix.http.whiteboard.internal.tracker.HttpServiceTracker.removed(HttpServiceTracker.java:47)
>         at org.apache.felix.http.whiteboard.internal.tracker.HttpServiceTracker.removed(HttpServiceTracker.java:24)
>         at org.apache.felix.http.whiteboard.internal.tracker.AbstractTracker.removedService(AbstractTracker.java:52)
>         at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:956)
>         at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:864)
>         at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)
>         at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:902)
>         at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
>         at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
>         at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
>         at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)
>         at org.apache.felix.framework.Felix.access$000(Felix.java:74)
>         at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:401)
>         at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:151)
>         at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:127)
>         at org.apache.felix.http.base.internal.HttpServiceController.unregister(HttpServiceController.java:159)
>         at org.apache.felix.http.base.internal.DispatcherServlet.destroy(DispatcherServlet.java:53)
>         at org.eclipse.jetty.servlet.ServletHolder.destroyInstance(ServletHolder.java:395)
>         at org.eclipse.jetty.servlet.ServletHolder.doStop(ServletHolder.java:368)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
>         at org.eclipse.jetty.servlet.ServletHandler.doStop(ServletHandler.java:241)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
>         at org.eclipse.jetty.server.handler.HandlerWrapper.doStop(HandlerWrapper.java:107)
>         at org.eclipse.jetty.server.session.SessionHandler.doStop(SessionHandler.java:136)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
>         at org.eclipse.jetty.server.handler.HandlerWrapper.doStop(HandlerWrapper.java:107)
>         at org.eclipse.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:815)
>         at org.eclipse.jetty.servlet.ServletContextHandler.doStop(ServletContextHandler.java:160)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
>         at org.eclipse.jetty.server.handler.HandlerCollection.doStop(HandlerCollection.java:250)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
>         at org.eclipse.jetty.server.handler.HandlerWrapper.doStop(HandlerWrapper.java:107)
>         at org.eclipse.jetty.server.Server.doStop(Server.java:343)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
>         at org.apache.felix.http.jetty.internal.JettyService.stopJetty(JettyService.java:216)
>         at org.apache.felix.http.jetty.internal.JettyService.updated(JettyService.java:188)
>         at org.apache.felix.http.jetty.internal.JettyManagedService$1.updated(JettyManagedService.java:44)
>         at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:148)
>         at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:81)
>         at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1448)
>         at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1404)
>         at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103)
>         at java.lang.Thread.run(Thread.java:744)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message