Hi -

 

I am trying to run a simple declarative service example within Felix OSGi
runtime,  but I notice the following :-

 

1)      My services bundle get deployed with status Active yet "services"
command from OSGi prompt,  doesn't show me my service. My bundle was tested
within Eclipse Equinox and it worked correctly and also displayed my
services.

 

2)      I also observed that in the bundle directory I have the following
OSGi bundles and both of them seems to export the same packages: -

a.       org.apache.felix.scr-0.9.0-incubator-SNAPSHOT   EXPORTS  

                                                              i.
org.osgi.service.component

                                                            ii.
org.osgi.service.cm

b.      org.osgi.compendium-0.9.0-incubator-SNAPSHOT EXPORTS

                                                              i.
org.osgi.service.component

                                                            ii.
org.osgi.service.cm

 

Since I am using the preference services I have to use the
"org.osgi.compendium-0.9.0-incubator-SNAPSHOT" bundle and in order to use
declarative services I am using the
"org.apache.felix.scr-0.9.0-incubator-SNAPSHOT   " bundle.  I assume that
since the same packages are being exported by two bundles it's a potential
problem. 

 

Can someone help me out with the issue as to why I am unable to run the
declarative service bundle inside Felix?

 

Best Regards,

Dev

 

 

Reply via email to