[ 
https://issues.apache.org/jira/browse/SLING-5745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15731513#comment-15731513
 ] 

Felix Meschberger commented on SLING-5745:
------------------------------------------

Nice workaround, but ...

Why is the state corrupt in the first place ? I strongly suggest to fix the 
problem and hold back with symptom touching on a broad basis.

If we cannot make the state stable, the bundle must be modified to deal with 
corrupt state.

> Provide a button to clear all registered entities and reinstall those
> ---------------------------------------------------------------------
>
>                 Key: SLING-5745
>                 URL: https://issues.apache.org/jira/browse/SLING-5745
>             Project: Sling
>          Issue Type: Improvement
>          Components: Installer
>    Affects Versions: Installer Console 1.0.2
>            Reporter: Konrad Windszus
>
> Currently the web console at {{/system/console/osgi-installer}} exposes the 
> history/state of the OSGi installer. In case the state is not reflecting 
> reality for some reason, there should be a possibility to remove that history 
> and restart the according bundles with a button inside that console.
> The actions which should be triggered under the hood should be
> # remove the data file {{RegisteredResourceList.ser}}
> # restart the bundle {{org.apache.sling.installer.core}}
> That should lead to every provider being asked about all entities which are 
> then processed again so you end up with state again where the most 
> prioritized entites are deployed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to