I downloaded the 10 Minute Tutorial and got the following errors when I ran
'java -jar bin\felix.jar'
ERROR: Bundle org.apache.felix.ipojo [5] Error starting
file:/C:/Java/org.apache.felix.ipojo.distribution.10mintutorial-1.11.2/ipojo-distribution-1.11.2/bundle/
org.apache.felix.ipojo-1.11.2.jar (org.osgi.framework.BundleException:
Unresolved constraint in bundle org.apache.felix.ipojo [5]: Unable to resolve
5.0: missin
g requirement [5.0] osgi.wiring.package;
(&(osgi.wiring.package=org.osgi.service.cm)(version>=1.3.0)(!(version>=2.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.felix.ipojo [5]: Unable to resolve 5.0: missing requirement [5.0]
osgi.wiring.pac
kage;
(&(osgi.wiring.package=org.osgi.service.cm)(version>=1.3.0)(!(version>=2.0.0)))
at
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3980)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2043)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1297)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:722)
ERROR: Bundle org.apache.felix.ipojo.gogo [6] Error starting
file:/C:/Java/org.apache.felix.ipojo.distribution.10mintutorial-1.11.2/ipojo-distribution-1.11.2/bu
ndle/org.apache.felix.ipojo.gogo-1.11.2.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.felix.ipojo.gogo [6]: Unable to reso
lve 6.0: missing requirement [6.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.felix.ipojo.extender)(version>=1.11.0)(!(version>=2.0.0)))
[caused by:
Unable to resolve 5.0: missing requirement [5.0] osgi.wiring.package;
(&(osgi.wiring.package=org.osgi.service.cm)(version>=1.3.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.felix.ipojo.gogo [6]: Unable to resolve 6.0: missing requirement
[6.0] osgi.wirin
g.package;
(&(osgi.wiring.package=org.apache.felix.ipojo.extender)(version>=1.11.0)(!(version>=2.0.0)))
[caused by: Unable to resolve 5.0: missing requirement [
5.0] osgi.wiring.package;
(&(osgi.wiring.package=org.osgi.service.cm)(version>=1.3.0)(!(version>=2.0.0)))]
at
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3980)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2043)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1297)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:722)
After a bit of Googling, I found that downloading the Configuration Admin jar
from http://felix.apache.org/downloads.cgi and dropping it in the
ipojo-distribution-1.11.2\bundle directory fixed the problem.
I'm posting this in case anyone else runs into this problem and also in the
hope that someone on the iPOJO team will add this jar to the 10 Minute Tutorial
distribution.
Thanks,
Sean Rohead
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]