I wrote a basic FieldBridge but my indexing on startup is taking a substantial amount of time and then I eventually hit the point where the following exception is thrown.
22:54:27,212 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] TwoPhaseCoord
inator.afterCompletion - returned failure for com.arjuna.ats.internal.jta.resources.arjunacore.Synchroniza
tionImple@7fbcc4
22:54:27,227 ERROR [[/event-management-tool]] Exception sending context initialized event to listener inst
ance of class org.jboss.seam.servlet.SeamListener
java.lang.IllegalStateException: [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] [com.arjuna
.ats.internal.jta.transaction.arjunacore.inactive] The transaction is not active!
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(Trans
actionImple.java:1379)
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:
135)
at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.ja
va:87)
I have no idea why this is happening. I have even tried setting the hibernate.search.worker.batch_size to 1 to see if it was memory related. I'm working with the FullTextEntityManager. Anyone have any ideas?
Thanks
|