I've followed Getting Started with OSGi Applications: Bundle Repositories and deployed an EBA to a repo. I could notice the EBA was started fine as the blueprint bundle printed out the initialization message to the console.
Right after deploying the EBA I deployed an OSGi application with another EBA to consume the service registered by the bundle in the repository. It was not wired properly and the app was stopped. I use OSGi Blueprint to register the service and the reference, each in separate EBAs (one in the repo and another in the OSGi application).
I had to restart the server to have the wiring process - to have the service reference been resolved and wired to the service - finished properly. Is this required?
Japila :: verba docent, exempla trahunt
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
Pinned topic Restarting necessary to wire references to services from EBA in bundleRepo?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.