I'm definitely not seeing this behavior here, with sun jdk 1.6.  It's worth 
getting to the bottom of.

Can you do the following:

(1)     Svn co a completely fresh version of LCF
(2)     Ant, making sure ant is actually using jdk 1.6

If you *still* get this problem, please let me know.  It's not clear what the 
difference is, but there's got to be a difference somewhere.  I hope it is not 
how Derby works on French machines. ;-)

Karl


>>>>>>
Worker thread aborting and restarting due to database connection reset: 
Database exception: Exception doing query: L'instruction a été abandonnée parce 
qu'elle aurait entraîné la duplication d'une valeur de clé dans une contrainte 
de clé ou d'index unique identifié par 'I1279701064805' définie sur 
'INGESTSTATUS'.
org.apache.lcf.core.interfaces.LCFException: Database exception: Exception 
doing query: L'instruction a été abandonnée parce qu'elle aurait entraîné la 
duplication d'une valeur de clé dans une contrainte de clé ou d'index unique 
identifié par 'I1279701064805' définie sur 'INGESTSTATUS'.
    at org.apache.lcf.core.database.Database.executeViaThread(Database.java:421)
    at 
org.apache.lcf.core.database.Database.executeUncachedQuery(Database.java:449)
    at 
org.apache.lcf.core.database.Database$QueryCacheExecutor.create(Database.java:1072)
    at 
org.apache.lcf.core.cachemanager.CacheManager.findObjectsAndExecute(CacheManager.java:144)
    at org.apache.lcf.core.database.Database.executeQuery(Database.java:167)
    at 
org.apache.lcf.core.database.DBInterfaceDerby.performModification(DBInterfaceDerby.java:615)
    at 
org.apache.lcf.core.database.DBInterfaceDerby.performInsert(DBInterfaceDerby.java:177)
    at org.apache.lcf.core.database.BaseTable.performInsert(BaseTable.java:76)
    at 
org.apache.lcf.agents.incrementalingest.IncrementalIngester.noteDocumentIngest(IncrementalIngester.java:1267)
    at 
org.apache.lcf.agents.incrementalingest.IncrementalIngester.performIngestion(IncrementalIngester.java:410)
    at 
org.apache.lcf.agents.incrementalingest.IncrementalIngester.documentIngest(IncrementalIngester.java:304)
    at 
org.apache.lcf.crawler.system.WorkerThread$ProcessActivity.ingestDocument(WorkerThread.java:1586)
    at 
org.apache.lcf.crawler.connectors.filesystem.FileConnector.processDocuments(FileConnector.java:275)
    at 
org.apache.lcf.crawler.connectors.BaseRepositoryConnector.processDocuments(BaseRepositoryConnector.java:516)
    at org.apache.lcf.crawler.system.WorkerThread.run(WorkerThread.java:585)
Caused by: java.sql.SQLIntegrityConstraintViolationException: L'instruction a 
été abandonnée parce qu'elle aurait entraîné la duplication d'une valeur de clé 
dans une contrainte de clé ou d'index unique identifié par 'I1279701064805' 
définie sur 'INGESTSTATUS'.
    at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown 
Source)
    at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
    at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown 
Source)
    at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown 
Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown 
Source)
    at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown 
Source)
    at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown 
Source)
    at 
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown 
Source)
    at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown 
Source)
    at org.apache.lcf.core.database.Database.execute(Database.java:566)
    at 
org.apache.lcf.core.database.Database$ExecuteQueryThread.run(Database.java:381)
Caused by: java.sql.SQLException: L'instruction a été abandonnée parce qu'elle 
aurait entraîné la duplication d'une valeur de clé dans une contrainte de clé 
ou d'index unique identifié par 'I1279701064805' définie sur 'INGESTSTATUS'.
    at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown 
Source)
    at 
org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown
 Source)
    ... 11 more

However i can start jetty and get the ui working.

Thanks
marc
<<<<<<


Reply via email to