Re: Is EventAdmin-1.4.6 really loosing events?

2017-11-29 Thread Erwin Hogeweg
Carsten, Ugh… good point. Well, case closed I guess? :-) Thanks for your help Carsten. Erwin > On Nov 29, 2017, at 10:02, Carsten Ziegeler wrote: > > Hi, > > actually I think this is more or less ok. The events are posted from the > same thread and event admin requires them to be delivered

Re: Is EventAdmin-1.4.6 really loosing events?

2017-11-29 Thread Carsten Ziegeler
Hi, actually I think this is more or less ok. The events are posted from the same thread and event admin requires them to be delivered in the order they are posted. So if one listener is blocking, then delivery of all other events initiated from the same thread are blocked. Regards Carsten Car

Re: Is EventAdmin-1.4.6 really loosing events?

2017-11-29 Thread Carsten Ziegeler
Hi Erwin, ah sorry, right :) I was reading modulo 10 instead of equals 10... Yes, you're absolutely right in this case, that should not happen. This looks like a problem in postEvent somewhere Carsten Erwin Hogeweg wrote > Hi Carsten, > > Sorry, I think didn’t make myself clear. > > I am on

Re: Is EventAdmin-1.4.6 really loosing events?

2017-11-29 Thread Erwin Hogeweg
Hi Carsten, Sorry, I think didn’t make myself clear. I am only replacing ONE listener with a BlockingListener, and then I am blocking ONE event delivery. So I do expect to loose ONE event, not 70k… Or am I missing something? Erwin @Test public void testEventing() throws Exception {

Re: Is EventAdmin-1.4.6 really loosing events?

2017-11-29 Thread Carsten Ziegeler
Thanks I'm not sure if event admin could/should do anything in this case. Each blocking listener takes away one thread from the thread pool. As soon as you have as many blocking listeners as the pool has threads, event admin will not deliver any event anymore Regards Carsten Erwin Hogeweg wrot

Re: Is EventAdmin-1.4.6 really loosing events?

2017-11-29 Thread Erwin Hogeweg
Hi Carsten, After analyzing a bunch of log files we found some evidence that suggested that an EventAdminThread might be blocked. I was able to duplicate it with a JUnit test. I created a BlockingListener with extends Listener and override the handleEvent() method. As you can see below we are

Re: Is EventAdmin-1.4.6 really loosing events?

2017-11-15 Thread Carsten Ziegeler
Hi, we haven't experienced anything like this so far and I wouldn't know if any better out of the box way to trouble shoot. I guess the best would be to add additional logging to event admin, so you can follow what's happening inside event admin. If it is somehow reproducible, then switching from

Is EventAdmin-1.4.6 really loosing events?

2017-11-15 Thread Erwin Hogeweg
Hi, I have a really bizarre problem. It looks like the eventAdmin is intermittent but frequently loosing events. I find this very hard to believe but the evidence seems to support my suspicion. I spit out a log msgs just before the event is posted and also when the event is handled. There is o