jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aimran <aimra...@gmail.com>
Subject How to fix "Failed to read record modified date" errors?
Date Fri, 17 Jun 2011 16:24:28 GMT
Hello,

So after several years of usage of Jackrabbit, migrations, upgrading,
switching away from blob store etc, we have arrived at a big problem.

Some files in the datastore files were not migrated and were accidentally
deleted and now unable to upgrade to another database using the repository
copier tool (or the xml export import). There is error of the missing blob
data and the copy process aborts.

When I run the datastore GC these errors are thrown:
11:15:15.156 [main] WARN  o.a.j.core.value.BLOBInDataStore - getSize for
e9705c889feaa6f11e03abd2f9cbb54b435d5674 failed
org.apache.jackrabbit.core.data.DataStoreException: Failed to read record
modified date:
D:\GSLBE\binfer\GSL\data\binfer\gslberepo\be\repository\datastore\e9\70\5c\e9705c889feaa6f11e03abd2f9cbb54b435d5674
        at
org.apache.jackrabbit.core.data.FileDataStore.getLastModified(FileDataStore.java:418)
~[jackrabbit-core-2.2.5.jar:2.2.5]
        at
org.apache.jackrabbit.core.data.FileDataStore.getRecord(FileDataStore.java:155)
~[jackrabbit-core-2.2.5.jar:2.2.5]
        at
org.apache.jackrabbit.core.data.FileDataStore.getRecord(FileDataStore.java:174)
~[jackrabbit-core-2.2.5.jar:2.2.5]
        at
org.apache.jackrabbit.core.value.BLOBInDataStore.getDataRecord(BLOBInDataStore.java:135)
~[jackrabbit-core-2.2.5.jar:2.2.5]
        at
org.apache.jackrabbit.core.value.BLOBInDataStore.getSize(BLOBInDataStore.java:93)
~[jackrabbit-core-2.2.5.jar:2.2.5]
        at
org.apache.jackrabbit.core.value.InternalValue.getLength(InternalValue.java:661)
[jackrabbit-core-2.2.5.jar:2.2.5]
        at
org.apache.jackrabbit.core.data.GarbageCollector.scanPersistenceManagers(GarbageCollector.java:219)
[jackrabbit-core-2.2.5.jar:2.2.5]
        at
org.apache.jackrabbit.core.data.GarbageCollector.mark(GarbageCollector.java:170)
[jackrabbit-core-2.2.5.jar:2.2.5]

Since we do not have those blob files, how can this be fixed? Is there a way
to ignore /clean up the missing blob information in the database? I also
turned on the consistencyFix=true on the PM's but that didn't seem to help
either...

Any help/pointers will be appreciated,

Thanks,
Imran





--
View this message in context: http://jackrabbit.510166.n4.nabble.com/How-to-fix-Failed-to-read-record-modified-date-errors-tp3605819p3605819.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Mime
View raw message