Ansering my own question [1]:

- it was not a corrupt search index
- it _was_ a corrupt JCR repository
- All the "check consistency" and "auto repair" flags you can set in the 
persistence manager configuration didn't change a thing about that.

Therefore I had to dig a little deeper and wrote a Groovy script which checks 
each ChildNodeEntry of each NodeState and removes entries pointing to non 
existing nodes. I added everything to the JCR Troubles FAQ page [2].

Enjoy the weekend, guys!

-will

[1] 
http://forum.magnolia-cms.com/forum/thread.html?threadId=d99be53c-dc3f-4350-8341-cb0d54ce61c4
[2] http://wiki.magnolia-cms.com/display/WIKI/JCR+Troubles+FAQs

On 14.07.2012, at 09:53, Will Scheidegger wrote:

> Dear Magnolians
> 
> As some of you might have suspected my my other post 
> (http://forum.magnolia-cms.com/forum/thread.html?threadId=d99be53c-dc3f-4350-8341-cb0d54ce61c4)
>  we're experiencing nasty repository problems. I've spent several hours 
> googling and trying everything I could find
> 
> - deleting the repository
> - trying to delete nodes with groovy
> - adding all sorts of parameters to the repository configuration xml [1] [2] 
> [3] [4]
> 
> but nothing as shown _any_ effect at all. So I'm running out of ideas here. 
> Does anyone have any other tricks to resolve this problem:
> 
> 2012-07-14 09:46:39,990 ERROR 
> magnolia.module.admininterface.AdminTreeMVCHandler: can't delete
> javax.jcr.ItemNotFoundException: 362647dd-ff9f-461c-a970-1df522c0a781
> 
> Thanks!
> -will
> 
> [1] http://wiki.apache.org/jackrabbit/Search
> [2] 
> http://dev.day.com/content/docs/en/crx/2-0/administering/persistence_managers.html#Consistency%20Checking%20and%20Fixing
> [3] 
> http://jackrabbit.apache.org/api/1.6/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.html
> [4] 
> http://jackrabbit.apache.org/api/1.6/org/apache/jackrabbit/core/persistence/bundle/MySqlPersistenceManager.html
> 
> 
> ----------------------------------------------------------------
> For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> 



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to