Hi Carsten, Thanks. That lines up with the conclusions I was arriving at. I tried the workaround from JCR-2872 and it does seem to resolve the problem in my environment.
Regards, Eric On Tue, Feb 1, 2011 at 7:17 AM, Carsten Ziegeler <[email protected]>wrote: > Hi, > > I asked on the jackrabbit dev list about this problem and they > confirmed, it's a bug in jackrabbit: > > https://issues.apache.org/jira/browse/JCR-2872 > > Hopefully this will be fixed soon. > > Regards > Carsten > > Carsten Ziegeler wrote > > Hi, > > > > using Win XP I get the same error, don't know what the real problem is. > > You could of course build Sling by disabling the tests. (mvn > > -Dmaven.test.skip=true install) > > > > Regards > > Carsten > > > > Eric Norman wrote > >> Hi all, > >> > >> I haven't been able to work on sling for a while due to other > commitments, > >> but I am trying to sync up to the current trunk to make a fresh build > and I > >> am running into problems building in my window xp environment. When I > run > >> the clean build, the test > >> (org.apache.sling.event.impl.jobs.OrderedJobQueueTest) for > >> bundles/extensions/event project get stuck and never completes. When I > run > >> the same build from a linux box it doesn't get stuck at that point. > >> > >> I thought I would check to see if anyone has seen anything like this and > >> knows some way to resolve it before I spend too much time trying to > debug > >> what is going on. > >> > >> This following exception is logged to the console right before the > process > >> hangs which suggests one of the events didn't work which seems to > explain > >> why the test is still looping. > >> > >> 149250 [Apache Sling Job Writer] ERROR > >> org.apache.sling.event.impl.jobs.jcr.PersistenceHandler - Exception > during > >> writing new job 'org.osgi.service.ev > >> ent.Event(1651037484) [topic=org/apache/sling/event/job, > >> > properties=event.topics=org/apache/sling/event/job,event.job.topic=sling/test,event.job.retri > >> es=2,event.job.id=myid,event.job.retrydelay=2000]' to repository at > >> identified/sling.test/cdc/e51/myid > >> org.apache.jackrabbit.core.data.DataStoreException: Failed to update > record > >> modified date: 2ac72495fd1e270777821b8a872903c79c84a8d9 > >> at > >> > org.apache.jackrabbit.core.data.FileDataStore.addRecord(FileDataStore.java:250) > >> at > >> > org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:119) > >> at > >> > org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:619) > >> at > >> > org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:369) > >> at > >> > org.apache.jackrabbit.core.value.InternalValueFactory.create(InternalValueFactory.java:94) > >> at > >> > org.apache.jackrabbit.core.value.ValueFactoryImpl.createBinary(ValueFactoryImpl.java:74) > >> at > >> > org.apache.sling.event.impl.jobs.jcr.JCRHelper.writeEventProperties(JCRHelper.java:152) > >> at > >> > org.apache.sling.event.impl.jobs.jcr.PersistenceHandler.writeEvent(PersistenceHandler.java:842) > >> at > >> > org.apache.sling.event.impl.jobs.jcr.PersistenceHandler.processWriteQueue(PersistenceHandler.java:803) > >> at > >> > org.apache.sling.event.impl.jobs.jcr.PersistenceHandler.persistJobs(PersistenceHandler.java:739) > >> at > >> > org.apache.sling.event.impl.jobs.jcr.PersistenceHandler.access$000(PersistenceHandler.java:89) > >> at > >> > org.apache.sling.event.impl.jobs.jcr.PersistenceHandler$1.run(PersistenceHandler.java:188) > >> at java.lang.Thread.run(Thread.java:619) > >> > >> > >> Regards, > >> Eric Norman > >> > > > > > > > -- > Carsten Ziegeler > [email protected] >
