It looks like you are installing a lot of bundles that are already present in apache karaf. These can conflict with the ones already present. The actual resolve problems you get are because you are missing some equinox bundles the bundle you try to install need. Installing these will not fully solve your problems though as there will still be conflicts with the bundles karaf already has.

Like:
equinox event admin -> felix event admin
equinox meta type -> felix meta type
equinox coordinator -> felix coordinator

For configurer I am not sure. In karaf there is the combination of felix comfig admin and file install for this but configurer might still fit in.

I suggest that you change these bundles in the index you use to the ones that are present in karaf.
As a starting point you can use the ones I use in this index project:
https://github.com/apache/cxf-dosgi/tree/master/samples/repository

Christian

On 10.11.2016 10:32, Tim Ward wrote:
So, I've gone through the enRoute tutorials, which worked fine, then tried writing some code of my own, which worked fine, then tried deploying it to Karaf, attempting to following the instructions in

http://enroute.osgi.org/appnotes/bndtools-and-karaf.html

and it doesn't work, and after several days nobody here can make any progress with understanding what's wrong or how to fix it.

As I'm new to this stuff I don't really know what information might enable people to help spot my problem, but I'll start with the karaf output below. I did the "resolve" on the debug.bndrun so why are there things that appear not to be resolved?

karaf@root()> list
START LEVEL 100 , List Threshold: 50
 ID | State     | Lvl | Version                | Name
----------------------------------------------------------------------------------------
 56 | Active    |  80 | 3.2.0.201605172008     | biz.aQute.remote.agent
137 | Active    |  80 | 1.0.1                  | Apache Felix Log Service
138 | Active | 80 | 1.0.0.201611091637 | com.telensa.apps.planet.pc.provider 139 | Installed | 80 | 1.0.0.201611091638 | com.telensa.apps.planet.ws.application
141 | Active    |  80 | 3.2.0                  | Apache Felix Http Jetty
142 | Active    |  80 | 1.1.2                  | Apache Felix Servlet API
143 | Active | 80 | 2.0.2 | Apache Felix Declarative Services
144 | Installed |  80 | 1.3.100.v20150410-1453 | Coordinator
145 | Installed |  80 | 1.3.100.v20140115-1647 | Event Admin
146 | Installed |  80 | 1.4.100.v20150408-1437 | Meta Type
147 | Active    |  80 | 9.3.8.v20160314        | Jetty :: Utilities
148 | Active | 80 | 9.3.8.v20160314 | Jetty :: Utilities :: Ajax(JSON) 149 | Active | 80 | 1.3.1.201505202024 | org.osgi:org.osgi.service.event 150 | Active | 80 | 1.3.0.201505202024 | org.osgi:org.osgi.service.metatype 151 | Installed | 80 | 2.0.0.201610141744 | osgi.enroute.configurer.simple.provider 152 | Active | 80 | 2.0.0.201610141744 | osgi.enroute.executor.simple.provider 153 | Active | 80 | 2.0.0.201610141744 | osgi.enroute.logger.simple.provider 154 | Active | 80 | 2.0.0.201610141745 | osgi.enroute.web.simple.provider
karaf@root()> diag
com.telensa.apps.planet.ws.application (139)
--------------------------------------------
Status: Installed
Unsatisfied Requirements:
[com.telensa.apps.planet.ws.application [139](R 139.0)] osgi.extender; (&(osgi.extender=osgi.enroute.configurer)(&(version>=1.0.0)(!(version>=2.0.0))))


Coordinator (144)
-----------------
Status: Installed
Unsatisfied Requirements:
[org.eclipse.equinox.coordinator [144](R 144.0)] osgi.wiring.package; (&(osgi.wiring.package=org.eclipse.osgi.util)(version>=1.1.0)(!(version>=2.0.0))) [org.eclipse.equinox.coordinator [144](R 144.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.coordinator)(version>=1.0.0)(!(version>=1.1.0)))


Event Admin (145)
-----------------
Status: Installed
Unsatisfied Requirements:
[org.eclipse.equinox.event [145](R 145.0)] osgi.wiring.package; (&(osgi.wiring.package=org.eclipse.osgi.framework.eventmgr)(version>=1.1.0)) [org.eclipse.equinox.event [145](R 145.0)] osgi.wiring.package; (&(osgi.wiring.package=org.eclipse.osgi.util)(version>=1.1.0))


Meta Type (146)
---------------
Status: Installed
Unsatisfied Requirements:
[org.eclipse.equinox.metatype [146](R 146.0)] osgi.wiring.package; (&(osgi.wiring.package=org.eclipse.osgi.util)(version>=1.1.0)(!(version>=2.0.0)))


osgi.enroute.configurer.simple.provider (151)
---------------------------------------------
Status: Installed
Unsatisfied Requirements:
[osgi.enroute.configurer.simple.provider [151](R 151.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.coordinator)(version>=1.0.0)(!(version>=2.0.0))) [osgi.enroute.configurer.simple.provider [151](R 151.0)] osgi.wiring.package; (&(osgi.wiring.package=osgi.enroute.configurer.api)(version>=1.0.0)(!(version>=1.1.0))) [osgi.enroute.configurer.simple.provider [151](R 151.0)] osgi.service; (objectClass=java.lang.Object) [osgi.enroute.configurer.simple.provider [151](R 151.0)] osgi.service; (objectClass=org.osgi.service.cm.ConfigurationAdmin) [osgi.enroute.configurer.simple.provider [151](R 151.0)] osgi.service; (objectClass=org.osgi.service.coordinator.Coordinator) [osgi.enroute.configurer.simple.provider [151](R 151.0)] osgi.service; (objectClass=org.osgi.service.log.LogService)


karaf@root()>




--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to