Event admin blacklisting?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Event admin blacklisting?

Scott

I’m having an issue where events stop getting delivered to a bundle the cause of which appears to be the following?  Everything works perfectly until this occurs?  What is the timeout it’s complaining about?  This is 4.2.0 btw.

 

Scott

 

2018-06-06T00:30:51,260 | WARN  | Thread-1         | eventadmin                       | 3 - org.apache.karaf.services.eventadmin - 4.2.0 | EventAdmin: Blacklisting ServiceReference [[org.osgi.service.event.EventHandler] | Bundle(medline.mail [146])] due to timeout!

2018-06-06T00:30:51,338 | WARN  | EventAdminThread #19 | eventadmin                       | 3 - org.apache.karaf.services.eventadmin - 4.2.0 | EventAdmin: Blacklisting ServiceReference [[org.osgi.service.event.EventHandler] | Bundle(medline.mail [146])] due to timeout!

Reply | Threaded
Open this post in threaded view
|

Re: Event admin blacklisting?

Benjamin Graf
Hi Scott,

timeout for blacklisting is 5000ms. (see
http://felix.apache.org/documentation/subprojects/apache-felix-event-admin.html)

Regards

Benjamin


Am 13.06.2018 um 17:41 schrieb Leschke, Scott:
> I'm having an issue where events stop getting delivered to a bundle the cause of which appears to be the following?  Everything works perfectly until this occurs?  What is the timeout it's complaining about?  This is 4.2.0 btw.
>
> Scott
>
> 2018-06-06T00:30:51,260 | WARN  | Thread-1         | eventadmin                       | 3 - org.apache.karaf.services.eventadmin - 4.2.0 | EventAdmin: Blacklisting ServiceReference [[org.osgi.service.event.EventHandler] | Bundle(medline.mail [146])] due to timeout!
> 2018-06-06T00:30:51,338 | WARN  | EventAdminThread #19 | eventadmin                       | 3 - org.apache.karaf.services.eventadmin - 4.2.0 | EventAdmin: Blacklisting ServiceReference [[org.osgi.service.event.EventHandler] | Bundle(medline.mail [146])] due to timeout!
>



signature.asc (565 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Event admin blacklisting?

Scott

I’m still having some issues with this.  I have a 2 (maybe 3) event handlers in my app and I’ve recently started having blacklist issues.  I don’t know what’s causing it since the handlers themselves haven’t changed and should run very quickly, probably under a 10 millis or so in most cases.

 

Anyway, per Ben Graf’s response below, I updated  file org.apache.felix.eventadmin.impl.EventAdmin.cfg with the following line:

 

org.apache.felix.eventadmin.IgnoreTimeout=com.medline.*

 

Given the description of the property, I expected this to cover all the event handlers in my app but I’m still seeing at least one of the handlers get blacklisted.  Is the syntax wrong or are there any other recommendations regarding this?

 

Thanks in advance,

Scott

 

From: Benjamin Graf [mailto:[hidden email]]
Sent: Wednesday, June 13, 2018 11:16 AM
To: [hidden email]
Subject: Re: Event admin blacklisting?

Hi Scott,

timeout for blacklisting is 5000ms. (see
http://felix.apache.org/documentation/subprojects/apache-felix-event-admin.html)

Regards

Benjamin


Am 13.06.2018 um 17:41 schrieb Leschke, Scott:
>  I'm having an issue where events sto