enonic / xp

Enonic XP
https://enonic.com
GNU General Public License v3.0
202 stars 34 forks source link

Rest services & trackers ordering #7015

Closed GlennRicaud closed 4 years ago

GlennRicaud commented 5 years ago

https://enonic.zendesk.com/agent/tickets/2816

GlennRicaud commented 5 years ago

This kind of problem has happened multiple times over a long time now but the causes are not necessarily the same.

The problem is the following We have Admin/Api rest resources not available on the servlet. The problem always happen on the startup of a server. It is random and is solved by a restart. When checking the state Admin/Api JaxRsComponents they state is either inactive (for a specific reason, like an unhealthy cluster for example). But in this ticket they seem to be active.

I cannot reproduce the state described in the ticket (ignore my comment in ticket).

Nothing found from reading the code. But it is true that the way to keep track of the JaxRsComponents is different there. If we do not manage to reproduce in-house and the problem happens again, I propose to refactor to have a classic registration of the JaxRsComponents.

I set the milestone to 7.1

GlennRicaud commented 4 years ago

Duplicated https://github.com/enonic/xp/issues/6517#issuecomment-591389680