See inline On Friday, July 9, 2021 at 9:33:42 AM UTC-4 [email protected] wrote:
> Hello > > Here the issue is (was as I reworked code to get around this) that the >> baseSessionTenantHelper would get bounced and recreated and the >> TenantFilter was not following correctly. >> > > If I understand correctly, you know that AdminBroker and > BaseSessionTenantHelper OSGi services are re-registered, but there's only > one TenantFilter filter, right? > Both of these components could possible get re-registered but here the situation was with BaseSessionTenantHelper. In sequence, a re-registration will first trigger a deactivation, like here of TenantFilter. At that point you need to get rid of any reference to it as it has been deactivated and can't be reused, and maybe it will never get re-activated, we can't know for sure. Later, when the service activation conditions are met again (like one service somewhere went away and is now back online), then a new TenantFilter will get activated and should become active and used by the whiteboard. This bouncing can potentially happen many times, due to configuration changes (that was my case here), dynamically loading a new version of a service, etc. > This matches my understanding of Pax Web 7 (and earlier) that doesn't take > the scope of Whiteboard service into account and simply gets a service from > the reference ONCE... But I'd have to check the theory in more details. > > Because it should be easier now to create a Pax Web ticket (after I moved > the issues from Jira ot GH), please create an issue under > https://github.com/ops4j/org.ops4j.pax.web/issues ok? > > regards > Grzegorz Grzybek > > > -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/66906ee0-357a-4d12-9154-09f9a251610bn%40googlegroups.com.
