Hi Olivier,

Thanks for the response. We are building a Karaf based service which uses
Sling-Event-JobManager. Following are the steps we followed
* Referred to github feature.xml
https://github.com/apache/sling/blob/trunk/contrib/launchpad/karaf/org.apache.sling.launchpad.karaf-features/src/main/feature/feature.xml
and in our Karaf project added following features as dependency (in our
feature.xml)
* sling
* sling-commons-scheduler
*sling-commons-threads
* sling-extension-discovery
* sling-extension-discovery-impl
* sling-extension-event

and added sling-extension-event in our feature definition as below
<feature name='jobmanager-consumer' version='${project.version}'
description='jobmanager :: consumer'>
<feature version='${feature.version}'>sling-extension-event</feature>
<bundle>mvn:com..jobmgr/jobmanager-consumer/1.0.0-SNAPSHOT</bundle>
</feature>

We did not add any other features from the github link above as we are more
interested in the sling.event.* bundle. So added only yhe dependencies for
this specific bundle.

Further we installed our feature and on observing at webconsole we found
the error mentioned in the mail above.
My initial suspicion was that JobManagerConfiguration is failing due to
some file system permission issue, but as a super user as well we could not
bring it up. I also looked into Karaf log and could not see any error
scenarios logged in JobManagerConfiguration. So currently I am suspecting
that some dependent bundle is not started (like EnvironmentComponent,
ResourceResolverFactory , QueueConfigurationManager etc).

Kindly let me know if the steps followed is correct.

Regards




On Thu, Jul 7, 2016 at 7:51 PM, Oliver Lietz [via Apache Sling] <
ml-node+s73963n4062278...@n3.nabble.com> wrote:

> On Thursday 07 July 2016 06:25:17 mknair wrote:
> > I am trying to use Sling JobManager with Apache Karaf and trying out a
> > program as described here ().
>
> Where?
>
> > After installing the features, I am getting the following error
>
> Which features?
>
> > ["Unsatisfied","Service Name:
> >
> org.apache.sling.event.impl.jobs.config.JobManagerConfiguration","Multiple:
> > single","Optional: mandatory","Policy: static","No Services bound"]
> > Any one encountered this error before ? Appreciate your help.
>
> No. Works fine with latest Lauchpad Karaf Features/Distribution (sling-
> launchpad-oak-tar and sling-extension-event).
>
> Regards,
> O.
>
> > Regards
> >
> >
> >
> > --
> > View this message in context:
> >
> http://apache-sling.73963.n3.nabble.com/Sling-JobManager-With-Karaf-Unsatis
> > fied-status-for-JobManagerConfiguration-tp4062265.html Sent from the
> Sling -
> > Users mailing list archive at Nabble.com.
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-sling.73963.n3.nabble.com/Sling-JobManager-With-Karaf-Unsatisfied-status-for-JobManagerConfiguration-tp4062265p4062278.html
> To unsubscribe from Sling JobManager With Karaf "Unsatisfied" status for
> JobManagerConfiguration, click here
> <http://apache-sling.73963.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4062265&code=bWtuYWlyQGdtYWlsLmNvbXw0MDYyMjY1fDMxOTYwODE3>
> .
> NAML
> <http://apache-sling.73963.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://apache-sling.73963.n3.nabble.com/Sling-JobManager-With-Karaf-Unsatisfied-status-for-JobManagerConfiguration-tp4062265p4062279.html
Sent from the Sling - Users mailing list archive at Nabble.com.

Reply via email to