KB Article #72984
Optimistic locking errors when importing communities and their partners
-- Optimistic locking errors(in cn.log) when importing communities and their partners:
2011-10-17 15:29:11,880 - ERROR [1808573402@qtp-1083590691-13] (ImportInterchangeProfile.commonImport:353) - Error importing profile /tmp/profile/partners/TRIALPTR.xml; kodo.util.OptimisticVerificationException: Optimistic locking errors were detected when flushing to the data store. This indicates that some objects were concurrently modified in another transaction. Failed objects: [Party: id=16159, name=c811116_BNSF_testimport1, enabled=true, isLocal=true, isBroker=false, lastModified=1318883351376] [java.util.ArrayList]
kodo.util.OptimisticVerificationException: Optimistic locking errors were detected when flushing to the data store. This indicates that some objects were concurrently modified in another transaction. Failed objects: [Party: id=16159, name=c811116_BNSF_testimport1, enabled=true, isLocal=true, isBroker=false, lastModified=1318883351376] [java.util.ArrayList]
at kodo.runtime.PersistenceManagerImpl.throwFlushException(PersistenceManagerImpl.java:1523)
at kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:1385)
at kodo.runtime.PersistenceManagerImpl.flushSafe(PersistenceManagerImpl.java:1266)
at kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:1036)
at kodo.query.AbstractQuery.isInMemory(AbstractQuery.java:999)
...
Resolution
* Stop the te node before importing to avoid parallel treatments that can cause the error above