changing run level on a live server = disaster. Felix is simply bad.
On Wed, Aug 22, 2012 at 5:03 AM, Carsten Ziegeler <[email protected]>wrote: > Why not simply decreasing the start level that only the web console > runs, installing the new stuff, and increasing the start level again? > > Carsten > > 2012/8/22 Bertrand Delacretaz <[email protected]>: > > On Tue, Aug 21, 2012 at 11:02 PM, Sam Lee <[email protected]> wrote: > >> The component gets disabled during deployment :P. > >> > >> Maybe I need to create a separate OSGi bundle for this.... > > > > Yes, if the bundle that contains your filter is affected by upgrades > > that will stop the filter ;-) > > > > BTW I just remembered that we do have such a filter in Sling, see > > > https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/startup-filter > > and SLING-2347 - sorry that I didn't mention that earlier. > > > > The use case is slightly different but that might be useful. > > > > -Bertrand > > > > -- > Carsten Ziegeler > [email protected] >
