I think I figured this out: I added @scr.service
interface="org.osgi.framework.SynchronousBundleListener" to
ObjectContentManagerFactoryImpl, and the component now activates
immediately (and registers mapped types from simple-demo)
Rory Douglas wrote:
I'm encountering the same error with the simple-demo sample reported
in http://issues.apache.org/jira/browse/SLING-546. I fetched all the
source from SVN this afternoon.
On the management console > Components tab,
ObjectContentManagerFactoryImpl is showing as "registered", not
"active" (expanding the node the Activation value is "delayed"). I've
checked the source for ObjectContentManagerFactoryImpl and it has
@scr.component metatype="no" immediate="true" in the JavaDoc (and
immediate="true" in serviceComponents.xml).
Any idea why this is happening? Thanks for any help
Regards,
Rory