-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: MassIndexer, The transaction is not active!
PostPosted: Wed Jun 24, 2015 9:50 am 
Newbie

Joined: Wed Jun 24, 2015 9:23 am
Posts: 1
I am using HibernateSearch 4.0.0.Final in combination with Hibernate 4.01.Final and JBOSS AS 7.1.1.Final.
The problem is as follows : When I use the MassIndexer to index a large database and the operation lasts more than 5 minutes (default transaction timeout for my application), it throws an error (shown below). It does not stop the indexing immediately, but it stops a few minutes after throwing the error.

It does not make sense to change the value of my global default timeout (even though that works :) ).

Is there a clever work around for this problem. I have seen in JIRA that the problem is still open!
Any feedback would be really helpful.

Error thrown at transaction Timeout
Code:
3:31:14,016 INFO  [org.hibernate.search.impl.SimpleIndexingProgressMonitor] (Hibernate Search: IndexWriter worker executor for de.messagemobile.contract.service.ServiceMTTermination-1) HSEARCH000031: Indexing speed: 154.131927 documents/second; progress: 2.68%
13:31:14,143 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012117: TransactionReaper::check timeout for TX 0:ffffc0a8aa20:15233479:558a946f:c2 in state  RUN
13:31:14,144 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012117: TransactionReaper::check timeout for TX 0:ffffc0a8aa20:15233479:558a946f:c4 in state  RUN
13:31:14,146 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012095: Abort of action id 0:ffffc0a8aa20:15233479:558a946f:c2 invoked while multiple threads active within it.
13:31:14,148 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012108: CheckedAction::check - atomic action 0:ffffc0a8aa20:15233479:558a946f:c2 aborting with 1 threads active!
13:31:14,149 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012117: TransactionReaper::check timeout for TX 0:ffffc0a8aa20:15233479:558a946f:c6 in state  RUN
13:31:14,150 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012121: TransactionReaper::doCancellations worker Thread[Transaction Reaper Worker 0,5,main] successfully canceled TX 0:ffffc0a8aa20:15233479:558a946f:c2
13:31:14,154 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012095: Abort of action id 0:ffffc0a8aa20:15233479:558a946f:c4 invoked while multiple threads active within it.
13:31:14,155 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012108: CheckedAction::check - atomic action 0:ffffc0a8aa20:15233479:558a946f:c4 aborting with 1 threads active!
13:31:14,163 INFO  [org.hibernate.engine.jdbc.internal.LogicalConnectionImpl] (Transaction Reaper Worker 0) HHH000106: Forcing container resource cleanup on transaction completion
13:31:14,164 WARN  [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (Hibernate Search: entityloader-1) SQL Error: -10899, SQLState:
13:31:14,165 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (Hibernate Search: entityloader-1) SAP DBTech JDBC: Object is closed.
13:31:14,212 ERROR [org.hibernate.search.exception.impl.LogErrorHandler] (Hibernate Search: entityloader-1) HSEARCH000058: HSEARCH000116: Unexpected error during MassIndexer operation: org.hibernate.exception.GenericJDBCException: SAP DBTech JDBC: Object is closed.
   at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:52) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.engine.jdbc.internal.proxy.AbstractResultSetProxyHandler.continueInvocation(AbstractResultSetProxyHandler.java:108) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at com.sun.proxy.$Proxy169.wasNull(Unknown Source)
   at org.hibernate.type.descriptor.sql.BasicExtractor.extract(BasicExtractor.java:66) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:269) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:265) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:238) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.type.ManyToOneType.hydrate(ManyToOneType.java:157) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.type.EntityType.nullSafeGet(EntityType.java:234) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.persister.collection.AbstractCollectionPersister.readElement(AbstractCollectionPersister.java:759) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.collection.internal.PersistentSet.readFrom(PersistentSet.java:335) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.loader.Loader.readCollectionElement(Loader.java:1196) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.loader.Loader.readCollectionElements(Loader.java:800) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:651) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.loader.Loader.doQuery(Loader.java:856) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:289) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.loader.Loader.loadCollectionBatch(Loader.java:2209) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.loader.collection.BatchingCollectionInitializer.initialize(BatchingCollectionInitializer.java:80) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:622) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.event.internal.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:82) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.internal.SessionImpl.initializeCollection(SessionImpl.java:1606) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.collection.internal.AbstractPersistentCollection.forceInitialization(AbstractPersistentCollection.java:489) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.engine.internal.StatefulPersistenceContext.initializeNonLazyCollections(StatefulPersistenceContext.java:906) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:294) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.loader.Loader.doList(Loader.java:2463) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.loader.Loader.doList(Loader.java:2449) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2279) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.loader.Loader.list(Loader.java:2274) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:122) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1483) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:374) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   at org.hibernate.search.batchindexing.impl.IdentifierConsumerEntityProducer.loadList(IdentifierConsumerEntityProducer.java:150) [hibernate-search-orm-4.0.0.Final.jar:4.0.0.Final]
   at org.hibernate.search.batchindexing.impl.IdentifierConsumerEntityProducer.loadAllFromQueue(IdentifierConsumerEntityProducer.java:117) [hibernate-search-orm-4.0.0.Final.jar:4.0.0.Final]
   at org.hibernate.search.batchindexing.impl.IdentifierConsumerEntityProducer.run(IdentifierConsumerEntityProducer.java:94) [hibernate-search-orm-4.0.0.Final.jar:4.0.0.Final]
   at org.hibernate.search.batchindexing.impl.OptionallyWrapInJTATransaction.run(OptionallyWrapInJTATransaction.java:84) [hibernate-search-orm-4.0.0.Final.jar:4.0.0.Final]
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [classes.jar:1.6.0_65]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [classes.jar:1.6.0_65]
   at java.lang.Thread.run(Thread.java:695) [classes.jar:1.6.0_65]
