After the server has shut down you can safely remove the lock. You
could add this removal to your startup/shutdown scripts. I'm not sure
why it wouldn't be removed at stop time though, lucene should do it
automatically.
Florent
On 11 Mar 2009, at 14:55, Antoine Taillefer wrote:
Hello,
I've justed installed Nuxeo 5.2.0.m4 and started with nuxeo-project-
sample and a custom project based on nuxeo-archetype-start.
I created a document of type Book.
After restarting my server and authenticating, I get the following :
org.nuxeo.ecm.core.storage.StorageException:
org.h2.jdbc.JdbcSQLException: Error creating or initializing trigger
NXFT_FULLTEXT object, class
org.nuxeo.ecm.core.storage.sql.db.H2Fulltext$Trigger, cause:
java.sql.SQLException: Error while indexing document; see root cause
for details; SQL statement:
CALL NXFT_CREATE_INDEX('PUBLIC', 'FULLTEXT', ('SIMPLETEXT',
'BINARYTEXT'),
'org.apache.lucene.analysis.standard.StandardAnalyzer') [90043-104]
...
Caused by: org.h2.jdbc.JdbcSQLException: Error creating or
initializing trigger NXFT_FULLTEXT object, class
org.nuxeo.ecm.core.storage.sql.db.H2Fulltext$Trigger, cause:
java.sql.SQLException: Error while indexing document; see root cause
for details; SQL statement:
CALL NXFT_CREATE_INDEX('PUBLIC', 'FULLTEXT', ('SIMPLETEXT',
'BINARYTEXT'),
'org.apache.lucene.analysis.standard.StandardAnalyzer') [90043-104]
...
Caused by: java.sql.SQLException: Error while indexing document
...
Caused by: org.apache.lucene.store.LockObtainFailedException: Lock
obtain timed out: simplefsl...@d:\projets\the_client\nuxeo-
ep-5.2.0.m4\server\default\data\h2\nuxeo.lucene\write.lock
I can see the write.lock file is in data\h2\nuxeo.lucene repository
and has not been modified since last server shutdown. If I shutdown
the server / delete the file / restart, no problem. But after next
shutdown/restart, the error occurs again...
Any clue ?
Antoine TAILLEFER
Ingénieur Etudes et développement
Smile - Open Source Solutions
Web : www.smile.fr
email : [email protected]
Tél : 01 41 40 59 21
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
--
Florent Guillaume, Head of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm