Failures when referencing an OSGi bundle from a JEE Web Application
Issue
-
When invoking a code exported from an OSGi bundle from a servlet in a web application, the following below unsatisfied dependencies are shown in the server console and the server logs,
JBAS014775: New missing/unsatisfied dependencies: service jbosgi.integration.PersistentBundlesHandler.COMPLETE (missing) dependents: [service jbosgi.framework.INIT] service jboss.module.spec.service.".schofield.helloworld"."1.0.0" (missing) dependents: [service jboss.module.service."deployment.osgi_web_application.war".main] service jboss.osgi.as.initial.deployments.COMPLETE (missing) dependents: [service jbosgi.integration.PersistentBundlesHandler] -
How to interpret the unsatisfied dependencies/message to determine if the problem is in the dependencies defined in the web app or in the OSGi bundle ?
Environment
- JBoss Enterprise Application Platform
- 6.0.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.