0 Replies Latest reply on Jun 23, 2017 4:07 AM by krishc76025392

    Issue with Spring integration in Aem upgrade

    krishc76025392 Level 1

      we have a setup all that is needed to make Spring beans referenceable inside of OSGi bundle code and accessible as an OSGi service.


      But  when the bundle with spring beans are installed in felix,

      the bundle is in "Active" state but osgi-->services will not show the desired services injected through spring.


      when bundle is stopped and restarted, below log can be seen.


      *INFO* [EclipseGeminiBlueprintExtenderThread-15] org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyServiceMana ger OsgiBundleXmlApplicationContext(bundle=com.bill.hero.configs-content, config=osgibundle:/META-INF/spring/*.xml) is waiting for unsatisfied dependencies [[&slinghighlight]]



      This issue we only see in upgraded AEM 6.2 author instance.


      The approach of implementation is almost similar to this one in below blog link:

      A coding adventure: Spring with Adobe AEM/CQ5