datasource - Transaction TimeOut when we are using JPA Paging Item reader in Spring batch -
can stuck here...please find logs below:
2016-04-18 18:13:57,645 warn [[standby] executethread: '3' queue: 'weblogic.kernel.default (self-tuning)'] o.h.e.t.s.i.synchronizationcallbackcoordinatortrackingimpl [jdklogger.java:64] hhh000451: transaction aftercompletion called background thread; delaying aftercompletion processing until original thread can handle it. [status=4] 2016-04-18 18:13:57,646 castxn-735623935340919 warn [simpleasynctaskexecutor-1] o.h.e.j.s.sqlexceptionhelper [jdklogger.java:44] sql error: 0, sqlstate: null 2016-04-18 18:13:57,647 castxn-735623935340919 error [simpleasynctaskexecutor-1] o.h.e.j.s.sqlexceptionhelper [jdklogger.java:44] unexpected exception while enlisting xaconnection java.sql.sqlexception: transaction rolled back: transaction timed out after 30 seconds bea1-018b7b77ba5e55afe704 @ weblogic.jdbc.jta.datasource.enlist(datasource.java:1760) @ weblogic.jdbc.jta.datasource.refreshxaconnandenlist(datasource.java:1645) @ weblogic.jdbc.wrapper.jtaconnection.getxaconn(jtaconnection.java:232) @ weblogic.jdbc.wrapper.jtaconnection.checkconnection(jtaconnection.java:94) @ weblogic.jdbc.wrapper.jtaconnection.checkconnection(jtaconnection.java:77) @ weblogic.jdbc.wrapper.statement.checkstatement(statement.java:323) @ weblogic.jdbc.wrapper.statement.preinvocationhandler(statement.java:123) @ weblogic.jdbc.wrapper.preparedstatement.setlong(preparedstatement.java:543) @ sun.reflect.generatedmethodaccessor271.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:55) @ java.lang.reflect.method.invoke(method.java:507) @ net.bull.javamelody.jdbcwrapper$statementinvocationhandler.invoke(jdbcwrapper.java:144) @ net.bull.javamelody.jdbcwrapper$delegatinginvocationhandler.invoke(jdbcwrapper.java:285) @ com.sun.proxy.$proxy238.setlong(unknown source) @ org.hibernate.type.descriptor.sql.biginttypedescriptor$1.dobind(biginttypedescriptor.java:64) @ org.hibernate.type.descriptor.sql.basicbinder.bind(basicbinder.java:90) @ org.hibernate.type.abstractstandardbasictype.nullsafeset(abstractstandardbasictype.java:286) @ org.hibernate.type.abstractstandardbasictype.nullsafeset(abstractstandardbasictype.java:281) @ org.hibernate.loader.plan.exec.internal.abstractloadplanbasedloader.bindpositionalparameters(abstractloadplanbasedloader.java:378) @ org.hibernate.loader.plan.exec.internal.abstractloadplanbasedloader.bindparametervalues(abstractloadplanbasedloader.java:349) @ org.hibernate.loader.plan.exec.internal.abstractloadplanbasedloader.preparequerystatement(abstractloadplanbasedloader.java:270) @ org.hibernate.loader.plan.exec.internal.abstractloadplanbasedloader.executequerystatement(abstractloadplanbasedloader.java:201) @ org.hibernate.loader.plan.exec.internal.abstractloadplanbasedloader.executeload(abstractloadplanbasedloader.java:137) @ org.hibernate.loader.plan.exec.internal.abstractloadplanbasedloader.executeload(abstractloadplanbasedloader.java:102) @ org.hibernate.loader.collection.plan.abstractloadplanbasedcollectioninitializer.initialize(abstractloadplanbasedcollectioninitializer.java:100) @ org.hibernate.persister.collection.abstractcollectionpersister.initialize(abstractcollectionpersister.java:693) @ org.hibernate.event.internal.defaultinitializecollectioneventlistener.oninitializecollection(defaultinitializecollectioneventlistener.java:92) @ org.hibernate.internal.sessionimpl.initializecollection(sessionimpl.java:1897) @ org.hibernate.collection.internal.abstractpersistentcollection$4.dowork(abstractpersistentcollection.java:558) @ org.hibernate.collection.internal.abstractpersistentcollection.withtemporarysessionifneeded(abstractpersistentcollection.java:260) @ org.hibernate.collection.internal.abstractpersistentcollection.initialize(abstractpersistentcollection.java:554) @ org.hibernate.collection.internal.abstractpersistentcollection.read(abstractpersistentcollection.java:142) @ org.hibernate.collection.internal.persistentbag.iterator(persistentbag.java:294) @ org.hibernate.type.collectiontype.getelementsiterator(collectiontype.java:263) @ org.hibernate.type.collectiontype.getelementsiterator(collectiontype.java:253) @ org.hibernate.engine.spi.cascadingactions.getallelementsiterator(cascadingactions.java:496) @ org.hibernate.engine.spi.cascadingactions.access$100(cascadingactions.java:50) @ org.hibernate.engine.spi.cascadingactions$1.getcascadablechildreniterator(cascadingactions.java:83) @ org.hibernate.engine.internal.cascade.cascadecollectionelements(cascade.java:377) @ org.hibernate.engine.internal.cascade.cascadecollection(cascade.java:319) @ org.hibernate.engine.internal.cascade.cascadeassociation(cascade.java:296) @ org.hibernate.engine.internal.cascade.cascadeproperty(cascade.java:161) @ org.hibernate.engine.internal.cascade.cascade(cascade.java:118) @ org.hibernate.event.internal.defaultdeleteeventlistener.cascadebeforedelete(defaultdeleteeventlistener.java:353) @ org.hibernate.event.internal.defaultdeleteeventlistener.deleteentity(defaultdeleteeventlistener.java:275) @ org.hibernate.event.internal.defaultdeleteeventlistener.ondelete(defaultdeleteeventlistener.java:160) @ org.hibernate.internal.sessionimpl.firedelete(sessionimpl.java:929) @ org.hibernate.internal.sessionimpl.delete(sessionimpl.java:906) @ org.hibernate.engine.spi.cascadingactions$1.cascade(cascadingactions.java:74) @ org.hibernate.engine.internal.cascade.cascadetoone(cascade.java:350) @ org.hibernate.engine.internal.cascade.cascadeassociation(cascade.java:293) @ org.hibernate.engine.internal.cascade.cascadeproperty(cascade.java:161) @ org.hibernate.engine.internal.cascade.cascadecollectionelements(cascade.java:379) @ org.hibernate.engine.internal.cascade.cascadecollection(cascade.java:319) @ org.hibernate.engine.internal.cascade.cascadeassociation(cascade.java:296) @ org.hibernate.engine.internal.cascade.cascadeproperty(cascade.java:161) @ org.hibernate.engine.internal.cascade.cascade(cascade.java:118) @ org.hibernate.event.internal.defaultdeleteeventlistener.cascadebeforedelete(defaultdeleteeventlistener.java:353) @ org.hibernate.event.internal.defaultdeleteeventlistener.deleteentity(defaultdeleteeventlistener.java:275) @ org.hibernate.event.internal.defaultdeleteeventlistener.ondelete(defaultdeleteeventlistener.java:160) @ org.hibernate.internal.sessionimpl.firedelete(sessionimpl.java:929) @ org.hibernate.internal.sessionimpl.delete(sessionimpl.java:906) @ org.hibernate.engine.spi.cascadingactions$1.cascade(cascadingactions.java:74) @ org.hibernate.engine.internal.cascade.cascadetoone(cascade.java:350) @ org.hibernate.engine.internal.cascade.cascadeassociation(cascade.java:293) @ org.hibernate.engine.internal.cascade.cascadeproperty(cascade.java:161) @ org.hibernate.engine.internal.cascade.cascade(cascade.java:118) @ org.hibernate.event.internal.defaultdeleteeventlistener.cascadeafterdelete(defaultdeleteeventlistener.java:376) @ org.hibernate.event.internal.defaultdeleteeventlistener.deleteentity(defaultdeleteeventlistener.java:312) @ org.hibernate.event.internal.defaultdeleteeventlistener.ondelete(defaultdeleteeventlistener.java:160) @ org.hibernate.event.internal.defaultdeleteeventlistener.ondelete(defaultdeleteeventlistener.java:73) @ org.hibernate.internal.sessionimpl.firedelete(sessionimpl.java:920) @ org.hibernate.internal.sessionimpl.delete(sessionimpl.java:896) @ org.hibernate.jpa.spi.abstractentitymanagerimpl.remove(abstractentitymanagerimpl.java:1214) @ sun.reflect.generatedmethodaccessor291.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:55) @ java.lang.reflect.method.invoke(method.java:507) @ org.springframework.orm.jpa.extendedentitymanagercreator$extendedentitymanagerinvocationhandler.invoke(extendedentitymanagercreator.java:334) @ com.sun.proxy.$proxy235.remove(unknown source) @ sun.reflect.generatedmethodaccessor291.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:55) @ java.lang.reflect.method.invoke(method.java:507) @ org.springframework.orm.jpa.sharedentitymanagercreator$sharedentitymanagerinvocationhandler.invoke(sharedentitymanagercreator.java:257) @ com.sun.proxy.$proxy235.remove(unknown source) @ com.nucleus.persistence.entitydaoimpl.delete(entitydaoimpl.java:119) @ com.nucleus.collection.framework.processes.listener.deletefromtemplistener.beforestep(deletefromtemplistener.java:35) @ com.nucleus.collection.framework.processes.listener.deletefromtemplistener$$fastclassbyspringcglib$$4989e90e.invoke(<generated>) @ org.springframework.cglib.proxy.methodproxy.invoke(methodproxy.java:204) @ org.springframework.aop.framework.cglibaopproxy$cglibmethodinvocation.invokejoinpoint(cglibaopproxy.java:711) @ org.springframework.aop.framework.reflectivemethodinvocation.proceed(reflectivemethodinvocation.java:157) @ org.springframework.transaction.interceptor.transactioninterceptor$1.proceedwithinvocation(transactioninterceptor.java:98) @ org.springframework.transaction.interceptor.transactionaspectsupport.invokewithintransaction(transactionaspectsupport.java:262) @ org.springframework.transaction.interceptor.transactioninterceptor.invoke(transactioninterceptor.java:95) @ org.springframework.aop.framework.reflectivemethodinvocation.proceed(reflectivemethodinvocation.java:179) @ org.springframework.aop.framework.cglibaopproxy$dynamicadvisedinterceptor.intercept(cglibaopproxy.java:644) @ com.nucleus.collection.framework.processes.listener.deletefromtemplistener$$enhancerbyspringcglib$$752407ee.beforestep(<generated>) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:95) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:55) @ java.lang.reflect.method.invoke(method.java:507) @ org.springframework.aop.support.aoputils.invokejoinpointusingreflection(aoputils.java:317) @ org.springframework.aop.framework.reflectivemethodinvocation.invokejoinpoint(reflectivemethodinvocation.java:190) @ org.springframework.aop.framework.reflectivemethodinvocation.proceed(reflectivemethodinvocation.java:157) @ org.springframework.aop.support.delegatingintroductioninterceptor.doproceed(delegatingintroductioninterceptor.java:133) @ org.springframework.aop.support.delegatingintroductioninterceptor.invoke(delegatingintroductioninterceptor.java:121) @ org.springframework.aop.framework.reflectivemethodinvocation.proceed(reflectivemethodinvocation.java:179) @ org.springframework.aop.framework.jdkdynamicaopproxy.invoke(jdkdynamicaopproxy.java:207) @ com.sun.proxy.$proxy270.beforestep(unknown source) @ org.springframework.batch.core.listener.compositestepexecutionlistener.beforestep(compositestepexecutionlistener.java:76) @ org.springframework.batch.core.step.abstractstep.execute(abstractstep.java:191) @ org.springframework.batch.core.job.simplestephandler.handlestep(simplestephandler.java:135) @ org.springframework.batch.core.job.flow.jobflowexecutor.executestep(jobflowexecutor.java:61) @ org.springframework.batch.core.job.flow.support.state.stepstate.handle(stepstate.java:60) @ org.springframework.batch.core.job.flow.support.simpleflow.resume(simpleflow.java:144) @ org.springframework.batch.core.job.flow.support.simpleflow.start(simpleflow.java:124) @ org.springframework.batch.core.job.flow.flowjob.doexecute(flowjob.java:135) @ org.springframework.batch.core.job.abstractjob.execute(abstractjob.java:293) @ org.springframework.batch.core.launch.support.simplejoblauncher$1.run(simplejoblauncher.java:120) @ java.lang.thread.run(thread.java:785) caused by: weblogic.transaction.timedoutexception: transaction timed out after 30 seconds bea1-018b7b77ba5e55afe704 @ weblogic.jdbc.jta.datasource.enlist(datasource.java:1758) ... 118 more 2016-04-18 18:13:57,741 castxn-735623935340919 error [simpleasynctaskexecutor-1] o.s.b.c.s.abstractstep [abstractstep.java:222] encountered error executing step javax.persistence.persistenceexception: org.hibernate.hibernateexception: transaction rolled in different thread! @ org.hibernate.jpa.spi.abstractentitymanagerimpl.convert(abstractentitymanagerimpl.java:1763) ~[hibernate-entitymanager-4.3.6.final.jar:4.3.6.final] @ org.hibernate.jpa.spi.abstractentitymanagerimpl.convert(abstractentitymanagerimpl.java:1677) ~[hibernate-entitymanager-4.3.6.final.jar:4.3.6.final] @ org.hibernate.jpa.spi.abstractentitymanagerimpl.convert(abstractentitymanagerimpl.java:1683) ~[hibernate-entitymanager-4.3.6.final.jar:4.3.6.final] @ org.hibernate.jpa.spi.abstractentitymanagerimpl.remove(abstractentitymanagerimpl.java:1221) ~[hibernate-entitymanager-4.3.6.final.jar:4.3.6.final] @ sun.reflect.generatedmethodaccessor291.invoke(unknown source) ~[na:na] @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:55) ~[na:1.8.0] @ java.lang.reflect.method.invoke(method.java:507) ~[na:2.6 (04-10-2015)] @ org.springframework.orm.jpa.extendedentitymanagercreator$extendedentitymanagerinvocationhandler.invoke(extendedentitymanagercreator.java:334) ~[spring-orm-4.0.2.release.jar:4.0.2.release] @ com.sun.proxy.$proxy235.remove(unknown source) ~[na:1.8.0] @ sun.reflect.generatedmethodaccessor291.invoke(unknown source) ~[na:na] @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:55) ~[na:1.8.0] @ java.lang.reflect.method.invoke(method.java:507) ~[na:2.6 (04-10-2015)] @ org.springframework.orm.jpa.sharedentitymanagercreator$sharedentitymanagerinvocationhandler.invoke(sharedentitymanagercreator.java:257) ~[spring-orm-4.0.2.release.jar:4.0.2.release] @ com.sun.proxy.$proxy235.remove(unknown source) ~[na:1.8.0] @ com.nucleus.persistence.entitydaoimpl.delete(entitydaoimpl.java:119) ~[neutrino-core-framework-1.2.1-ga.jar:na] @ com.nucleus.collection.framework.processes.listener.deletefromtemplistener.beforestep(deletefromtemplistener.java:35) ~[collection-framework-1.0.0-snapshot.jar:na] @ com.nucleus.collection.framework.processes.listener.deletefromtemplistener$$fastclassbyspringcglib$$4989e90e.invoke(<generated>) ~[spring-core-4.0.2.release.jar:na] @ org.springframework.cglib.proxy.methodproxy.invoke(methodproxy.java:204) ~[spring-core-4.0.2.release.jar:4.0.2.release] @ org.springframework.aop.framework.cglibaopproxy$cglibmethodinvocation.invokejoinpoint(cglibaopproxy.java:711) ~[spring-aop-4.0.2.release.jar:4.0.2.release] @ org.springframework.aop.framework.reflectivemethodinvocation.proceed(reflectivemethodinvocation.java:157) ~[spring-aop-4.0.2.release.jar:4.0.2.release] @ org.springframework.transaction.interceptor.transactioninterceptor$1.proceedwithinvocation(transactioninterceptor.java:98) ~[spring-tx-4.0.2.release.jar:4.0.2.release] @ org.springframework.transaction.interceptor.transactionaspectsupport.invokewithintransaction(transactionaspectsupport.java:262) ~[spring-tx-4.0.2.release.jar:4.0.2.release] @ org.springframework.transaction.interceptor.transactioninterceptor.invoke(transactioninterceptor.java:95) ~[spring-tx-4.0.2.release.jar:4.0.2.release] @ org.springframework.aop.framework.reflectivemethodinvocation.proceed(reflectivemethodinvocation.java:179) ~[spring-aop-4.0.2.release.jar:4.0.2.release] @ org.springframework.aop.framework.cglibaopproxy$dynamicadvisedinterceptor.intercept(cglibaopproxy.java:644) ~[spring-aop-4.0.2.release.jar:4.0.2.release] @ com.nucleus.collection.framework.processes.listener.deletefromtemplistener$$enhancerbyspringcglib$$752407ee.beforestep(<generated>) ~[spring-core-4.0.2.release.jar:na] @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) ~[na:1.8.0] @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:95) ~[na:1.8.0] @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:55) ~[na:1.8.0] @ java.lang.reflect.method.invoke(method.java:507) ~[na:2.6 (04-10-2015)] @ org.springframework.aop.support.aoputils.invokejoinpointusingreflection(aoputils.java:317) ~[spring-aop-4.0.2.release.jar:4.0.2.release] @ org.springframework.aop.framework.reflectivemethodinvocation.invokejoinpoint(reflectivemethodinvocation.java:190) ~[spring-aop-4.0.2.release.jar:4.0.2.release] @ org.springframework.aop.framework.reflectivemethodinvocation.proceed(reflectivemethodinvocation.java:157) ~[spring-aop-4.0.2.release.jar:4.0.2.release] @ org.springframework.aop.support.delegatingintroductioninterceptor.doproceed(delegatingintroductioninterceptor.java:133) ~[spring-aop-4.0.2.release.jar:4.0.2.release] @ org.springframework.aop.support.delegatingintroductioninterceptor.invoke(delegatingintroductioninterceptor.java:121) ~[spring-aop-4.0.2.release.jar:4.0.2.release] @ org.springframework.aop.framework.reflectivemethodinvocation.proceed(reflectivemethodinvocation.java:179) ~[spring-aop-4.0.2.release.jar:4.0.2.release] @ org.springframework.aop.framework.jdkdynamicaopproxy.invoke(jdkdynamicaopproxy.java:207) ~[spring-aop-4.0.2.release.jar:4.0.2.release] @ com.sun.proxy.$proxy270.beforestep(unknown source) ~[na:1.8.0] @ org.springframework.batch.core.listener.compositestepexecutionlistener.beforestep(compositestepexecutionlistener.java:76) ~[spring-batch-core-2.1.9.release.jar:na] @ org.springframework.batch.core.step.abstractstep.execute(abstractstep.java:191) ~[spring-batch-core-2.1.9.release.jar:na] @ org.springframework.batch.core.job.simplestephandler.handlestep(simplestephandler.java:135) [spring-batch-core-2.1.9.release.jar:na] @ org.springframework.batch.core.job.flow.jobflowexecutor.executestep(jobflowexecutor.java:61) [spring-batch-core-2.1.9.release.jar:na] @ org.springframework.batch.core.job.flow.support.state.stepstate.handle(stepstate.java:60) [spring-batch-core-2.1.9.release.jar:na] @ org.springframework.batch.core.job.flow.support.simpleflow.resume(simpleflow.java:144) [spring-batch-core-2.1.9.release.jar:na] @ org.springframework.batch.core.job.flow.support.simpleflow.start(simpleflow.java:124) [spring-batch-core-2.1.9.release.jar:na] @ org.springframework.batch.core.job.flow.flowjob.doexecute(flowjob.java:135) [spring-batch-core-2.1.9.release.jar:na] @ org.springframework.batch.core.job.abstractjob.execute(abstractjob.java:293) [spring-batch-core-2.1.9.release.jar:na] @ org.springframework.batch.core.launch.support.simplejoblauncher$1.run(simplejoblauncher.java:120) [spring-batch-core-2.1.9.release.jar:na] @ java.lang.thread.run(thread.java:785) [na:1.8.0] caused by: org.hibernate.hibernateexception: transaction rolled in different thread! @ org.hibernate.engine.transaction.synchronization.internal.synchronizationcallbackcoordinatortrackingimpl.processanydelayedaftercompletion(synchronizationcallbackcoordinatortrackingimpl.java:100) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.internal.sessionimpl.delayedaftercompletion(sessionimpl.java:664) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.internal.sessionimpl.checktransactionsynchstatus(sessionimpl.java:2157) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.internal.sessionimpl.getpersistencecontext(sessionimpl.java:1995) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.event.internal.defaultdeleteeventlistener.cascadebeforedelete(defaultdeleteeventlistener.java:360) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.event.internal.defaultdeleteeventlistener.deleteentity(defaultdeleteeventlistener.java:275) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.event.internal.defaultdeleteeventlistener.ondelete(defaultdeleteeventlistener.java:160) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.internal.sessionimpl.firedelete(sessionimpl.java:929) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.internal.sessionimpl.delete(sessionimpl.java:906) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.engine.spi.cascadingactions$1.cascade(cascadingactions.java:74) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.engine.internal.cascade.cascadetoone(cascade.java:350) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.engine.internal.cascade.cascadeassociation(cascade.java:293) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.engine.internal.cascade.cascadeproperty(cascade.java:161) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.engine.internal.cascade.cascadecollectionelements(cascade.java:379) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.engine.internal.cascade.cascadecollection(cascade.java:319) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.engine.internal.cascade.cascadeassociation(cascade.java:296) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.engine.internal.cascade.cascadeproperty(cascade.java:161) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.engine.internal.cascade.cascade(cascade.java:118) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.event.internal.defaultdeleteeventlistener.cascadebeforedelete(defaultdeleteeventlistener.java:353) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.event.internal.defaultdeleteeventlistener.deleteentity(defaultdeleteeventlistener.java:275) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.event.internal.defaultdeleteeventlistener.ondelete(defaultdeleteeventlistener.java:160) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.internal.sessionimpl.firedelete(sessionimpl.java:929) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.internal.sessionimpl.delete(sessionimpl.java:906) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.engine.spi.cascadingactions$1.cascade(cascadingactions.java:74) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.engine.internal.cascade.cascadetoone(cascade.java:350) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.engine.internal.cascade.cascadeassociation(cascade.java:293) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.engine.internal.cascade.cascadeproperty(cascade.java:161) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.engine.internal.cascade.cascade(cascade.java:118) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.event.internal.defaultdeleteeventlistener.cascadeafterdelete(defaultdeleteeventlistener.java:376) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.event.internal.defaultdeleteeventlistener.deleteentity(defaultdeleteeventlistener.java:312) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.event.internal.defaultdeleteeventlistener.ondelete(defaultdeleteeventlistener.java:160) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.event.internal.defaultdeleteeventlistener.ondelete(defaultdeleteeventlistener.java:73) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.internal.sessionimpl.firedelete(sessionimpl.java:920) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.internal.sessionimpl.delete(sessionimpl.java:896) ~[hibernate-core-4.3.6.final.jar:4.3.6.final] @ org.hibernate.jpa.spi.abstractentitymanagerimpl.remove(abstractentitymanagerimpl.java:1214) ~[hibernate-entitymanager-4.3.6.final.jar:4.3.6.final] ... 45 common frames omitted
with batch processing not uncommon stumble upon application server default transaction timeout, did check configuration?
for bea weblogic found 30 seconds
weblogic automatically roll transactions don’t complete in number of seconds. default setting 30 seconds...
Comments
Post a Comment