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
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.