I noticed that the trunk currently has Karaf configured to use the
Equinox framework. (Shouldn't we be eating our own dog food?)
karaf/assembly/src/main/filtered-resources/etc/config.properties:
karaf.framework=equinox
When I changed this to felix, I get the following error in Karaf.
ERROR: Error starting
mvn:org.osgi/org.osgi.impl.bundle.jmx/4.2.0.200907080519
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.osgi.impl.bundle.jmx [19]: package;
(&(package=org.osgi.util.tracker)(version>=1.4.0)(!(version>=2.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.osgi.impl.bundle.jmx [19]: package;
(&(package=org.osgi.util.tracker)(version>=1.4.0)(!(version>=2.0.0)))
at
org.apache.felix.framework.Felix.resolveBundle(Felix.java:3393)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
at java.lang.Thread.run(Thread.java:619)
The system bundle is exporting org.osgi.util.tracker,version=1.3.3 which
(I think) is in the default setting of
org.osgi.framework.system.packages.
Should the version number of org.osgi.util.tracker be changed to 1.4.0?
I think that it was explicitly set to that in earlier versions of
config.properties. As a work-around, adding "org.osgi.util.tracker;
version=1.4.0" to org.osgi.framework.system.packages.extra fixes the
problem.
Tim Moloney The reasonable man adapts himself to
MRSL the world; the unreasonable one persists
2015 Cattlemen Road in trying to adapt the world to himself.
Sarasota, FL 34232 Therefore all progress depends on the
(941) 377-6775 x208 unreasonable man. George Bernard Shaw