I've found something very disturbing, I need to rollback to Karaf 4.1.3 and
redo the tests.

I've seen that my SessionListener is registered *twice*. I've quickly
started 4.1.3 locally and confirmed, there the SessionListener is called
only once. 

But to find out, if doubling of SessionListener is responsible for the
problem with Jetty I need to rollback the whole CI pipeline configuration
and produce Karaf 4.1.3-based docker image...

This is how I register the session listener:

        ((WebContainer) /*org.osgi.service.http.HttpService*/
httpService).registerEventListener((EventListener) resource,
/*org.osgi.service.http.HttpContext*/ httpContext);

I've added logging before that instruction, so I can confirm, that I call
registerEventListener only once. 





--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Reply via email to