On 2016-08-01T18:26:33 +0200 Simon Chemouil <[email protected]> wrote:
> [email protected] a écrit le 01/08/2016 18:16 : > > I don't see a compiled bundle anywhere, only source code. Is there one > > available, or do I need to build it? > > http://felix.apache.org/downloads.cgi > > or straight from Maven Central. > > It's also good to have an implementation of Metatype and of the > LogService when you use Felix SCR, since it will complain (but not fail) > the former is missing, and uses the latter for logging. Thank you. Somehow failed to see that the links on that page were binaries (was looking at the source jars to the right). On adding the declarative services bundle, I ran across the following: Caused by: java.lang.ClassNotFoundException: *** Class 'org.osgi.service.cm.ConfigurationListener' was not found. Bundle org.apache.felix.scr [7] does not import package 'org.osgi.service.cm', nor is the package exported by any other bundle or available from the system class loader. *** Some checking online indicated that I needed the configuration admin bundle. I now have these bundles installed: g! lb START LEVEL 1 ID|State |Level|Name 0|Active | 0|System Bundle (5.4.0)|5.4.0 1|Active | 1|Apache Felix Bundle Repository (2.0.6)|2.0.6 2|Active | 1|Apache Felix Configuration Admin Service (1.8.10)|1.8.10 3|Active | 1|Apache Felix Gogo Command (0.16.0)|0.16.0 4|Active | 1|Apache Felix Gogo Runtime (0.16.2)|0.16.2 5|Active | 1|Apache Felix Gogo Shell (0.10.0)|0.10.0 6|Active | 1|Apache Felix Log Service (1.0.1)|1.0.1 7|Active | 1|Apache Felix Metatype Service (1.1.2)|1.1.2 8|Active | 1|Apache Felix Declarative Services (2.0.4)|2.0.4 However, this hasn't solved the original problem: g! install service0-provider-declarative/target/service0-provider-declarative-0.1.0.jar Bundle ID: 9 g! start 9 DEBUG: WIRE: [com.io7m.experimental.service0-provider-declarative [9](R 9.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8)) -> [org.apache.felix.framework [0](R 0)] g! lb START LEVEL 1 ID|State |Level|Name 0|Active | 0|System Bundle (5.4.0)|5.4.0 1|Active | 1|Apache Felix Bundle Repository (2.0.6)|2.0.6 2|Active | 1|Apache Felix Configuration Admin Service (1.8.10)|1.8.10 3|Active | 1|Apache Felix Gogo Command (0.16.0)|0.16.0 4|Active | 1|Apache Felix Gogo Runtime (0.16.2)|0.16.2 5|Active | 1|Apache Felix Gogo Shell (0.10.0)|0.10.0 6|Active | 1|Apache Felix Log Service (1.0.1)|1.0.1 7|Active | 1|Apache Felix Metatype Service (1.1.2)|1.1.2 8|Active | 1|Apache Felix Declarative Services (2.0.4)|2.0.4 9|Active | 1|service0-provider-declarative (0.1.0)|0.1.0 The service0-provider-declarative bundle appears to be running, but none of the methods have been called. M
pgpML4pv6CmKr.pgp
Description: OpenPGP digital signature