Caused by: com.sap.dbtech.jdbc.exceptions.ObjectIsClosedException: SAP DBTech JDBC: Object is closed.
   at com.sap.dbtech.jdbc.ConnectionItem.assertOpen(ConnectionItem.java:62)
   at com.sap.dbtech.jdbc.ResultSetSapDB.assertNotClosed(ResultSetSapDB.java:2749)
   at com.sap.dbtech.jdbc.ResultSetSapDB.wasNull(ResultSetSapDB.java:654)
   at com.sap.dbtech.jdbcext.ClientResultSetSapDB.wasNull(ClientResultSetSapDB.java:520)
   at org.jboss.jca.adapters.jdbc.WrappedResultSet.wasNull(WrappedResultSet.java:3034)
   at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) [:1.6.0_65]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [classes.jar:1.6.0_65]
   at java.lang.reflect.Method.invoke(Method.java:597) [classes.jar:1.6.0_65]
   at org.hibernate.engine.jdbc.internal.proxy.AbstractResultSetProxyHandler.continueInvocation(AbstractResultSetProxyHandler.java:104) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
   ... 38 more

13:31:14,211 WARN  [org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$MyXaMCF] (Transaction Reaper Worker 0) Lock owned during cleanup: java.lang.Throwable: Lock owned during cleanup
   at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.handleAndClearWarnings(SqlExceptionHelper.java:261)
   at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.logAndClearWarnings(SqlExceptionHelper.java:244)
   at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.releaseConnection(LogicalConnectionImpl.java:320)
   at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.aggressiveRelease(LogicalConnectionImpl.java:283)
   at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.afterTransaction(LogicalConnectionImpl.java:256)
   at org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.afterNonTransactionalQuery(TransactionCoordinatorImpl.java:194)
   at org.hibernate.internal.SessionImpl.afterOperation(SessionImpl.java:497)
   at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1491)
   at org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:374)
   at org.hibernate.search.batchindexing.impl.IdentifierConsumerEntityProducer.loadList(IdentifierConsumerEntityProducer.java:150)
   at org.hibernate.search.batchindexing.impl.IdentifierConsumerEntityProducer.loadAllFromQueue(IdentifierConsumerEntityProducer.java:117)
   at org.hibernate.search.batchindexing.impl.IdentifierConsumerEntityProducer.run(IdentifierConsumerEntityProducer.java:94)
   at org.hibernate.search.batchindexing.impl.OptionallyWrapInJTATransaction.run(OptionallyWrapInJTATransaction.java:84)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [classes.jar:1.6.0_65]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [classes.jar:1.6.0_65]
   at java.lang.Thread.run(Thread.java:695) [classes.jar:1.6.0_65]

