I need some help understanding what is wrong with how I have configured my 
dynamic services in karaf.  
Why is the service not imported when my bundle 
(com.easa.motordb.server.services) starts?karaf@root()> bundle:info 152
com.easa.motordb.server.services 
(152)--------------------------------------karaf@root()>

my manifest has the line :Service-Component: OSGI-INF/AcrServices-ref.xml
the contents of OSGI-INF/AcrServices-ref.xml are:<?xml version="1.0" 
encoding="UTF-8"?><scr:component 
xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0"; 
name="com.easa.motordb.server.services.LookupServices-ref">   <implementation 
class="com.easa.motordb.server.services.Activator"/>   <reference 
bind="bindAcMotor" cardinality="1..1" 
interface="com.easa.acmotor.model.IAcMotorEntity" name="IAcMotorEntity" 
policy="static" unbind="unbindAcMotor"/></scr:component>
The following service registration from another bundle has already 
happened:karaf@root()> service:list 
com.easa.acmotor.model.IAcMotorEntity[com.easa.acmotor.model.IAcMotorEntity]---------------------------------------
 osgi.service.blueprint.compname = acrEntityImpl service.id = 819Provided by : 
com.easa.acmotor.server.services (153)
                                          

Reply via email to