Hello,

Stop JBoss. Delete server/default/data/NXRuntime/nxsearch-compass/ directory. Start JBoss and run again nxshell index command.

If you had a lot of documents and indexing takes too much time, you could also try removing only dead/ghost/obsolete documents.
Documentation is here: http://doc.nuxeo.org/xwiki/bin/view/FAQ/Reindexing

Best regards,
Julien

[email protected] a écrit :
Hello,

I had problems accessing the Nuxeo repository, so I started a reindex with the 
Nuxeo-shell.
But when logging into Nuxeo, no documents are shown except one.

In the Nuxeo-shell window, it doesn't give any errors; just the number of 
documents indexed and the time it took.

But if I look in the server.log, there are a lot of exception:

2009-01-22 15:21:23,485 ERROR 
[org.nuxeo.ecm.core.search.threading.task.IndexingSingleDocumentTask] failed to 
index document with ref: '07be8df8-1e64-40bf-af81-aede105cb8e9': 
org.nuxeo.ecm.core.api.WrappedException: Exception: 
org.compass.core.engine.SearchEngineException. message: *Failed to check if
index is compound; nested exception is java.io.FileNotFoundException: 
/appT2/jbtest1/KM-Nuxeo516-MinFin-Integration/server/default/data/NXRuntime/nxsearch-compass/index/nxdocs/segments
 (No such file or directory)*

After this 1st exception, the indexing of all the other documents raises this 
exception:
2009-01-22 15:21:25,451 ERROR 
[org.nuxeo.ecm.core.search.threading.task.IndexingSingleDocumentTask] failed to 
index document with ref: 'c19cc9dd-5c34-4628-b825-35252f9924fa': 
org.nuxeo.ecm.core.api.WrappedException: Exception: 
org.compass.core.transaction.TransactionException. message: Begin failed with 
exception; nested exception is javax.transaction.RollbackException: *Already 
marked for rollback* TransactionImpl:XidImpl[FormatId=257, GlobalId=tyche/136, 
BranchQual=, localId=136]
org.nuxeo.ecm.core.search.api.client.IndexingException: 
org.nuxeo.ecm.core.api.WrappedException: Exception: 
org.compass.core.transaction.TransactionException. message: Begin failed with 
exception; nested exception is javax.transaction.RollbackException: Already 
marked for rollback TransactionImpl:XidImpl[FormatId=257, GlobalId=tyche/136, 
BranchQual=, localId=136]
        at 
org.nuxeo.ecm.core.search.backend.compass.CompassBackend.index(CompassBackend.java:380)

Does anyone have an idea what could be the problem with this indexation ? Why does this "FileNotFoundException" occur although the index command is supposed to recreate all those files?

Thanks,
--
Posted by "celine" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2236#6052>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

--
Julien Carsique, Nuxeo (Paris, France)
www.nuxeo.com - The Open Source ECM Platform - www.nuxeo.org
Nuxeo ECM Stack - The Java EE, scalable, standard-based ECM Platform
[email protected] | Tel: +33 1 40 33 79 87

begin:vcard
fn:Julien Carsique
n:Carsique;Julien
org:Nuxeo;Qualiscope Team
adr:;;18 - 20 rue Soleillet;Paris;;75020;France
email;internet:[email protected]
title:Responsable industrialisation et support
tel;work:0140337987
x-mozilla-html:TRUE
url:http://www.nuxeo.com/
version:2.1
end:vcard

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to