13:31:14,240 WARN  [com.arjuna.ats.arjuna] (Hibernate Search: entityloader-1) ARJUNA012077: Abort called on already aborted atomic action 0:ffffc0a8aa20:15233479:558a946f:c4
13:31:14,246 WARN  [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (Transaction Reaper Worker 0) IJ000607: ResourceException cleaning up managed connection: org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@d637a2[state=NORMAL managed connection=org.jboss.jca.adapters.jdbc.xa.XAManagedConnection@17aa83c connection handles=0 lastUse=1435145352919 trackByTx=false pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@1bb0628 pool internal context=SemaphoreArrayListManagedConnectionPool@3052ab[pool=ContractDS] xaResource=XAResourceWrapperImpl@1e5848b[xaResource=org.jboss.jca.adapters.jdbc.xa.XAManagedConnection@17aa83c pad=false overrideRmValue=false productName=SAP DB productVersion=KERNEL    7.8.02   BUILD 021-121-242-175 jndiName=java:/ContractDS] txSync=null]: javax.resource.ResourceException: Still active locks
   at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.cleanup(BaseWrapperManagedConnection.java:352)
   at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.returnConnection(SemaphoreArrayListManagedConnectionPool.java:429)
   at org.jboss.jca.core.connectionmanager.pool.AbstractPool.returnConnection(AbstractPool.java:561)
   at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.returnManagedConnection(AbstractConnectionManager.java:425)
   at org.jboss.jca.core.connectionmanager.listener.TxConnectionListener.connectionClosed(TxConnectionListener.java:367)
   at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.closeHandle(BaseWrapperManagedConnection.java:517)
   at org.jboss.jca.adapters.jdbc.WrappedConnection.close(WrappedConnection.java:264)
   at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.closeConnection(DatasourceConnectionProviderImpl.java:148)
   at org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.releaseConnection(AbstractSessionImpl.java:281)
   at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.releaseConnection(LogicalConnectionImpl.java:323)
   at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.aggressiveRelease(LogicalConnectionImpl.java:283)
   at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.afterTransaction(LogicalConnectionImpl.java:256)
   at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.afterTransaction(JdbcCoordinatorImpl.java:203)
   at org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.afterTransaction(TransactionCoordinatorImpl.java:142)
   at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.afterCompletion(SynchronizationCallbackCoordinatorImpl.java:126)
   at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.afterCompletion(RegisteredSynchronization.java:61)
   at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.afterCompletion(SynchronizationImple.java:96) [jbossjts-4.16.2.Final.jar:]
   at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.afterCompletion(TwoPhaseCoordinator.java:402) [jbossjts-4.16.2.Final.jar:]
   at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.afterCompletion(TwoPhaseCoordinator.java:334) [jbossjts-4.16.2.Final.jar:]
   at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.cancel(TwoPhaseCoordinator.java:120) [jbossjts-4.16.2.Final.jar:]
   at com.arjuna.ats.arjuna.AtomicAction.cancel(AtomicAction.java:217) [jbossjts-4.16.2.Final.jar:]
   at com.arjuna.ats.arjuna.coordinator.TransactionReaper.doCancellations(TransactionReaper.java:370) [jbossjts-4.16.2.Final.jar:]
   at com.arjuna.ats.internal.arjuna.coordinator.ReaperWorkerThread.run(ReaperWorkerThread.java:78) [jbossjts-4.16.2.Final.jar:]

13:31:14,268 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012121: TransactionReaper::doCancellations worker Thread[Transaction Reaper Worker 0,5,main] successfully canceled TX 0:ffffc0a8aa20:15233479:558a946f:c4
13:31:14,268 ERROR [org.hibernate.search.exception.impl.LogErrorHandler] (Hibernate Search: entityloader-1) HSEARCH000058: HSEARCH000116: Unexpected error during MassIndexer operation: javax.transaction.RollbackException: ARJUNA016063: The transaction is not active!
   at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1155)
   at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
   at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
   at org.hibernate.search.batchindexing.impl.OptionallyWrapInJTATransaction.run(OptionallyWrapInJTATransaction.java:90) [hibernate-search-orm-4.0.0.Final.jar:4.0.0.Final]
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [classes.jar:1.6.0_65]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [classes.jar:1.6.0_65]
   at java.lang.Thread.run(Thread.java:695) [classes.jar:1.6.0_65]

