On Tue, Jun 8, 2010 at 8:18 PM, Vidar Ramdal <[email protected]> wrote:
> We're running a patched version of the Jackrabbit Server bundle
> (o.a.s.jcr.jr.server) 2.0.6, where we have upgraded the Jackrabbit
> bundles to 1.6.2.This in order to get a fix for the nasty JCR-2554
> bug, which was crashing our application daily.
>
> Now we have an issue with initial loading of files:
> 08.06.2010 20:12:33.786 *ERROR* [Background Update kolibri-files (42)]
> org.apache.sling.jcr.contentloader.internal.Loader Cannot load initial
> content for bundle kolibri-files : no matching property definition
> found for {http://www.jcp.org/jcr/1.0}lastModified
> javax.jcr.nodetype.ConstraintViolationException: no matching property
> definition found for {http://www.jcp.org/jcr/1.0}lastModified
> [...]
> The problem seems to be that the createFileAndResourceNode method
> attempts to create a nt:resource node, and set the jcr:lastModified
> property to a Long value, whereas the jcr:lastModified property is
> defined as a Date.
>
> But this definition hasn't changed between Jackrabbit 1.6.0 and 1.6.2.
>
> So why does this suddenly break? And, perhaps more interesting, why
> did it work in the first place?

Should have realised that this is most of all a Jackrabbit issue. See
the thread at [email protected] [2] for more details.

> [1] https://issues.apache.org/jira/browse/JCR-2554

[2] http://markmail.org/thread/4v2v6qzpvk75kv4h

-- 
Vidar S. Ramdal <[email protected]> - http://www.idium.no
Sommerrogata 13-15, N-0255 Oslo, Norway
+ 47 22 00 84 00 / +47 22 00 84 76
Quando omni flunkus moritatus!

Reply via email to