Neil Bartlett wrote
> For what it’s worth, I’ve long had in the back of my mind an idea to develop 
> a DS diagnostic command that could try to work out for you exactly why a DS 
> component is inactive.
> 
> For example it could look at the Configuration Policy and then the set of 
> available PIDs in Config Admin and report that the configuration seems to be 
> missing.
> 
> Or it could notice unsatisfied service references, and follow those to some 
> other component that should provide the service but is inactive… and so on, 
> down the chain. Of course this would not work with services that are 
> published programmatically but it would still provide a lot of useful 
> information.
> 
> It wouldn’t even be too hard to code this, given the existence of ScrService 
> for introspection.
> 
Yes, I've been thinking about something like this for a long time as
well. Would be nice to have it.
Minor nitpick, I think one should base it in the specified
ServiceComponentRuntime and the DTOs :)

Carsten
-- 
Carsten Ziegeler
Adobe Research Switzerland
cziege...@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to