13:31:14,270 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012095: Abort of action id 0:ffffc0a8aa20:15233479:558a946f:c6 invoked while multiple threads active within it.
13:31:14,271 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012108: CheckedAction::check - atomic action 0:ffffc0a8aa20:15233479:558a946f:c6 aborting with 1 threads active!
13:31:14,276 INFO  [org.hibernate.engine.jdbc.internal.LogicalConnectionImpl] (Transaction Reaper Worker 0) HHH000106: Forcing container resource cleanup on transaction completion
13:31:14,277 ERROR [org.hibernate.search.exception.impl.LogErrorHandler] (Hibernate Search: entityloader-1) HSEARCH000058: HSEARCH000116: Unexpected error during MassIndexer operation: java.lang.IllegalStateException: BaseTransaction.rollback - ARJUNA016074: no transaction!
   at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.rollback(BaseTransaction.java:130)
   at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.rollback(BaseTransactionManagerDelegate.java:114)
   at org.hibernate.search.batchindexing.impl.OptionallyWrapInJTATransaction.run(OptionallyWrapInJTATransaction.java:102) [hibernate-search-orm-4.0.0.Final.jar:4.0.0.Final]
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [classes.jar:1.6.0_65]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [classes.jar:1.6.0_65]
   at java.lang.Thread.run(Thread.java:695) [classes.jar:1.6.0_65]

13:31:14,300 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012121: TransactionReaper::doCancellations worker Thread[Transaction Reaper Worker 0,5,main] successfully canceled TX 0:ffffc0a8aa20:15233479:558a946f:c6
13:31:14,418 INFO  [org.hibernate.search.impl.SimpleIndexingProgressMonitor] (Hibernate Search: IndexWriter worker executor for de.messagemobile.contract.service.ServiceMTTermination-1) HSEARCH000030: 3950 documents indexed in 25706 ms
13:31:14,419 INFO  [org.hibernate.search.impl.SimpleIndexingProgressMonitor] (Hibernate Search: IndexWriter worker executor for de.messagemobile.contract.service.ServiceMTTermination-1) HSEARCH000031: Indexing speed: 153.660629 documents/second; progress: 2.72%
13:31:14,697 INFO  [org.hibernate.search.impl.SimpleIndexingProgressMonitor] (Hibernate Search: IndexWriter worker executor for de.messagemobile.contract.service.ServiceMTTermination-1) HSEARCH000030: 4000 documents indexed in 25986 ms



Error thrown a few minutes later (just before indexing is stopped)
Code:
13:31:44,896 WARN  [com.arjuna.ats.arjuna] (Hibernate Search: collectionsloader-1) ARJUNA012077: Abort called on already aborted atomic action 0:ffffc0a8aa20:15233479:558a946f:c2
13:31:44,897 ERROR [org.hibernate.search.exception.impl.LogErrorHandler] (Hibernate Search: collectionsloader-1) HSEARCH000058: HSEARCH000116: Unexpected error during MassIndexer operation: javax.transaction.RollbackException: ARJUNA016063: The transaction is not active!
   at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1155)
   at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
   at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
   at org.hibernate.search.batchindexing.impl.OptionallyWrapInJTATransaction.run(OptionallyWrapInJTATransaction.java:90) [hibernate-search-orm-4.0.0.Final.jar:4.0.0.Final]
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [classes.jar:1.6.0_65]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [classes.jar:1.6.0_65]
   at java.lang.Thread.run(Thread.java:695) [classes.jar:1.6.0_65]

13:31:44,902 ERROR [org.hibernate.search.exception.impl.LogErrorHandler] (Hibernate Search: collectionsloader-1) HSEARCH000058: HSEARCH000116: Unexpected error during MassIndexer operation: java.lang.IllegalStateException: BaseTransaction.rollback - ARJUNA016074: no transaction!
   at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.rollback(BaseTransaction.java:130)
   at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.rollback(BaseTransactionManagerDelegate.java:114)
   at org.hibernate.search.batchindexing.impl.OptionallyWrapInJTATransaction.run(OptionallyWrapInJTATransaction.java:102) [hibernate-search-orm-4.0.0.Final.jar:4.0.0.Final]
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [classes.jar:1.6.0_65]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [classes.jar:1.6.0_65]
   at java.lang.Thread.run(Thread.java:695) [classes.jar:1.6.0_65]



Top
 Profile  
 
 Post subject: Re: MassIndexer, The transaction is not active!
PostPosted: Wed Jun 24, 2015 12:53 pm 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hello,
sorry that issue is still open. We couldn't find a simple solution other than have you change your global transaction timeout. I hope we'll eventually resolve it, and actually we'll start working on that next week but it's going to take a while to carefully re-think the MassIndexer.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.