You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Bertrand Delacretaz <bd...@apache.org> on 2010/12/01 08:57:22 UTC

Re: Unsatisfied service

Hi,

On Tue, Nov 30, 2010 at 11:11 PM, Mike Müller <mi...@mysign.ch> wrote:
>...
> @Reference
> private ResourceResolverFactory resourceResolverFactory;
>
> If I install this bundle, the VelocityScriptEngineService stays
> "unsatisfied" but JcrResourceResolverFactoryImpl which implements
> ResourceResolverFactory is correctly installed (SlingServletResolver has
> a reference to ResourceResolverFactory as well, but is active...)
> Any hint?...

I've seen that sometimes when the activate() method of the component
throws an exception.

-Bertrand

RE: Unsatisfied service

Posted by Mike Müller <mi...@mysign.ch>.
Hi Bertrand

> > @Reference
> > private ResourceResolverFactory resourceResolverFactory;
> >
> > If I install this bundle, the VelocityScriptEngineService stays
> > "unsatisfied" but JcrResourceResolverFactoryImpl which implements
> > ResourceResolverFactory is correctly installed (SlingServletResolver has
> > a reference to ResourceResolverFactory as well, but is active...)
> > Any hint?...
> 
> I've seen that sometimes when the activate() method of the component
> throws an exception.
> 
> -Bertrand

Thanks for the pointer. That was really the case here, must have been too
late yesterday...

best regards
mike