serega
serega

Reputation: 405

Apache Felix obr deploy error messages

How to read error messages when obr deploy command fails? Here is an example:

 
-> obr deploy configuration-exporter
Unsatisfied requirement(s):
---------------------------
   (&(package=com.google.common.collect))
      RoutingService :: DAO
   (&(package=com.sybase365.routingservice))
      ARF :: Service Bundle :: Configuration Exporter
   (&(package=com.google.common.base))
      RoutingService :: DAO
   (service=org.osgi.service.event.EventHandler)
      Apache Felix EventAdmin
   (&(package=com.google.common.base))
      ARF :: Service Bundle :: Configuration Exporter
   (|(ee=J2SE-1.5))
      Guava: Google Core Libraries for Java 1.5
   (&(package=com.google.common.collect))
      ARF :: Service Bundle :: Configuration Exporter
   (service=org.osgi.service.event.EventHandler)
      Apache Felix EventAdmin

How to read the above message? What is actually unsatisfied?

Upvotes: 1

Views: 597

Answers (1)

Andriy Drozdyuk
Andriy Drozdyuk

Reputation: 61121

I assume that your obr is missing packages:

com.google.common.collect
com.sybase365.routingservice
com.google.common.base
com.google.common.base
com.google.common.collect

and then you probably don't have some services running:

org.osgi.service.event.EventHandler

and you probably don't have the required java-runtime:

J2SE-1.5

I usually take the first missing package - and try to resolve it. If it gets rid of that error, I keep going. If not - then something is wrong with your osgi runtime. Perhaps your are missing some bundles that it needs in order to do the deploy?

Upvotes: 0

Related Questions