0 Replies Latest reply on Dec 2, 2016 2:21 PM by Jayakumar Jayabal

    StaleObjectStateException while using SINGLETON runtime strategy

    Jayakumar Jayabal Newbie

      Hi,

       

      I have deployed two deployment units to the runtime that uses SINGLETON strategy. When I try to run concurrent transactions using JMeter, I get the below exception. The exception clearly states that this is an issue with StaleObjectStateException where the SessionInfo table has been updated by another transaction. Please note that this is not a clustered environment. The concurrent transactions are executed in parallel on both the deployed strategies. Tried so many options (including using both optimistic locking & pessimistic locking, using separate transaction managers for each deploymentunit) and everything ended up in the same exception.When this issue happens, two transactions are getting failed at the same time. One transaction on deployment unit 1 and the other transaction on deployment unit 2.  Please shed some light on fixing this issue.

       

      I also specifically do not want to make use of the PER_REQUEST strategy as the webservice that I am calling is not capable of handling concurrent requests.

       

      2016-12-01 14:13:21,664 | WARN  | qtp414404812-594 | SqlExceptionHelper               | 265 - org.jboss.logging.jboss-logging - 3.1.4.GA | SQL Error: 90067, SQLState: 90067

      2016-12-01 14:13:21,664 | ERROR | qtp414404812-594 | SqlExceptionHelper               | 265 - org.jboss.logging.jboss-logging - 3.1.4.GA | Connection is broken: "session closed" [90067-172]

      2016-12-01 14:13:21,668 | ERROR | qtp414404812-594 | TransactionSynchronizationUtils  | 201 - org.apache.servicemix.bundles.spring-tx - 3.2.14.RELEASE_1 | TransactionSynchronization.beforeCompletion threw exception

      javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not prepare statement

        at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1387)[261:org.hibernate.entitymanager:4.2.15.Final]

        at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1310)[261:org.hibernate.entitymanager:4.2.15.Final]

        at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1316)[261:org.hibernate.entitymanager:4.2.15.Final]

        at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:999)[261:org.hibernate.entitymanager:4.2.15.Final]

        at sun.reflect.GeneratedMethodAccessor137.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101]

        at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101]

        at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:366)[199:org.apache.servicemix.bundles.spring-orm:3.2.14.RELEASE_1]

        at com.sun.proxy.$Proxy163.flush(Unknown Source)

        at org.drools.persistence.TriggerUpdateTransactionSynchronization.beforeCompletion(TriggerUpdateTransactionSynchronization.java:57)

        at org.kie.spring.persistence.SpringTransactionSynchronizationAdapter.beforeCompletion(SpringTransactionSynchronizationAdapter.java:54)

        at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCompletion(TransactionSynchronizationUtils.java:106)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCompletion(AbstractPlatformTransactionManager.java:938)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:739)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.kie.spring.persistence.KieSpringTransactionManager.commit(KieSpringTransactionManager.java:70)

        at org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:551)

        at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)

        at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:73)

        at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)

        at org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:79)[227:org.drools.persistence.jpa:6.2.0.201503042125]

        at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:358)

        at org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:242)

        at com.higherone.ione.runtime.services.impl.StrategyProcessServiceImpl.startProcess(StrategyProcessServiceImpl.java:72)[48:ione-runtime-service:2.1.7.RELEASE]

        at com.higherone.ione.runtime.services.impl.StrategyProcessServiceImpl.startProcess(StrategyProcessServiceImpl.java:41)[48:ione-runtime-service:2.1.7.RELEASE]

        at com.higherone.ione.runtime.processors.StrategyRuntimeProcessor.process(StrategyRuntimeProcessor.java:70)[48:ione-runtime-service:2.1.7.RELEASE]

        at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101]

        at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101]

        at org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:408)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.MethodInfo$1.doProceed(MethodInfo.java:279)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:252)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:171)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:68)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProducer.process(BeanProducer.java:38)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProcessor.process(DirectVmProcessor.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProducer.process(DirectVmProducer.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProcessor.process(DirectVmProcessor.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProducer.process(DirectVmProducer.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.jetty.CamelContinuationServlet.service(CamelContinuationServlet.java:162)[100:org.apache.camel.camel-jetty-common:2.15.4]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[58:javax.servlet-api:3.1.0]

        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlets.MultiPartFilter.doFilter(MultiPartFilter.java:146)[245:org.eclipse.jetty.servlets:9.2.10.v20150310]

        at org.apache.camel.component.jetty.CamelFilterWrapper.doFilter(CamelFilterWrapper.java:43)[100:org.apache.camel.camel-jetty-common:2.15.4]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:542)[242:org.eclipse.jetty.security:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.Server.handle(Server.java:497)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[235:org.eclipse.jetty.io:9.2.10.v20150310]

        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[246:org.eclipse.jetty.util:9.2.10.v20150310]

        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[246:org.eclipse.jetty.util:9.2.10.v20150310]

        at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]

      Caused by: org.hibernate.exception.GenericJDBCException: could not prepare statement

        at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)

        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:124)

        at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:193)

        at org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareStatement(StatementPreparerImpl.java:89)

        at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3193)

        at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3138)

        at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3468)

        at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:140)

        at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:395)

        at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:387)

        at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:304)

        at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:349)

        at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)

        at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1159)

        at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:996)[261:org.hibernate.entitymanager:4.2.15.Final]

        ... 76 more

      Caused by: org.h2.jdbc.JdbcSQLException: Connection is broken: "session closed" [90067-172]

        at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)

        at org.h2.message.DbException.get(DbException.java:169)

        at org.h2.message.DbException.get(DbException.java:146)

        at org.h2.engine.SessionRemote.checkClosed(SessionRemote.java:512)

        at org.h2.engine.SessionRemote.prepareCommand(SessionRemote.java:448)

        at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1138)

        at org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:70)

        at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:267)

        at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$1.doPrepare(StatementPreparerImpl.java:96)

        at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:183)

        ... 88 more

      2016-12-01 14:13:21,974 | WARN  | qtp414404812-594 | KieSpringTransactionManager      | 285 - org.kie.spring - 6.2.0.201503042209 | Unable to commit transaction

      org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is bitronix.tm.internal.BitronixRollbackException: transaction was marked as rollback only and has been rolled back

        at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1015)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.kie.spring.persistence.KieSpringTransactionManager.commit(KieSpringTransactionManager.java:70)

        at org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:551)

        at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)

        at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:73)

        at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)

        at org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:79)[227:org.drools.persistence.jpa:6.2.0.201503042125]

        at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:358)

        at org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:242)

        at com.higherone.ione.runtime.services.impl.StrategyProcessServiceImpl.startProcess(StrategyProcessServiceImpl.java:72)[48:ione-runtime-service:2.1.7.RELEASE]

        at com.higherone.ione.runtime.services.impl.StrategyProcessServiceImpl.startProcess(StrategyProcessServiceImpl.java:41)[48:ione-runtime-service:2.1.7.RELEASE]

        at com.higherone.ione.runtime.processors.StrategyRuntimeProcessor.process(StrategyRuntimeProcessor.java:70)[48:ione-runtime-service:2.1.7.RELEASE]

        at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101]

        at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101]

        at org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:408)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.MethodInfo$1.doProceed(MethodInfo.java:279)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:252)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:171)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:68)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProducer.process(BeanProducer.java:38)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProcessor.process(DirectVmProcessor.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProducer.process(DirectVmProducer.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProcessor.process(DirectVmProcessor.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProducer.process(DirectVmProducer.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.jetty.CamelContinuationServlet.service(CamelContinuationServlet.java:162)[100:org.apache.camel.camel-jetty-common:2.15.4]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[58:javax.servlet-api:3.1.0]

        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlets.MultiPartFilter.doFilter(MultiPartFilter.java:146)[245:org.eclipse.jetty.servlets:9.2.10.v20150310]

        at org.apache.camel.component.jetty.CamelFilterWrapper.doFilter(CamelFilterWrapper.java:43)[100:org.apache.camel.camel-jetty-common:2.15.4]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:542)[242:org.eclipse.jetty.security:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.Server.handle(Server.java:497)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[235:org.eclipse.jetty.io:9.2.10.v20150310]

        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[246:org.eclipse.jetty.util:9.2.10.v20150310]

        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[246:org.eclipse.jetty.util:9.2.10.v20150310]

        at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]

      Caused by: bitronix.tm.internal.BitronixRollbackException: transaction was marked as rollback only and has been rolled back

        at bitronix.tm.BitronixTransaction.commit(BitronixTransaction.java:265)[17:btm:0.0.0]

        at bitronix.tm.BitronixTransactionManager.commit(BitronixTransactionManager.java:143)[17:btm:0.0.0]

        at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1012)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        ... 67 more

      2016-12-01 14:13:22,000 | WARN  | qtp414404812-480 | KieSpringTransactionManager      | 285 - org.kie.spring - 6.2.0.201503042209 | Unable to commit transaction

      org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is bitronix.tm.internal.BitronixRollbackException: RuntimeException thrown during beforeCompletion cycle caused transaction rollback

        at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1015)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.kie.spring.persistence.KieSpringTransactionManager.commit(KieSpringTransactionManager.java:70)

        at org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:551)

        at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)

        at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:73)

        at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)

        at org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:79)[227:org.drools.persistence.jpa:6.2.0.201503042125]

        at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:358)

        at org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:242)

        at com.higherone.ione.runtime.services.impl.StrategyProcessServiceImpl.startProcess(StrategyProcessServiceImpl.java:72)[48:ione-runtime-service:2.1.7.RELEASE]

        at com.higherone.ione.runtime.services.impl.StrategyProcessServiceImpl.startProcess(StrategyProcessServiceImpl.java:41)[48:ione-runtime-service:2.1.7.RELEASE]

        at com.higherone.ione.runtime.processors.StrategyRuntimeProcessor.process(StrategyRuntimeProcessor.java:70)[48:ione-runtime-service:2.1.7.RELEASE]

        at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101]

        at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101]

        at org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:408)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.MethodInfo$1.doProceed(MethodInfo.java:279)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:252)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:171)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:68)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProducer.process(BeanProducer.java:38)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProcessor.process(DirectVmProcessor.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProducer.process(DirectVmProducer.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProcessor.process(DirectVmProcessor.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProducer.process(DirectVmProducer.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.jetty.CamelContinuationServlet.service(CamelContinuationServlet.java:162)[100:org.apache.camel.camel-jetty-common:2.15.4]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[58:javax.servlet-api:3.1.0]

        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlets.MultiPartFilter.doFilter(MultiPartFilter.java:146)[245:org.eclipse.jetty.servlets:9.2.10.v20150310]

        at org.apache.camel.component.jetty.CamelFilterWrapper.doFilter(CamelFilterWrapper.java:43)[100:org.apache.camel.camel-jetty-common:2.15.4]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:542)[242:org.eclipse.jetty.security:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.Server.handle(Server.java:497)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[235:org.eclipse.jetty.io:9.2.10.v20150310]

        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[246:org.eclipse.jetty.util:9.2.10.v20150310]

        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[246:org.eclipse.jetty.util:9.2.10.v20150310]

        at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]

      Caused by: bitronix.tm.internal.BitronixRollbackException: RuntimeException thrown during beforeCompletion cycle caused transaction rollback

        at bitronix.tm.BitronixTransaction.commit(BitronixTransaction.java:241)[17:btm:0.0.0]

        at bitronix.tm.BitronixTransactionManager.commit(BitronixTransactionManager.java:143)[17:btm:0.0.0]

        at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1012)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        ... 67 more

      Caused by: javax.persistence.OptimisticLockException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.drools.persistence.info.SessionInfo#46443]

        at org.hibernate.ejb.AbstractEntityManagerImpl.wrapStaleStateException(AbstractEntityManagerImpl.java:1416)[261:org.hibernate.entitymanager:4.2.15.Final]

        at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1329)[261:org.hibernate.entitymanager:4.2.15.Final]

        at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1310)[261:org.hibernate.entitymanager:4.2.15.Final]

        at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1316)[261:org.hibernate.entitymanager:4.2.15.Final]

        at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1510)[261:org.hibernate.entitymanager:4.2.15.Final]

        at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorNonTrackingImpl.beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:110)

        at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)

        at bitronix.tm.BitronixTransaction.fireBeforeCompletionEvent(BitronixTransaction.java:532)[17:btm:0.0.0]

        at bitronix.tm.BitronixTransaction.commit(BitronixTransaction.java:235)[17:btm:0.0.0]

        ... 69 more

      Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.drools.persistence.info.SessionInfo#46443]

        at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:2521)

        at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3240)

        at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3138)

        at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3468)

        at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:140)

        at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:395)

        at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:387)

        at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:304)

        at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:349)

        at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)

        at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1159)

        at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:404)

        at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorNonTrackingImpl.beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:105)

        ... 72 more

      2016-12-01 14:13:22,059 | WARN  | qtp414404812-594 | SingleSessionCommandService      | 227 - org.drools.persistence.jpa - 6.2.0.201503042125 | Could not commit session

      java.lang.RuntimeException: Unable to commit transaction

        at org.kie.spring.persistence.KieSpringTransactionManager.commit(KieSpringTransactionManager.java:75)

        at org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:551)

        at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)

        at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:73)

        at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)

        at org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:79)[227:org.drools.persistence.jpa:6.2.0.201503042125]

        at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:358)

        at org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:242)

        at com.higherone.ione.runtime.services.impl.StrategyProcessServiceImpl.startProcess(StrategyProcessServiceImpl.java:72)[48:ione-runtime-service:2.1.7.RELEASE]

        at com.higherone.ione.runtime.services.impl.StrategyProcessServiceImpl.startProcess(StrategyProcessServiceImpl.java:41)[48:ione-runtime-service:2.1.7.RELEASE]

        at com.higherone.ione.runtime.processors.StrategyRuntimeProcessor.process(StrategyRuntimeProcessor.java:70)[48:ione-runtime-service:2.1.7.RELEASE]

        at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101]

        at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101]

        at org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:408)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.MethodInfo$1.doProceed(MethodInfo.java:279)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:252)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:171)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:68)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProducer.process(BeanProducer.java:38)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProcessor.process(DirectVmProcessor.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProducer.process(DirectVmProducer.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProcessor.process(DirectVmProcessor.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProducer.process(DirectVmProducer.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.jetty.CamelContinuationServlet.service(CamelContinuationServlet.java:162)[100:org.apache.camel.camel-jetty-common:2.15.4]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[58:javax.servlet-api:3.1.0]

        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlets.MultiPartFilter.doFilter(MultiPartFilter.java:146)[245:org.eclipse.jetty.servlets:9.2.10.v20150310]

        at org.apache.camel.component.jetty.CamelFilterWrapper.doFilter(CamelFilterWrapper.java:43)[100:org.apache.camel.camel-jetty-common:2.15.4]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:542)[242:org.eclipse.jetty.security:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.Server.handle(Server.java:497)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[235:org.eclipse.jetty.io:9.2.10.v20150310]

        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[246:org.eclipse.jetty.util:9.2.10.v20150310]

        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[246:org.eclipse.jetty.util:9.2.10.v20150310]

        at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]

      Caused by: org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is bitronix.tm.internal.BitronixRollbackException: transaction was marked as rollback only and has been rolled back

        at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1015)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.kie.spring.persistence.KieSpringTransactionManager.commit(KieSpringTransactionManager.java:70)

        ... 64 more

      Caused by: bitronix.tm.internal.BitronixRollbackException: transaction was marked as rollback only and has been rolled back

        at bitronix.tm.BitronixTransaction.commit(BitronixTransaction.java:265)[17:btm:0.0.0]

        at bitronix.tm.BitronixTransactionManager.commit(BitronixTransactionManager.java:143)[17:btm:0.0.0]

        at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1012)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        ... 67 more

      2016-12-01 14:13:22,305 | WARN  | qtp414404812-480 | SingleSessionCommandService      | 227 - org.drools.persistence.jpa - 6.2.0.201503042125 | Could not commit session

      java.lang.RuntimeException: Unable to commit transaction

        at org.kie.spring.persistence.KieSpringTransactionManager.commit(KieSpringTransactionManager.java:75)

        at org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:551)

        at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)

        at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:73)

        at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)

        at org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:79)[227:org.drools.persistence.jpa:6.2.0.201503042125]

        at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:358)

        at org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:242)

        at com.higherone.ione.runtime.services.impl.StrategyProcessServiceImpl.startProcess(StrategyProcessServiceImpl.java:72)[48:ione-runtime-service:2.1.7.RELEASE]

        at com.higherone.ione.runtime.services.impl.StrategyProcessServiceImpl.startProcess(StrategyProcessServiceImpl.java:41)[48:ione-runtime-service:2.1.7.RELEASE]

        at com.higherone.ione.runtime.processors.StrategyRuntimeProcessor.process(StrategyRuntimeProcessor.java:70)[48:ione-runtime-service:2.1.7.RELEASE]

        at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101]

        at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101]

        at org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:408)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.MethodInfo$1.doProceed(MethodInfo.java:279)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:252)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:171)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:68)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProducer.process(BeanProducer.java:38)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProcessor.process(DirectVmProcessor.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProducer.process(DirectVmProducer.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProcessor.process(DirectVmProcessor.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProducer.process(DirectVmProducer.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.jetty.CamelContinuationServlet.service(CamelContinuationServlet.java:162)[100:org.apache.camel.camel-jetty-common:2.15.4]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[58:javax.servlet-api:3.1.0]

        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlets.MultiPartFilter.doFilter(MultiPartFilter.java:146)[245:org.eclipse.jetty.servlets:9.2.10.v20150310]

        at org.apache.camel.component.jetty.CamelFilterWrapper.doFilter(CamelFilterWrapper.java:43)[100:org.apache.camel.camel-jetty-common:2.15.4]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:542)[242:org.eclipse.jetty.security:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.Server.handle(Server.java:497)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[235:org.eclipse.jetty.io:9.2.10.v20150310]

        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[246:org.eclipse.jetty.util:9.2.10.v20150310]

        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[246:org.eclipse.jetty.util:9.2.10.v20150310]

        at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]

      Caused by: org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is bitronix.tm.internal.BitronixRollbackException: RuntimeException thrown during beforeCompletion cycle caused transaction rollback

        at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1015)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.kie.spring.persistence.KieSpringTransactionManager.commit(KieSpringTransactionManager.java:70)

        ... 64 more

      Caused by: bitronix.tm.internal.BitronixRollbackException: RuntimeException thrown during beforeCompletion cycle caused transaction rollback

        at bitronix.tm.BitronixTransaction.commit(BitronixTransaction.java:241)[17:btm:0.0.0]

        at bitronix.tm.BitronixTransactionManager.commit(BitronixTransactionManager.java:143)[17:btm:0.0.0]

        at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1012)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        ... 67 more

      Caused by: javax.persistence.OptimisticLockException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.drools.persistence.info.SessionInfo#46443]

        at org.hibernate.ejb.AbstractEntityManagerImpl.wrapStaleStateException(AbstractEntityManagerImpl.java:1416)[261:org.hibernate.entitymanager:4.2.15.Final]

        at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1329)[261:org.hibernate.entitymanager:4.2.15.Final]

        at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1310)[261:org.hibernate.entitymanager:4.2.15.Final]

        at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1316)[261:org.hibernate.entitymanager:4.2.15.Final]

        at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1510)[261:org.hibernate.entitymanager:4.2.15.Final]

        at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorNonTrackingImpl.beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:110)

        at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)

        at bitronix.tm.BitronixTransaction.fireBeforeCompletionEvent(BitronixTransaction.java:532)[17:btm:0.0.0]

        at bitronix.tm.BitronixTransaction.commit(BitronixTransaction.java:235)[17:btm:0.0.0]

        ... 69 more

      Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.drools.persistence.info.SessionInfo#46443]

        at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:2521)

        at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3240)

        at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3138)

        at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3468)

        at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:140)

        at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:395)

        at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:387)

        at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:304)

        at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:349)

        at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)

        at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1159)

        at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:404)

        at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorNonTrackingImpl.beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:105)

        ... 72 more

      2016-12-01 14:13:22,396 | WARN  | qtp414404812-594 | KieSpringTransactionManager      | 285 - org.kie.spring - 6.2.0.201503042209 | Unable to rollback transaction

      org.springframework.transaction.IllegalTransactionStateException: Transaction is already completed - do not call commit or rollback more than once per transaction

        at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:818)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.kie.spring.persistence.KieSpringTransactionManager.rollback(KieSpringTransactionManager.java:84)

        at org.drools.persistence.SingleSessionCommandService.rollbackTransaction(SingleSessionCommandService.java:366)

        at org.drools.persistence.SingleSessionCommandService.access$1100(SingleSessionCommandService.java:55)

        at org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:556)

        at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)

        at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:73)

        at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)

        at org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:79)[227:org.drools.persistence.jpa:6.2.0.201503042125]

        at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:358)

        at org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:242)

        at com.higherone.ione.runtime.services.impl.StrategyProcessServiceImpl.startProcess(StrategyProcessServiceImpl.java:72)[48:ione-runtime-service:2.1.7.RELEASE]

        at com.higherone.ione.runtime.services.impl.StrategyProcessServiceImpl.startProcess(StrategyProcessServiceImpl.java:41)[48:ione-runtime-service:2.1.7.RELEASE]

        at com.higherone.ione.runtime.processors.StrategyRuntimeProcessor.process(StrategyRuntimeProcessor.java:70)[48:ione-runtime-service:2.1.7.RELEASE]

        at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101]

        at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101]

        at org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:408)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.MethodInfo$1.doProceed(MethodInfo.java:279)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:252)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:171)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:68)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProducer.process(BeanProducer.java:38)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProcessor.process(DirectVmProcessor.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProducer.process(DirectVmProducer.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProcessor.process(DirectVmProcessor.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProducer.process(DirectVmProducer.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.jetty.CamelContinuationServlet.service(CamelContinuationServlet.java:162)[100:org.apache.camel.camel-jetty-common:2.15.4]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[58:javax.servlet-api:3.1.0]

        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlets.MultiPartFilter.doFilter(MultiPartFilter.java:146)[245:org.eclipse.jetty.servlets:9.2.10.v20150310]

        at org.apache.camel.component.jetty.CamelFilterWrapper.doFilter(CamelFilterWrapper.java:43)[100:org.apache.camel.camel-jetty-common:2.15.4]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:542)[242:org.eclipse.jetty.security:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.Server.handle(Server.java:497)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[235:org.eclipse.jetty.io:9.2.10.v20150310]

        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[246:org.eclipse.jetty.util:9.2.10.v20150310]

        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[246:org.eclipse.jetty.util:9.2.10.v20150310]

        at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]

      2016-12-01 14:13:22,642 | WARN  | qtp414404812-480 | KieSpringTransactionManager      | 285 - org.kie.spring - 6.2.0.201503042209 | Unable to rollback transaction

      org.springframework.transaction.IllegalTransactionStateException: Transaction is already completed - do not call commit or rollback more than once per transaction

        at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:818)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.kie.spring.persistence.KieSpringTransactionManager.rollback(KieSpringTransactionManager.java:84)

        at org.drools.persistence.SingleSessionCommandService.rollbackTransaction(SingleSessionCommandService.java:366)

        at org.drools.persistence.SingleSessionCommandService.access$1100(SingleSessionCommandService.java:55)

        at org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:556)

        at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)

        at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:73)

        at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)

        at org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:79)[227:org.drools.persistence.jpa:6.2.0.201503042125]

        at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:358)

        at org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:242)

        at com.higherone.ione.runtime.services.impl.StrategyProcessServiceImpl.startProcess(StrategyProcessServiceImpl.java:72)[48:ione-runtime-service:2.1.7.RELEASE]

        at com.higherone.ione.runtime.services.impl.StrategyProcessServiceImpl.startProcess(StrategyProcessServiceImpl.java:41)[48:ione-runtime-service:2.1.7.RELEASE]

        at com.higherone.ione.runtime.processors.StrategyRuntimeProcessor.process(StrategyRuntimeProcessor.java:70)[48:ione-runtime-service:2.1.7.RELEASE]

        at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101]

        at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101]

        at org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:408)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.MethodInfo$1.doProceed(MethodInfo.java:279)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:252)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:171)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:68)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProducer.process(BeanProducer.java:38)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProcessor.process(DirectVmProcessor.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProducer.process(DirectVmProducer.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProcessor.process(DirectVmProcessor.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProducer.process(DirectVmProducer.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.jetty.CamelContinuationServlet.service(CamelContinuationServlet.java:162)[100:org.apache.camel.camel-jetty-common:2.15.4]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[58:javax.servlet-api:3.1.0]

        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlets.MultiPartFilter.doFilter(MultiPartFilter.java:146)[245:org.eclipse.jetty.servlets:9.2.10.v20150310]

        at org.apache.camel.component.jetty.CamelFilterWrapper.doFilter(CamelFilterWrapper.java:43)[100:org.apache.camel.camel-jetty-common:2.15.4]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:542)[242:org.eclipse.jetty.security:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.Server.handle(Server.java:497)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[235:org.eclipse.jetty.io:9.2.10.v20150310]

        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[246:org.eclipse.jetty.util:9.2.10.v20150310]

        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[246:org.eclipse.jetty.util:9.2.10.v20150310]

        at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]

      2016-12-01 14:13:22,729 | ERROR | qtp414404812-594 | SingleSessionCommandService      | 227 - org.drools.persistence.jpa - 6.2.0.201503042125 | Could not rollback

      java.lang.RuntimeException: Unable to rollback transaction

        at org.kie.spring.persistence.KieSpringTransactionManager.rollback(KieSpringTransactionManager.java:90)

        at org.drools.persistence.SingleSessionCommandService.rollbackTransaction(SingleSessionCommandService.java:366)

        at org.drools.persistence.SingleSessionCommandService.access$1100(SingleSessionCommandService.java:55)

        at org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:556)

        at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)

        at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:73)

        at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)

        at org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:79)[227:org.drools.persistence.jpa:6.2.0.201503042125]

        at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:358)

        at org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:242)

        at com.higherone.ione.runtime.services.impl.StrategyProcessServiceImpl.startProcess(StrategyProcessServiceImpl.java:72)[48:ione-runtime-service:2.1.7.RELEASE]

        at com.higherone.ione.runtime.services.impl.StrategyProcessServiceImpl.startProcess(StrategyProcessServiceImpl.java:41)[48:ione-runtime-service:2.1.7.RELEASE]

        at com.higherone.ione.runtime.processors.StrategyRuntimeProcessor.process(StrategyRuntimeProcessor.java:70)[48:ione-runtime-service:2.1.7.RELEASE]

        at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101]

        at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101]

        at org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:408)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.MethodInfo$1.doProceed(MethodInfo.java:279)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:252)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:171)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:68)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProducer.process(BeanProducer.java:38)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProcessor.process(DirectVmProcessor.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProducer.process(DirectVmProducer.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProcessor.process(DirectVmProcessor.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProducer.process(DirectVmProducer.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.jetty.CamelContinuationServlet.service(CamelContinuationServlet.java:162)[100:org.apache.camel.camel-jetty-common:2.15.4]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[58:javax.servlet-api:3.1.0]

        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlets.MultiPartFilter.doFilter(MultiPartFilter.java:146)[245:org.eclipse.jetty.servlets:9.2.10.v20150310]

        at org.apache.camel.component.jetty.CamelFilterWrapper.doFilter(CamelFilterWrapper.java:43)[100:org.apache.camel.camel-jetty-common:2.15.4]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:542)[242:org.eclipse.jetty.security:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.Server.handle(Server.java:497)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[235:org.eclipse.jetty.io:9.2.10.v20150310]

        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[246:org.eclipse.jetty.util:9.2.10.v20150310]

        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[246:org.eclipse.jetty.util:9.2.10.v20150310]

        at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]

      Caused by: org.springframework.transaction.IllegalTransactionStateException: Transaction is already completed - do not call commit or rollback more than once per transaction

        at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:818)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.kie.spring.persistence.KieSpringTransactionManager.rollback(KieSpringTransactionManager.java:84)

        ... 66 more

      2016-12-01 14:13:22,817 | ERROR | qtp414404812-480 | SingleSessionCommandService      | 227 - org.drools.persistence.jpa - 6.2.0.201503042125 | Could not rollback

      java.lang.RuntimeException: Unable to rollback transaction

        at org.kie.spring.persistence.KieSpringTransactionManager.rollback(KieSpringTransactionManager.java:90)

        at org.drools.persistence.SingleSessionCommandService.rollbackTransaction(SingleSessionCommandService.java:366)

        at org.drools.persistence.SingleSessionCommandService.access$1100(SingleSessionCommandService.java:55)

        at org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:556)

        at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)

        at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:73)

        at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)

        at org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:79)[227:org.drools.persistence.jpa:6.2.0.201503042125]

        at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:358)

        at org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:242)

        at com.higherone.ione.runtime.services.impl.StrategyProcessServiceImpl.startProcess(StrategyProcessServiceImpl.java:72)[48:ione-runtime-service:2.1.7.RELEASE]

        at com.higherone.ione.runtime.services.impl.StrategyProcessServiceImpl.startProcess(StrategyProcessServiceImpl.java:41)[48:ione-runtime-service:2.1.7.RELEASE]

        at com.higherone.ione.runtime.processors.StrategyRuntimeProcessor.process(StrategyRuntimeProcessor.java:70)[48:ione-runtime-service:2.1.7.RELEASE]

        at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101]

        at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101]

        at org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:408)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.MethodInfo$1.doProceed(MethodInfo.java:279)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:252)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:171)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:68)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.bean.BeanProducer.process(BeanProducer.java:38)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProcessor.process(DirectVmProcessor.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProducer.process(DirectVmProducer.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProcessor.process(DirectVmProcessor.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.directvm.DirectVmProducer.process(DirectVmProducer.java:55)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[95:org.apache.camel.camel-core:2.15.4]

        at org.apache.camel.component.jetty.CamelContinuationServlet.service(CamelContinuationServlet.java:162)[100:org.apache.camel.camel-jetty-common:2.15.4]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[58:javax.servlet-api:3.1.0]

        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlets.MultiPartFilter.doFilter(MultiPartFilter.java:146)[245:org.eclipse.jetty.servlets:9.2.10.v20150310]

        at org.apache.camel.component.jetty.CamelFilterWrapper.doFilter(CamelFilterWrapper.java:43)[100:org.apache.camel.camel-jetty-common:2.15.4]

        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[244:org.eclipse.jetty.servlet:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:542)[242:org.eclipse.jetty.security:9.2.10.v20150310]

        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.Server.handle(Server.java:497)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[243:org.eclipse.jetty.server:9.2.10.v20150310]

        at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[235:org.eclipse.jetty.io:9.2.10.v20150310]

        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[246:org.eclipse.jetty.util:9.2.10.v20150310]

        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[246:org.eclipse.jetty.util:9.2.10.v20150310]

        at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]

      Caused by: org.springframework.transaction.IllegalTransactionStateException: Transaction is already completed - do not call commit or rollback more than once per transaction

        at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:818)[201:org.apache.servicemix.bundles.spring-tx:3.2.14.RELEASE_1]

        at org.kie.spring.persistence.KieSpringTransactionManager.rollback(KieSpringTransactionManager.java:84)

        ... 66 more

       

      Thanks,

      Jayakumar J