[ 
https://issues.apache.org/jira/browse/SLING-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Craig L. Ching updated SLING-581:
---------------------------------

    Attachment: SLING-581.patch

This patch appears to fix the problem where the ObjectContentManagerFactoryImpl 
wasn't in an active state at startup.

> ObjectContentManagerFactoryImpl missing an SCR service interface
> ----------------------------------------------------------------
>
>                 Key: SLING-581
>                 URL: https://issues.apache.org/jira/browse/SLING-581
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>         Environment: $ mvn --version
> Maven version: 2.0.9
> Java version: 1.6.0_03
> OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"
>            Reporter: Craig L. Ching
>         Attachments: SLING-581.patch
>
>
> The samples/simple-demo was broken because:
>     final SamplePage samplePage = resource.adaptTo(SamplePage.class);
> in 
> samples/simple-demo/src/main/resources/SLING-INF/content/apps/sling/SamplePage/html.jsp
>  returns null.  This appeared to fail because the 
> org.apache.sling.jcr.ocm.impl.ObjectContentManagerFactoryImpl was not in the 
> active state.  I'll attach a patch that seems to fix this, the solution was 
> proposed by Rory Douglas on the mailing list

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to