You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by David Leangen <ap...@leangen.net> on 2016/02/27 09:28:04 UTC
Missing java.util.concurrent.Executor
Hi!
For some reason, java.util.concurrent.Executor does not seem to be in my Karaf runtime (scr:info below).
Any idea why, and how I can fix the problem?
Thanks!
=David
> Component Description:
> Name: osgi.enroute.simple.server
> Default State: enabled
> Activation: immediate
> Configuration Policy: optional
> Activate Method: activate
> Deactivate Method: deactivate
> Modified Method: -
> Configuration Pid: [osgi.enroute.simple.server]
> Services:
> javax.servlet.Servlet
> Service Scope: singleton
> Reference: Coordinator
> Interface Name: org.osgi.service.coordinator.Coordinator
> Cardinality: 1..1
> Policy: static
> Policy option: reluctant
> Reference Scope: bundle
> Reference: DTOs
> Interface Name: osgi.enroute.dto.api.DTOs
> Cardinality: 1..1
> Policy: static
> Policy option: reluctant
> Reference Scope: bundle
> Reference: Executor
> Interface Name: java.util.concurrent.Executor
> Cardinality: 1..1
> Policy: static
> Policy option: reluctant
> Reference Scope: bundle
> Reference: Log
> Interface Name: org.osgi.service.log.LogService
> Cardinality: 1..1
> Policy: static
> Policy option: reluctant
> Reference Scope: bundle
> Properties:
> name = osgi.enroute.simple.server
> no.index = true
> osgi.http.whiteboard.context.path = /
> osgi.http.whiteboard.servlet.pattern = [/osgi.enroute.webresource, /osgi.enroute.contributions, /bnd]
> Component Configuration:
> ComponentId: 15
> State: unsatisfied reference
> SatisfiedReference: Coordinator
> Target: null
> (unbound)
> SatisfiedReference: DTOs
> Target: null
> (unbound)
> SatisfiedReference: Log
> Target: null
> (unbound)
> UnsatisfiedReference: Executor
> Target: null
> (no target services)
> Properties:
> component.id = 15
> component.name = osgi.enroute.simple.server
> name = osgi.enroute.simple.server
> no.index = true
> osgi.http.whiteboard.context.path = /
> osgi.http.whiteboard.servlet.pattern = [/osgi.enroute.webresource, /bnd, /osgi.enroute.contributions]
> service.pid = osgi.enroute.simple.server
Re: Missing java.util.concurrent.Executor
Posted by David Leangen <ap...@leangen.net>.
Never mind. :-)
Turns out to be a missing requirement, which I was able to locate.
Cheers,
=David
> On Feb 27, 2016, at 5:28 PM, David Leangen <ap...@leangen.net> wrote:
>
>
> Hi!
>
> For some reason, java.util.concurrent.Executor does not seem to be in my Karaf runtime (scr:info below).
>
> Any idea why, and how I can fix the problem?
>
>
> Thanks!
> =David
>
>
>
>> Component Description:
>> Name: osgi.enroute.simple.server
>> Default State: enabled
>> Activation: immediate
>> Configuration Policy: optional
>> Activate Method: activate
>> Deactivate Method: deactivate
>> Modified Method: -
>> Configuration Pid: [osgi.enroute.simple.server]
>> Services:
>> javax.servlet.Servlet
>> Service Scope: singleton
>> Reference: Coordinator
>> Interface Name: org.osgi.service.coordinator.Coordinator
>> Cardinality: 1..1
>> Policy: static
>> Policy option: reluctant
>> Reference Scope: bundle
>> Reference: DTOs
>> Interface Name: osgi.enroute.dto.api.DTOs
>> Cardinality: 1..1
>> Policy: static
>> Policy option: reluctant
>> Reference Scope: bundle
>> Reference: Executor
>> Interface Name: java.util.concurrent.Executor
>> Cardinality: 1..1
>> Policy: static
>> Policy option: reluctant
>> Reference Scope: bundle
>> Reference: Log
>> Interface Name: org.osgi.service.log.LogService
>> Cardinality: 1..1
>> Policy: static
>> Policy option: reluctant
>> Reference Scope: bundle
>> Properties:
>> name = osgi.enroute.simple.server
>> no.index = true
>> osgi.http.whiteboard.context.path = /
>> osgi.http.whiteboard.servlet.pattern = [/osgi.enroute.webresource, /osgi.enroute.contributions, /bnd]
>> Component Configuration:
>> ComponentId: 15
>> State: unsatisfied reference
>> SatisfiedReference: Coordinator
>> Target: null
>> (unbound)
>> SatisfiedReference: DTOs
>> Target: null
>> (unbound)
>> SatisfiedReference: Log
>> Target: null
>> (unbound)
>> UnsatisfiedReference: Executor
>> Target: null
>> (no target services)
>> Properties:
>> component.id = 15
>> component.name = osgi.enroute.simple.server
>> name = osgi.enroute.simple.server
>> no.index = true
>> osgi.http.whiteboard.context.path = /
>> osgi.http.whiteboard.servlet.pattern = [/osgi.enroute.webresource, /bnd, /osgi.enroute.contributions]
>> service.pid = osgi.enroute.simple.server
>
>
>