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 only one eventHandler for this topic, and sure enough 
every now and again I see and event be posted but it never comes out at the 
other end.

I have the event admin log level set to 4, but there aren’t any msgs to 
indicate that something wrong.

I am really at a loss here. Any suggestions for further trouble shooting would 
be greatly appreciated.

BTW… this seems to happen (and gradually increase) after the system has been up 
for several weeks which points in the direction of a resource leak, but I don’t 
see that either.


Regards,

Erwin

Java8
EventAdmin-1.4.6
Equinox: 3.10.2.v20150203-1939

Producer side:
...
    if (eventAdmin != null) {
        if (LOG.isDebugEnabled()) {
            LOG.debug("Posting: " + newEvent);
        }
        eventAdmin.postEvent(newEvent);
    } else {
        LOG.error("eventAdmin is null.");
    }


Consumer side:
    @Override
    public void handleEvent( Event event ) {
    LOG.info<http://LOG.info>("handleEvent: " + event);
...

Erwin Hogeweg
CTO
3690 Airport Road
Boca Raton, FL 33431
P. +1 (954) 556-6565
M. +1 (561) 306-7395
F. +1 (561) 948-2730
[Seecago]<http://www.seecago.com>

Reply via email to