You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Nick Smith <Ni...@techopfinance.com> on 2012/12/11 16:44:40 UTC
InterruptedException throw by EventAdmin when Felix HTTP Service 2.2.0
starts
Hi all,
I'm seeing the exception below being consistently thrown by the
EventAdmin when the Felix HTTP Service 2.2.0 starts.
I'm using Karaf 2.3.0 (containing EventAdmin 1.3.0) and Felix HTTP 2.2.0
(for which I require for the extended API for registering servlet filters).
Is this exception only preventing the reporting of the HTTP service
starting (as it's at WARN level at the HTTP service apparently starts),
and if it is more serious does anyone have any suggestions on how to
track down the cause of this exception?
Many Thanks in Advance,
Nick
2012-12-11 16:30:04,068 | WARN | tty HTTP Service |
eventadmin | ? ?
| 54 - org.apache.felix.eventadmin - 1.3.0 | EventAdmin: Exception:
java.lang.InterruptedException
java.lang.InterruptedException
at EDU.oswego.cs.dl.util.concurrent.LinkedQueue.offer(Unknown
Source)[54:org.apache.felix.eventadmin:1.3.0]
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.execute(Unknown
Source)[54:org.apache.felix.eventadmin:1.3.0]
at
org.apache.felix.eventadmin.impl.tasks.DefaultThreadPool.executeTask(DefaultThreadPool.java:101)[54:org.apache.felix.eventadmin:1.3.0]
at
org.apache.felix.eventadmin.impl.tasks.AsyncDeliverTasks.execute(AsyncDeliverTasks.java:105)[54:org.apache.felix.eventadmin:1.3.0]
at
org.apache.felix.eventadmin.impl.handler.EventAdminImpl.postEvent(EventAdminImpl.java:100)[54:org.apache.felix.eventadmin:1.3.0]
at
org.apache.felix.eventadmin.impl.adapter.ServiceEventAdapter.serviceChanged(ServiceEventAdapter.java:137)[54:org.apache.felix.eventadmin:1.3.0]
at
org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)[org.apache.felix.framework-4.0.3.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)[org.apache.felix.framework-4.0.3.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)[org.apache.felix.framework-4.0.3.jar:]
at
org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4260)[org.apache.felix.framework-4.0.3.jar:]
at
org.apache.felix.framework.Felix.registerService(Felix.java:3275)[org.apache.felix.framework-4.0.3.jar:]
at
org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)[org.apache.felix.framework-4.0.3.jar:]
at
org.apache.felix.http.base.internal.HttpServiceController.register(HttpServiceController.java:135)[66:org.apache.felix.http.jetty:2.2.0]
at
org.apache.felix.http.base.internal.DispatcherServlet.init(DispatcherServlet.java:48)[66:org.apache.felix.http.jetty:2.2.0]
at
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)[66:org.apache.felix.http.jetty:2.2.0]
at
org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)[66:org.apache.felix.http.jetty:2.2.0]
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)[66:org.apache.felix.http.jetty:2.2.0]
at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)[66:org.apache.felix.http.jetty:2.2.0]
at
org.mortbay.jetty.servlet.Context.startContext(Context.java:140)[66:org.apache.felix.http.jetty:2.2.0]
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)[66:org.apache.felix.http.jetty:2.2.0]
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)[66:org.apache.felix.http.jetty:2.2.0]
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)[66:org.apache.felix.http.jetty:2.2.0]
at
org.mortbay.jetty.Server.doStart(Server.java:224)[66:org.apache.felix.http.jetty:2.2.0]
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)[66:org.apache.felix.http.jetty:2.2.0]
at
org.apache.felix.http.jetty.internal.JettyService.initializeJetty(JettyService.java:164)[66:org.apache.felix.http.jetty:2.2.0]
at
org.apache.felix.http.jetty.internal.JettyService.startJetty(JettyService.java:115)[66:org.apache.felix.http.jetty:2.2.0]
at
org.apache.felix.http.jetty.internal.JettyService.run(JettyService.java:290)[66:org.apache.felix.http.jetty:2.2.0]
at java.lang.Thread.run(Thread.java:722)[:1.7.0_07]
2012-12-11 16:30:04,132 | INFO | tty HTTP Service |
jetty | ? ?
| 66 - org.apache.felix.http.jetty - 2.2.0 | Started jetty 6.1.x at
port(s) HTTP:7979
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: InterruptedException throw by EventAdmin when Felix HTTP Service
2.2.0 starts
Posted by Ryan Heinen <ry...@gmail.com>.
A very similar issue has been reported here:
https://issues.apache.org/jira/browse/FELIX-3846
It's got a slightly different stacktrace, but I believe they are caused by
the same bug.
Jetty uses thread interrupts to signal configuration changes or shutdown to
it's server thread, but if that thread is in Felix code anywhere (eg. event
publishing, bundle lock acquisition) the interrupt will be interpreted
differently.
Ryan
On Mon, Jan 21, 2013 at 6:01 AM, Carsten Ziegeler <cz...@apache.org>wrote:
> I'm not sure if this is a problem - but while the event admin tries to
> deliver some events, the thread is interrupted by someone else (the
> http bundle?) and this causes the reported log entry. Not sure if we
> should catch this exception in the event admin and not propagate it?
>
> Regards
> Carsten
>
> 2013/1/7 Nick Smith <Ni...@techopfinance.com>:
> > I think it may well be a bug as sometimes I have problems connecting to
> my
> > server (via HTTP).
> >
> > I'll 'escalate' this to the developers list to see whats happens...
> >
> > Regards,
> >
> > Nick
> >
> >
> > On 01/ 6/13 11:44 AM, LongkerDandy wrote:
> >>
> >> I'm also have the same problem here, latest felix framework with
> >> http.jetty
> >> 2.2.0.
> >> Is this a Bug?
> >>
> >> On Tue, Dec 11, 2012 at 11:44 PM, Nick Smith
> >> <Ni...@techopfinance.com>wrote:
> >>
> >>> Hi all,
> >>>
> >>> I'm seeing the exception below being consistently thrown by the
> >>> EventAdmin
> >>> when the Felix HTTP Service 2.2.0 starts.
> >>>
> >>> I'm using Karaf 2.3.0 (containing EventAdmin 1.3.0) and Felix HTTP
> 2.2.0
> >>> (for which I require for the extended API for registering servlet
> >>> filters).
> >>>
> >>> Is this exception only preventing the reporting of the HTTP service
> >>> starting (as it's at WARN level at the HTTP service apparently starts),
> >>> and
> >>> if it is more serious does anyone have any suggestions on how to track
> >>> down
> >>> the cause of this exception?
> >>>
> >>> Many Thanks in Advance,
> >>>
> >>> Nick
> >>>
> >>> 2012-12-11 16:30:04,068 | WARN | tty HTTP Service | eventadmin
> >>> | ? ? | 54 -
> >>> org.apache.felix.eventadmin - 1.3.0 | EventAdmin: Exception:
> >>> java.lang.InterruptedException
> >>> java.lang.InterruptedException
> >>> at EDU.oswego.cs.dl.util.**concurrent.LinkedQueue.offer(**Unknown
> >>> Source)[54:org.apache.felix.**eventadmin:1.3.0]
> >>> at
> >>> EDU.oswego.cs.dl.util.**concurrent.PooledExecutor.**execute(Unknown
> >>> Source)[54:org.apache.felix.**eventadmin:1.3.0]
> >>> at org.apache.felix.eventadmin.**impl.tasks.DefaultThreadPool.**
> >>> executeTask(DefaultThreadPool.**java:101)[54:org.apache.felix.**
> >>> eventadmin:1.3.0]
> >>> at org.apache.felix.eventadmin.**impl.tasks.AsyncDeliverTasks.**
> >>> execute(AsyncDeliverTasks.**java:105)[54:org.apache.felix.**
> >>> eventadmin:1.3.0]
> >>> at org.apache.felix.eventadmin.**impl.handler.EventAdminImpl.**
> >>> postEvent(EventAdminImpl.java:**100)[54:org.apache.felix.**
> >>> eventadmin:1.3.0]
> >>> at
> >>> org.apache.felix.eventadmin.**impl.adapter.**ServiceEventAdapter.**
> >>> serviceChanged(**ServiceEventAdapter.java:137)[**54:org.apache.felix.**
> >>> eventadmin:1.3.0]
> >>> at org.apache.felix.framework.**util.EventDispatcher.**
> >>> invokeServiceListenerCallback(**EventDispatcher.java:932)[org.**
> >>> apache.felix.framework-4.0.3.**jar:]
> >>> at org.apache.felix.framework.**util.EventDispatcher.**
> >>> fireEventImmediately(**EventDispatcher.java:793)[org.**
> >>> apache.felix.framework-4.0.3.**jar:]
> >>> at org.apache.felix.framework.**util.EventDispatcher.**
> >>> fireServiceEvent(**EventDispatcher.java:543)[org.**
> >>> apache.felix.framework-4.0.3.**jar:]
> >>> at org.apache.felix.framework.**Felix.fireServiceEvent(Felix.**
> >>> java:4260)[org.apache.felix.**framework-4.0.3.jar:]
> >>> at org.apache.felix.framework.**Felix.registerService(Felix.**
> >>> java:3275)[org.apache.felix.**framework-4.0.3.jar:]
> >>> at
> >>> org.apache.felix.framework.**BundleContextImpl.**registerService(**
> >>> BundleContextImpl.java:346)[**org.apache.felix.framework-4.**0.3.jar:]
> >>> at
> org.apache.felix.http.base.**internal.**HttpServiceController.**
> >>>
> register(**HttpServiceController.java:**135)[66:org.apache.felix.http.**
> >>> jetty:2.2.0]
> >>> at org.apache.felix.http.base.**internal.DispatcherServlet.**
> >>>
> init(DispatcherServlet.java:**48)[66:org.apache.felix.http.**jetty:2.2.0]
> >>> at org.mortbay.jetty.servlet.**ServletHolder.initServlet(**
> >>> ServletHolder.java:440)[66:**org.apache.felix.http.jetty:2.**2.0]
> >>> at org.mortbay.jetty.servlet.**ServletHolder.doStart(**
> >>> ServletHolder.java:263)[66:**org.apache.felix.http.jetty:2.**2.0]
> >>> at org.mortbay.component.**AbstractLifeCycle.start(**
> >>> AbstractLifeCycle.java:50)[66:**org.apache.felix.http.jetty:2.**2.0]
> >>> at org.mortbay.jetty.servlet.**ServletHandler.initialize(**
> >>> ServletHandler.java:685)[66:**org.apache.felix.http.jetty:2.**2.0]
> >>> at org.mortbay.jetty.servlet.**Context.startContext(Context.**
> >>> java:140)[66:org.apache.felix.**http.jetty:2.2.0]
> >>> at org.mortbay.jetty.handler.**ContextHandler.doStart(**
> >>> ContextHandler.java:517)[66:**org.apache.felix.http.jetty:2.**2.0]
> >>> at org.mortbay.component.**AbstractLifeCycle.start(**
> >>> AbstractLifeCycle.java:50)[66:**org.apache.felix.http.jetty:2.**2.0]
> >>> at org.mortbay.jetty.handler.**HandlerWrapper.doStart(**
> >>> HandlerWrapper.java:130)[66:**org.apache.felix.http.jetty:2.**2.0]
> >>> at org.mortbay.jetty.Server.**doStart(Server.java:224)[66:**
> >>> org.apache.felix.http.jetty:2.**2.0]
> >>> at org.mortbay.component.**AbstractLifeCycle.start(**
> >>> AbstractLifeCycle.java:50)[66:**org.apache.felix.http.jetty:2.**2.0]
> >>> at org.apache.felix.http.jetty.**internal.JettyService.**
> >>> initializeJetty(JettyService.**java:164)[66:org.apache.felix.**
> >>> http.jetty:2.2.0]
> >>> at org.apache.felix.http.jetty.**internal.JettyService.**
> >>> startJetty(JettyService.java:**115)[66:org.apache.felix.http.**
> >>> jetty:2.2.0]
> >>> at org.apache.felix.http.jetty.**internal.JettyService.run(**
> >>> JettyService.java:290)[66:org.**apache.felix.http.jetty:2.2.0]
> >>> at java.lang.Thread.run(Thread.**java:722)[:1.7.0_07]
> >>> 2012-12-11 16:30:04,132 | INFO | tty HTTP Service | jetty
> >>> | ? ? | 66 -
> >>> org.apache.felix.http.jetty - 2.2.0 | Started jetty 6.1.x at port(s)
> >>> HTTP:7979
> >>>
> >>>
> >>>
> ------------------------------**------------------------------**---------
> >>> To unsubscribe, e-mail:
> >>> users-unsubscribe@felix.**apache.org<
> users-unsubscribe@felix.apache.org>
> >>> For additional commands, e-mail: users-help@felix.apache.org
> >>>
> >>>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> >
> > For additional commands, e-mail: users-help@felix.apache.org
> >
>
>
>
> --
> Carsten Ziegeler
> cziegeler@apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
Re: InterruptedException throw by EventAdmin when Felix HTTP Service
2.2.0 starts
Posted by Carsten Ziegeler <cz...@apache.org>.
I'm not sure if this is a problem - but while the event admin tries to
deliver some events, the thread is interrupted by someone else (the
http bundle?) and this causes the reported log entry. Not sure if we
should catch this exception in the event admin and not propagate it?
Regards
Carsten
2013/1/7 Nick Smith <Ni...@techopfinance.com>:
> I think it may well be a bug as sometimes I have problems connecting to my
> server (via HTTP).
>
> I'll 'escalate' this to the developers list to see whats happens...
>
> Regards,
>
> Nick
>
>
> On 01/ 6/13 11:44 AM, LongkerDandy wrote:
>>
>> I'm also have the same problem here, latest felix framework with
>> http.jetty
>> 2.2.0.
>> Is this a Bug?
>>
>> On Tue, Dec 11, 2012 at 11:44 PM, Nick Smith
>> <Ni...@techopfinance.com>wrote:
>>
>>> Hi all,
>>>
>>> I'm seeing the exception below being consistently thrown by the
>>> EventAdmin
>>> when the Felix HTTP Service 2.2.0 starts.
>>>
>>> I'm using Karaf 2.3.0 (containing EventAdmin 1.3.0) and Felix HTTP 2.2.0
>>> (for which I require for the extended API for registering servlet
>>> filters).
>>>
>>> Is this exception only preventing the reporting of the HTTP service
>>> starting (as it's at WARN level at the HTTP service apparently starts),
>>> and
>>> if it is more serious does anyone have any suggestions on how to track
>>> down
>>> the cause of this exception?
>>>
>>> Many Thanks in Advance,
>>>
>>> Nick
>>>
>>> 2012-12-11 16:30:04,068 | WARN | tty HTTP Service | eventadmin
>>> | ? ? | 54 -
>>> org.apache.felix.eventadmin - 1.3.0 | EventAdmin: Exception:
>>> java.lang.InterruptedException
>>> java.lang.InterruptedException
>>> at EDU.oswego.cs.dl.util.**concurrent.LinkedQueue.offer(**Unknown
>>> Source)[54:org.apache.felix.**eventadmin:1.3.0]
>>> at
>>> EDU.oswego.cs.dl.util.**concurrent.PooledExecutor.**execute(Unknown
>>> Source)[54:org.apache.felix.**eventadmin:1.3.0]
>>> at org.apache.felix.eventadmin.**impl.tasks.DefaultThreadPool.**
>>> executeTask(DefaultThreadPool.**java:101)[54:org.apache.felix.**
>>> eventadmin:1.3.0]
>>> at org.apache.felix.eventadmin.**impl.tasks.AsyncDeliverTasks.**
>>> execute(AsyncDeliverTasks.**java:105)[54:org.apache.felix.**
>>> eventadmin:1.3.0]
>>> at org.apache.felix.eventadmin.**impl.handler.EventAdminImpl.**
>>> postEvent(EventAdminImpl.java:**100)[54:org.apache.felix.**
>>> eventadmin:1.3.0]
>>> at
>>> org.apache.felix.eventadmin.**impl.adapter.**ServiceEventAdapter.**
>>> serviceChanged(**ServiceEventAdapter.java:137)[**54:org.apache.felix.**
>>> eventadmin:1.3.0]
>>> at org.apache.felix.framework.**util.EventDispatcher.**
>>> invokeServiceListenerCallback(**EventDispatcher.java:932)[org.**
>>> apache.felix.framework-4.0.3.**jar:]
>>> at org.apache.felix.framework.**util.EventDispatcher.**
>>> fireEventImmediately(**EventDispatcher.java:793)[org.**
>>> apache.felix.framework-4.0.3.**jar:]
>>> at org.apache.felix.framework.**util.EventDispatcher.**
>>> fireServiceEvent(**EventDispatcher.java:543)[org.**
>>> apache.felix.framework-4.0.3.**jar:]
>>> at org.apache.felix.framework.**Felix.fireServiceEvent(Felix.**
>>> java:4260)[org.apache.felix.**framework-4.0.3.jar:]
>>> at org.apache.felix.framework.**Felix.registerService(Felix.**
>>> java:3275)[org.apache.felix.**framework-4.0.3.jar:]
>>> at
>>> org.apache.felix.framework.**BundleContextImpl.**registerService(**
>>> BundleContextImpl.java:346)[**org.apache.felix.framework-4.**0.3.jar:]
>>> at org.apache.felix.http.base.**internal.**HttpServiceController.**
>>> register(**HttpServiceController.java:**135)[66:org.apache.felix.http.**
>>> jetty:2.2.0]
>>> at org.apache.felix.http.base.**internal.DispatcherServlet.**
>>> init(DispatcherServlet.java:**48)[66:org.apache.felix.http.**jetty:2.2.0]
>>> at org.mortbay.jetty.servlet.**ServletHolder.initServlet(**
>>> ServletHolder.java:440)[66:**org.apache.felix.http.jetty:2.**2.0]
>>> at org.mortbay.jetty.servlet.**ServletHolder.doStart(**
>>> ServletHolder.java:263)[66:**org.apache.felix.http.jetty:2.**2.0]
>>> at org.mortbay.component.**AbstractLifeCycle.start(**
>>> AbstractLifeCycle.java:50)[66:**org.apache.felix.http.jetty:2.**2.0]
>>> at org.mortbay.jetty.servlet.**ServletHandler.initialize(**
>>> ServletHandler.java:685)[66:**org.apache.felix.http.jetty:2.**2.0]
>>> at org.mortbay.jetty.servlet.**Context.startContext(Context.**
>>> java:140)[66:org.apache.felix.**http.jetty:2.2.0]
>>> at org.mortbay.jetty.handler.**ContextHandler.doStart(**
>>> ContextHandler.java:517)[66:**org.apache.felix.http.jetty:2.**2.0]
>>> at org.mortbay.component.**AbstractLifeCycle.start(**
>>> AbstractLifeCycle.java:50)[66:**org.apache.felix.http.jetty:2.**2.0]
>>> at org.mortbay.jetty.handler.**HandlerWrapper.doStart(**
>>> HandlerWrapper.java:130)[66:**org.apache.felix.http.jetty:2.**2.0]
>>> at org.mortbay.jetty.Server.**doStart(Server.java:224)[66:**
>>> org.apache.felix.http.jetty:2.**2.0]
>>> at org.mortbay.component.**AbstractLifeCycle.start(**
>>> AbstractLifeCycle.java:50)[66:**org.apache.felix.http.jetty:2.**2.0]
>>> at org.apache.felix.http.jetty.**internal.JettyService.**
>>> initializeJetty(JettyService.**java:164)[66:org.apache.felix.**
>>> http.jetty:2.2.0]
>>> at org.apache.felix.http.jetty.**internal.JettyService.**
>>> startJetty(JettyService.java:**115)[66:org.apache.felix.http.**
>>> jetty:2.2.0]
>>> at org.apache.felix.http.jetty.**internal.JettyService.run(**
>>> JettyService.java:290)[66:org.**apache.felix.http.jetty:2.2.0]
>>> at java.lang.Thread.run(Thread.**java:722)[:1.7.0_07]
>>> 2012-12-11 16:30:04,132 | INFO | tty HTTP Service | jetty
>>> | ? ? | 66 -
>>> org.apache.felix.http.jetty - 2.2.0 | Started jetty 6.1.x at port(s)
>>> HTTP:7979
>>>
>>>
>>> ------------------------------**------------------------------**---------
>>> To unsubscribe, e-mail:
>>> users-unsubscribe@felix.**apache.org<us...@felix.apache.org>
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>
> For additional commands, e-mail: users-help@felix.apache.org
>
--
Carsten Ziegeler
cziegeler@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: InterruptedException throw by EventAdmin when Felix HTTP Service
2.2.0 starts
Posted by Nick Smith <Ni...@techopfinance.com>.
I think it may well be a bug as sometimes I have problems connecting to
my server (via HTTP).
I'll 'escalate' this to the developers list to see whats happens...
Regards,
Nick
On 01/ 6/13 11:44 AM, LongkerDandy wrote:
> I'm also have the same problem here, latest felix framework with http.jetty
> 2.2.0.
> Is this a Bug?
>
> On Tue, Dec 11, 2012 at 11:44 PM, Nick Smith
> <Ni...@techopfinance.com>wrote:
>
>> Hi all,
>>
>> I'm seeing the exception below being consistently thrown by the EventAdmin
>> when the Felix HTTP Service 2.2.0 starts.
>>
>> I'm using Karaf 2.3.0 (containing EventAdmin 1.3.0) and Felix HTTP 2.2.0
>> (for which I require for the extended API for registering servlet filters).
>>
>> Is this exception only preventing the reporting of the HTTP service
>> starting (as it's at WARN level at the HTTP service apparently starts), and
>> if it is more serious does anyone have any suggestions on how to track down
>> the cause of this exception?
>>
>> Many Thanks in Advance,
>>
>> Nick
>>
>> 2012-12-11 16:30:04,068 | WARN | tty HTTP Service | eventadmin
>> | ? ? | 54 -
>> org.apache.felix.eventadmin - 1.3.0 | EventAdmin: Exception:
>> java.lang.InterruptedException
>> java.lang.InterruptedException
>> at EDU.oswego.cs.dl.util.**concurrent.LinkedQueue.offer(**Unknown
>> Source)[54:org.apache.felix.**eventadmin:1.3.0]
>> at EDU.oswego.cs.dl.util.**concurrent.PooledExecutor.**execute(Unknown
>> Source)[54:org.apache.felix.**eventadmin:1.3.0]
>> at org.apache.felix.eventadmin.**impl.tasks.DefaultThreadPool.**
>> executeTask(DefaultThreadPool.**java:101)[54:org.apache.felix.**
>> eventadmin:1.3.0]
>> at org.apache.felix.eventadmin.**impl.tasks.AsyncDeliverTasks.**
>> execute(AsyncDeliverTasks.**java:105)[54:org.apache.felix.**
>> eventadmin:1.3.0]
>> at org.apache.felix.eventadmin.**impl.handler.EventAdminImpl.**
>> postEvent(EventAdminImpl.java:**100)[54:org.apache.felix.**
>> eventadmin:1.3.0]
>> at org.apache.felix.eventadmin.**impl.adapter.**ServiceEventAdapter.**
>> serviceChanged(**ServiceEventAdapter.java:137)[**54:org.apache.felix.**
>> eventadmin:1.3.0]
>> at org.apache.felix.framework.**util.EventDispatcher.**
>> invokeServiceListenerCallback(**EventDispatcher.java:932)[org.**
>> apache.felix.framework-4.0.3.**jar:]
>> at org.apache.felix.framework.**util.EventDispatcher.**
>> fireEventImmediately(**EventDispatcher.java:793)[org.**
>> apache.felix.framework-4.0.3.**jar:]
>> at org.apache.felix.framework.**util.EventDispatcher.**
>> fireServiceEvent(**EventDispatcher.java:543)[org.**
>> apache.felix.framework-4.0.3.**jar:]
>> at org.apache.felix.framework.**Felix.fireServiceEvent(Felix.**
>> java:4260)[org.apache.felix.**framework-4.0.3.jar:]
>> at org.apache.felix.framework.**Felix.registerService(Felix.**
>> java:3275)[org.apache.felix.**framework-4.0.3.jar:]
>> at org.apache.felix.framework.**BundleContextImpl.**registerService(**
>> BundleContextImpl.java:346)[**org.apache.felix.framework-4.**0.3.jar:]
>> at org.apache.felix.http.base.**internal.**HttpServiceController.**
>> register(**HttpServiceController.java:**135)[66:org.apache.felix.http.**
>> jetty:2.2.0]
>> at org.apache.felix.http.base.**internal.DispatcherServlet.**
>> init(DispatcherServlet.java:**48)[66:org.apache.felix.http.**jetty:2.2.0]
>> at org.mortbay.jetty.servlet.**ServletHolder.initServlet(**
>> ServletHolder.java:440)[66:**org.apache.felix.http.jetty:2.**2.0]
>> at org.mortbay.jetty.servlet.**ServletHolder.doStart(**
>> ServletHolder.java:263)[66:**org.apache.felix.http.jetty:2.**2.0]
>> at org.mortbay.component.**AbstractLifeCycle.start(**
>> AbstractLifeCycle.java:50)[66:**org.apache.felix.http.jetty:2.**2.0]
>> at org.mortbay.jetty.servlet.**ServletHandler.initialize(**
>> ServletHandler.java:685)[66:**org.apache.felix.http.jetty:2.**2.0]
>> at org.mortbay.jetty.servlet.**Context.startContext(Context.**
>> java:140)[66:org.apache.felix.**http.jetty:2.2.0]
>> at org.mortbay.jetty.handler.**ContextHandler.doStart(**
>> ContextHandler.java:517)[66:**org.apache.felix.http.jetty:2.**2.0]
>> at org.mortbay.component.**AbstractLifeCycle.start(**
>> AbstractLifeCycle.java:50)[66:**org.apache.felix.http.jetty:2.**2.0]
>> at org.mortbay.jetty.handler.**HandlerWrapper.doStart(**
>> HandlerWrapper.java:130)[66:**org.apache.felix.http.jetty:2.**2.0]
>> at org.mortbay.jetty.Server.**doStart(Server.java:224)[66:**
>> org.apache.felix.http.jetty:2.**2.0]
>> at org.mortbay.component.**AbstractLifeCycle.start(**
>> AbstractLifeCycle.java:50)[66:**org.apache.felix.http.jetty:2.**2.0]
>> at org.apache.felix.http.jetty.**internal.JettyService.**
>> initializeJetty(JettyService.**java:164)[66:org.apache.felix.**
>> http.jetty:2.2.0]
>> at org.apache.felix.http.jetty.**internal.JettyService.**
>> startJetty(JettyService.java:**115)[66:org.apache.felix.http.**
>> jetty:2.2.0]
>> at org.apache.felix.http.jetty.**internal.JettyService.run(**
>> JettyService.java:290)[66:org.**apache.felix.http.jetty:2.2.0]
>> at java.lang.Thread.run(Thread.**java:722)[:1.7.0_07]
>> 2012-12-11 16:30:04,132 | INFO | tty HTTP Service | jetty
>> | ? ? | 66 -
>> org.apache.felix.http.jetty - 2.2.0 | Started jetty 6.1.x at port(s)
>> HTTP:7979
>>
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: users-unsubscribe@felix.**apache.org<us...@felix.apache.org>
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: InterruptedException throw by EventAdmin when Felix HTTP Service
2.2.0 starts
Posted by LongkerDandy <lo...@gmail.com>.
I'm also have the same problem here, latest felix framework with http.jetty
2.2.0.
Is this a Bug?
On Tue, Dec 11, 2012 at 11:44 PM, Nick Smith
<Ni...@techopfinance.com>wrote:
> Hi all,
>
> I'm seeing the exception below being consistently thrown by the EventAdmin
> when the Felix HTTP Service 2.2.0 starts.
>
> I'm using Karaf 2.3.0 (containing EventAdmin 1.3.0) and Felix HTTP 2.2.0
> (for which I require for the extended API for registering servlet filters).
>
> Is this exception only preventing the reporting of the HTTP service
> starting (as it's at WARN level at the HTTP service apparently starts), and
> if it is more serious does anyone have any suggestions on how to track down
> the cause of this exception?
>
> Many Thanks in Advance,
>
> Nick
>
> 2012-12-11 16:30:04,068 | WARN | tty HTTP Service | eventadmin
> | ? ? | 54 -
> org.apache.felix.eventadmin - 1.3.0 | EventAdmin: Exception:
> java.lang.InterruptedException
> java.lang.InterruptedException
> at EDU.oswego.cs.dl.util.**concurrent.LinkedQueue.offer(**Unknown
> Source)[54:org.apache.felix.**eventadmin:1.3.0]
> at EDU.oswego.cs.dl.util.**concurrent.PooledExecutor.**execute(Unknown
> Source)[54:org.apache.felix.**eventadmin:1.3.0]
> at org.apache.felix.eventadmin.**impl.tasks.DefaultThreadPool.**
> executeTask(DefaultThreadPool.**java:101)[54:org.apache.felix.**
> eventadmin:1.3.0]
> at org.apache.felix.eventadmin.**impl.tasks.AsyncDeliverTasks.**
> execute(AsyncDeliverTasks.**java:105)[54:org.apache.felix.**
> eventadmin:1.3.0]
> at org.apache.felix.eventadmin.**impl.handler.EventAdminImpl.**
> postEvent(EventAdminImpl.java:**100)[54:org.apache.felix.**
> eventadmin:1.3.0]
> at org.apache.felix.eventadmin.**impl.adapter.**ServiceEventAdapter.**
> serviceChanged(**ServiceEventAdapter.java:137)[**54:org.apache.felix.**
> eventadmin:1.3.0]
> at org.apache.felix.framework.**util.EventDispatcher.**
> invokeServiceListenerCallback(**EventDispatcher.java:932)[org.**
> apache.felix.framework-4.0.3.**jar:]
> at org.apache.felix.framework.**util.EventDispatcher.**
> fireEventImmediately(**EventDispatcher.java:793)[org.**
> apache.felix.framework-4.0.3.**jar:]
> at org.apache.felix.framework.**util.EventDispatcher.**
> fireServiceEvent(**EventDispatcher.java:543)[org.**
> apache.felix.framework-4.0.3.**jar:]
> at org.apache.felix.framework.**Felix.fireServiceEvent(Felix.**
> java:4260)[org.apache.felix.**framework-4.0.3.jar:]
> at org.apache.felix.framework.**Felix.registerService(Felix.**
> java:3275)[org.apache.felix.**framework-4.0.3.jar:]
> at org.apache.felix.framework.**BundleContextImpl.**registerService(**
> BundleContextImpl.java:346)[**org.apache.felix.framework-4.**0.3.jar:]
> at org.apache.felix.http.base.**internal.**HttpServiceController.**
> register(**HttpServiceController.java:**135)[66:org.apache.felix.http.**
> jetty:2.2.0]
> at org.apache.felix.http.base.**internal.DispatcherServlet.**
> init(DispatcherServlet.java:**48)[66:org.apache.felix.http.**jetty:2.2.0]
> at org.mortbay.jetty.servlet.**ServletHolder.initServlet(**
> ServletHolder.java:440)[66:**org.apache.felix.http.jetty:2.**2.0]
> at org.mortbay.jetty.servlet.**ServletHolder.doStart(**
> ServletHolder.java:263)[66:**org.apache.felix.http.jetty:2.**2.0]
> at org.mortbay.component.**AbstractLifeCycle.start(**
> AbstractLifeCycle.java:50)[66:**org.apache.felix.http.jetty:2.**2.0]
> at org.mortbay.jetty.servlet.**ServletHandler.initialize(**
> ServletHandler.java:685)[66:**org.apache.felix.http.jetty:2.**2.0]
> at org.mortbay.jetty.servlet.**Context.startContext(Context.**
> java:140)[66:org.apache.felix.**http.jetty:2.2.0]
> at org.mortbay.jetty.handler.**ContextHandler.doStart(**
> ContextHandler.java:517)[66:**org.apache.felix.http.jetty:2.**2.0]
> at org.mortbay.component.**AbstractLifeCycle.start(**
> AbstractLifeCycle.java:50)[66:**org.apache.felix.http.jetty:2.**2.0]
> at org.mortbay.jetty.handler.**HandlerWrapper.doStart(**
> HandlerWrapper.java:130)[66:**org.apache.felix.http.jetty:2.**2.0]
> at org.mortbay.jetty.Server.**doStart(Server.java:224)[66:**
> org.apache.felix.http.jetty:2.**2.0]
> at org.mortbay.component.**AbstractLifeCycle.start(**
> AbstractLifeCycle.java:50)[66:**org.apache.felix.http.jetty:2.**2.0]
> at org.apache.felix.http.jetty.**internal.JettyService.**
> initializeJetty(JettyService.**java:164)[66:org.apache.felix.**
> http.jetty:2.2.0]
> at org.apache.felix.http.jetty.**internal.JettyService.**
> startJetty(JettyService.java:**115)[66:org.apache.felix.http.**
> jetty:2.2.0]
> at org.apache.felix.http.jetty.**internal.JettyService.run(**
> JettyService.java:290)[66:org.**apache.felix.http.jetty:2.2.0]
> at java.lang.Thread.run(Thread.**java:722)[:1.7.0_07]
> 2012-12-11 16:30:04,132 | INFO | tty HTTP Service | jetty
> | ? ? | 66 -
> org.apache.felix.http.jetty - 2.2.0 | Started jetty 6.1.x at port(s)
> HTTP:7979
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@felix.**apache.org<us...@felix.apache.org>
> For additional commands, e-mail: users-help@felix.apache.org
>
>