snowstorm tech [
https://community.jboss.org/people/snowstormuser] created the discussion
"Getting errors while completing the human task."
To view the discussion, visit:
https://community.jboss.org/message/798347#798347
--------------------------------------------------------------
Hi,
I have executed the "Evalution" sample Process and fill the"krisv"
in "user name" field as a intial data for the process form.The process starts
correctlly and new humantask is assign to "krisv" user and can be viewed
correctlly but at the time of completing the task following errors are occours.
17:57:28,403 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper]
(Thread-72) Unique index or primary key violation: "PRIMARY_KEY_C ON
PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:
insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-161]
17:57:28,423 WARN [org.jbpm.task.service.persistence.TaskLocalTransactionManager]
(Thread-72) Unable to commit transaction: javax.persistence.RollbackException: Error while
committing the transaction
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:90)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at
org.jbpm.task.service.persistence.TaskLocalTransactionManager.commit(TaskLocalTransactionManager.java:55)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:107)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1118)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.persistInTransaction(TaskServiceSession.java:1090)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.addGroupFromCallbackOperation(TaskServiceSession.java:1594)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doCallbackGroupsOperation(TaskServiceSession.java:1571)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doUserGroupCallbackOperation(TaskServiceSession.java:1213)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:411)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:90)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]
Caused by: javax.persistence.PersistenceException:
org.hibernate.exception.ConstraintViolationException: Unique index or primary key
violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:
insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-161]
at
org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:78)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
... 12 more
Caused by: org.hibernate.exception.ConstraintViolationException: Unique index or primary
key violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL
statement:
insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-161]
at
org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at $Proxy33.executeUpdate(Unknown Source) at
org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:56)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2849)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3290)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:80)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:272)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:264)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:186)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.beforeTransactionCommit(JdbcTransaction.java:101)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:175)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:73)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
... 12 more
Caused by: org.h2.jdbc.JdbcSQLException: Unique index or primary key violation:
"PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:
insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-161]
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.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:81)
at org.h2.index.PageBtree.find(PageBtree.java:121)
at org.h2.index.PageBtreeLeaf.addRow(PageBtreeLeaf.java:146)
at org.h2.index.PageBtreeLeaf.addRowTry(PageBtreeLeaf.java:100)
at org.h2.index.PageBtreeIndex.addRow(PageBtreeIndex.java:105)
at org.h2.index.PageBtreeIndex.add(PageBtreeIndex.java:96)
at org.h2.table.RegularTable.addRow(RegularTable.java:121)
at org.h2.command.dml.Insert.insertRows(Insert.java:124)
at org.h2.command.dml.Insert.update(Insert.java:84)
at org.h2.command.CommandContainer.update(CommandContainer.java:73)
at org.h2.command.Command.executeUpdate(Command.java:219)
at
org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:143)
at
org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:129)
at
org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:493)
at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source) [:1.6.0_24]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[rt.jar:1.6.0_24]
at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_24]
at
org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
... 28 more
17:57:28,896 ERROR [org.jbpm.task.service.persistence.TaskPersistenceManager] (Thread-72)
Unable to commit, rolling back transaction.: java.lang.RuntimeException: Unable to commit
transaction
at
org.jbpm.task.service.persistence.TaskLocalTransactionManager.commit(TaskLocalTransactionManager.java:59)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:107)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1118)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.persistInTransaction(TaskServiceSession.java:1090)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.addGroupFromCallbackOperation(TaskServiceSession.java:1594)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doCallbackGroupsOperation(TaskServiceSession.java:1571)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doUserGroupCallbackOperation(TaskServiceSession.java:1213)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:411)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:90)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]
Caused by: javax.persistence.RollbackException: Error while committing the transaction
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:90)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at
org.jbpm.task.service.persistence.TaskLocalTransactionManager.commit(TaskLocalTransactionManager.java:55)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
... 11 more
Caused by: javax.persistence.PersistenceException:
org.hibernate.exception.ConstraintViolationException: Unique index or primary key
violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:
insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-161]
at
org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:78)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
... 12 more
Caused by: org.hibernate.exception.ConstraintViolationException: Unique index or primary
key violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL
statement:
insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-161]
at
org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at $Proxy33.executeUpdate(Unknown Source) at
org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:56)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2849)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3290)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:80)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:272)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:264)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:186)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.beforeTransactionCommit(JdbcTransaction.java:101)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:175)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:73)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
... 12 more
Caused by: org.h2.jdbc.JdbcSQLException: Unique index or primary key violation:
"PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:
insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-161]
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.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:81)
at org.h2.index.PageBtree.find(PageBtree.java:121)
at org.h2.index.PageBtreeLeaf.addRow(PageBtreeLeaf.java:146)
at org.h2.index.PageBtreeLeaf.addRowTry(PageBtreeLeaf.java:100)
at org.h2.index.PageBtreeIndex.addRow(PageBtreeIndex.java:105)
at org.h2.index.PageBtreeIndex.add(PageBtreeIndex.java:96)
at org.h2.table.RegularTable.addRow(RegularTable.java:121)
at org.h2.command.dml.Insert.insertRows(Insert.java:124)
at org.h2.command.dml.Insert.update(Insert.java:84)
at org.h2.command.CommandContainer.update(CommandContainer.java:73)
at org.h2.command.Command.executeUpdate(Command.java:219)
at
org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:143)
at
org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:129)
at
org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:493)
at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source) [:1.6.0_24]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[rt.jar:1.6.0_24]
at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_24]
at
org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
... 28 more
17:57:29,323 WARN [org.jbpm.task.service.persistence.TaskLocalTransactionManager]
(Thread-72) Unable to rollback transaction: java.lang.IllegalStateException: Transaction
not active
at org.hibernate.ejb.TransactionImpl.rollback(TransactionImpl.java:101)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at
org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:70)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:110)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1118)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.persistInTransaction(TaskServiceSession.java:1090)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.addGroupFromCallbackOperation(TaskServiceSession.java:1594)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doCallbackGroupsOperation(TaskServiceSession.java:1571)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doUserGroupCallbackOperation(TaskServiceSession.java:1213)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:411)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:90)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]
17:57:29,432 WARN [org.jbpm.task.service.persistence.TaskLocalTransactionManager]
(Thread-72) Unable to rollback transaction: java.lang.IllegalStateException: Transaction
not active
at org.hibernate.ejb.TransactionImpl.rollback(TransactionImpl.java:101)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at
org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:70)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.persistence.TaskPersistenceManager.rollBackTransaction(TaskPersistenceManager.java:118)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1120)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.persistInTransaction(TaskServiceSession.java:1090)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.addGroupFromCallbackOperation(TaskServiceSession.java:1594)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doCallbackGroupsOperation(TaskServiceSession.java:1571)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doUserGroupCallbackOperation(TaskServiceSession.java:1213)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:411)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:90)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]
17:57:29,530 ERROR [org.jbpm.task.service.persistence.TaskPersistenceManager] (Thread-72)
Unable to rollback transaction (or to mark as 'to rollback')!:
java.lang.RuntimeException: Unable to rollback transaction
at
org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:77)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.persistence.TaskPersistenceManager.rollBackTransaction(TaskPersistenceManager.java:118)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1120)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.persistInTransaction(TaskServiceSession.java:1090)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.addGroupFromCallbackOperation(TaskServiceSession.java:1594)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doCallbackGroupsOperation(TaskServiceSession.java:1571)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doUserGroupCallbackOperation(TaskServiceSession.java:1213)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:411)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:90)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]
Caused by: java.lang.IllegalStateException: Transaction not active
at org.hibernate.ejb.TransactionImpl.rollback(TransactionImpl.java:101)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at
org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:70)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
... 11 more
17:57:29,647 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (Thread-72) SQL
Error: 23505, SQLState: 23505
17:57:29,654 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (Thread-72) Unique
index or primary key violation: "PRIMARY_KEY_C ON
PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:
insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-161]
17:57:29,656 WARN [org.drools.guvnor.server.repository.RulesRepositoryManager]
(http-localhost-127.0.0.1-8080-34) Creating RulesRepository with default username.
17:57:29,669 WARN [org.jbpm.task.service.persistence.TaskLocalTransactionManager]
(Thread-72) Unable to commit transaction: javax.persistence.RollbackException: Error while
committing the transaction
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:90)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at
org.jbpm.task.service.persistence.TaskLocalTransactionManager.commit(TaskLocalTransactionManager.java:55)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:107)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1118)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.getEntity(TaskServiceSession.java:1069)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.getTask(TaskServiceSession.java:605)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:417)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:90)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]
Caused by: javax.persistence.PersistenceException:
org.hibernate.exception.ConstraintViolationException: Unique index or primary key
violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:
insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-161]
at
org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:78)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
... 10 more
Caused by: org.hibernate.exception.ConstraintViolationException: Unique index or primary
key violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL
statement:
insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-161]
at
org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at $Proxy33.executeUpdate(Unknown Source) at
org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:56)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2849)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3290)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:80)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:272)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:264)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:186)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.beforeTransactionCommit(JdbcTransaction.java:101)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:175)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:73)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
... 10 more
Caused by: org.h2.jdbc.JdbcSQLException: Unique index or primary key violation:
"PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:
insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-161]
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.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:81)
at org.h2.index.PageBtree.find(PageBtree.java:121)
at org.h2.index.PageBtreeLeaf.addRow(PageBtreeLeaf.java:146)
at org.h2.index.PageBtreeLeaf.addRowTry(PageBtreeLeaf.java:100)
at org.h2.index.PageBtreeIndex.addRow(PageBtreeIndex.java:105)
at org.h2.index.PageBtreeIndex.add(PageBtreeIndex.java:96)
at org.h2.table.RegularTable.addRow(RegularTable.java:121)
at org.h2.command.dml.Insert.insertRows(Insert.java:124)
at org.h2.command.dml.Insert.update(Insert.java:84)
at org.h2.command.CommandContainer.update(CommandContainer.java:73)
at org.h2.command.Command.executeUpdate(Command.java:219)
at
org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:143)
at
org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:129)
at
org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:493)
at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source) [:1.6.0_24]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[rt.jar:1.6.0_24]
at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_24]
at
org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
... 26 more
17:57:29,677 INFO [stdout] (http-localhost-127.0.0.1-8080-34) ===============
session-guest-2518
17:57:30,025 INFO [stdout] (http-localhost-127.0.0.1-8080-34) ===============
session-guest-2518
17:57:30,023 ERROR [org.jbpm.task.service.persistence.TaskPersistenceManager] (Thread-72)
Unable to commit, rolling back transaction.: java.lang.RuntimeException: Unable to commit
transaction
at
org.jbpm.task.service.persistence.TaskLocalTransactionManager.commit(TaskLocalTransactionManager.java:59)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:107)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1118)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.getEntity(TaskServiceSession.java:1069)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.getTask(TaskServiceSession.java:605)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:417)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:90)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]
Caused by: javax.persistence.RollbackException: Error while committing the transaction
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:90)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at
org.jbpm.task.service.persistence.TaskLocalTransactionManager.commit(TaskLocalTransactionManager.java:55)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
... 9 more
Caused by: javax.persistence.PersistenceException:
org.hibernate.exception.ConstraintViolationException: Unique index or primary key
violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:
insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-161]
at
org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:78)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
... 10 more
Caused by: org.hibernate.exception.ConstraintViolationException: Unique index or primary
key violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL
statement:
insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-161]
at
org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at $Proxy33.executeUpdate(Unknown Source) at
org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:56)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2849)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3290)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:80)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:272)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:264)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:186)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.beforeTransactionCommit(JdbcTransaction.java:101)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:175)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:73)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
... 10 more
Caused by: org.h2.jdbc.JdbcSQLException: Unique index or primary key violation:
"PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:
insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-161]
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.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:81)
at org.h2.index.PageBtree.find(PageBtree.java:121)
at org.h2.index.PageBtreeLeaf.addRow(PageBtreeLeaf.java:146)
at org.h2.index.PageBtreeLeaf.addRowTry(PageBtreeLeaf.java:100)
at org.h2.index.PageBtreeIndex.addRow(PageBtreeIndex.java:105)
at org.h2.index.PageBtreeIndex.add(PageBtreeIndex.java:96)
at org.h2.table.RegularTable.addRow(RegularTable.java:121)
at org.h2.command.dml.Insert.insertRows(Insert.java:124)
at org.h2.command.dml.Insert.update(Insert.java:84)
at org.h2.command.CommandContainer.update(CommandContainer.java:73)
at org.h2.command.Command.executeUpdate(Command.java:219)
at
org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:143)
at
org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:129)
at
org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:493)
at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source) [:1.6.0_24]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[rt.jar:1.6.0_24]
at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_24]
at
org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
... 26 more
17:57:30,035 WARN [org.drools.guvnor.server.repository.RulesRepositoryManager]
(http-localhost-127.0.0.1-8080-34) Creating RulesRepository with default username.
17:57:30,390 WARN [org.jbpm.task.service.persistence.TaskLocalTransactionManager]
(Thread-72) Unable to rollback transaction: java.lang.IllegalStateException: Transaction
not active
at org.hibernate.ejb.TransactionImpl.rollback(TransactionImpl.java:101)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at
org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:70)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:110)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1118)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.getEntity(TaskServiceSession.java:1069)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.getTask(TaskServiceSession.java:605)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:417)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:90)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]
17:57:30,392 INFO [stdout] (http-localhost-127.0.0.1-8080-34) ===============
session-guest-2519
17:57:30,489 WARN [org.jbpm.task.service.persistence.TaskLocalTransactionManager]
(Thread-72) Unable to rollback transaction: java.lang.IllegalStateException: Transaction
not active
at org.hibernate.ejb.TransactionImpl.rollback(TransactionImpl.java:101)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at
org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:70)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.persistence.TaskPersistenceManager.rollBackTransaction(TaskPersistenceManager.java:118)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1120)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.getEntity(TaskServiceSession.java:1069)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.getTask(TaskServiceSession.java:605)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:417)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:90)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]
17:57:30,491 INFO [stdout] (http-localhost-127.0.0.1-8080-34) ===============
session-guest-2519
17:57:30,571 ERROR [org.jbpm.task.service.persistence.TaskPersistenceManager] (Thread-72)
Unable to rollback transaction (or to mark as 'to rollback')!:
java.lang.RuntimeException: Unable to rollback transaction
at
org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:77)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.persistence.TaskPersistenceManager.rollBackTransaction(TaskPersistenceManager.java:118)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1120)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.getEntity(TaskServiceSession.java:1069)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.getTask(TaskServiceSession.java:605)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:417)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:90)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]
Caused by: java.lang.IllegalStateException: Transaction not active
at org.hibernate.ejb.TransactionImpl.rollback(TransactionImpl.java:101)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at
org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:70)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
... 9 more
17:57:30,662 ERROR [stderr] (Thread-72) java.lang.RuntimeException: Could not commit
transaction
17:57:30,667 ERROR [stderr] (Thread-72) at
org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1130)
17:57:30,675 ERROR [stderr] (Thread-72) at
org.jbpm.task.service.TaskServiceSession.getEntity(TaskServiceSession.java:1069)
17:57:30,681 ERROR [stderr] (Thread-72) at
org.jbpm.task.service.TaskServiceSession.getTask(TaskServiceSession.java:605)
17:57:30,687 ERROR [stderr] (Thread-72) at
org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:417)
17:57:30,694 ERROR [stderr] (Thread-72) at
org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:90)
17:57:30,700 ERROR [stderr] (Thread-72) at
org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43)
17:57:30,707 ERROR [stderr] (Thread-72) at
org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104)
17:57:30,714 ERROR [stderr] (Thread-72) at
java.lang.Thread.run(Thread.java:662)
17:57:30,719 ERROR [stderr] (Thread-72) Caused by: java.lang.RuntimeException: Unable to
rollback transaction
17:57:30,724 ERROR [stderr] (Thread-72) at
org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:77)
17:57:30,732 ERROR [stderr] (Thread-72) at
org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:110)
17:57:30,739 ERROR [stderr] (Thread-72) at
org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1118)
17:57:30,746 ERROR [stderr] (Thread-72) ... 7 more
17:57:30,750 ERROR [stderr] (Thread-72) Caused by: java.lang.IllegalStateException:
Transaction not active
17:57:30,756 ERROR [stderr] (Thread-72) at
org.hibernate.ejb.TransactionImpl.rollback(TransactionImpl.java:101)
17:57:30,762 ERROR [stderr] (Thread-72) at
org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:70)
17:57:30,770 ERROR [stderr] (Thread-72) ... 9 more
17:57:30,772 ERROR [org.jbpm.task.service.TaskServerHandler] (Thread-72) Could not commit
transaction: java.lang.RuntimeException: Could not commit transaction
at
org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1130)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.getEntity(TaskServiceSession.java:1069)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.getTask(TaskServiceSession.java:605)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:417)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:90)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]
Caused by: java.lang.RuntimeException: Unable to rollback transaction
at
org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:77)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:110)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1118)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
... 7 more
Caused by: java.lang.IllegalStateException: Transaction not active
at org.hibernate.ejb.TransactionImpl.rollback(TransactionImpl.java:101)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at
org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:70)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
... 9 more
17:57:30,873 INFO [org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl]
(Thread-72) HHH000010: On release of batch it still contained JDBC statements
17:57:30,943 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]]
(http-localhost-127.0.0.1-8080-29) Servlet.service() for servlet Resteasy threw exception:
org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Command
OperationRequest faild due to Could not commit transaction. Please contact task server
administrator.
at
org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:340)
[resteasy-jaxrs-2.3.2.Final.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214)
[resteasy-jaxrs-2.3.2.Final.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190)
[resteasy-jaxrs-2.3.2.Final.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:540)
[resteasy-jaxrs-2.3.2.Final.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
[resteasy-jaxrs-2.3.2.Final.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
[resteasy-jaxrs-2.3.2.Final.jar:]
at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
[resteasy-jaxrs-2.3.2.Final.jar:]
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
[resteasy-jaxrs-2.3.2.Final.jar:]
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
[resteasy-jaxrs-2.3.2.Final.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
[classes:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)
[jbossweb-7.0.13.Final.jar:]
at
org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
[jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
[jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
[jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
[jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
[jbossweb-7.0.13.Final.jar:]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]
Caused by: java.lang.RuntimeException: Command OperationRequest faild due to Could not
commit transaction. Please contact task server administrator.
at
org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:729)
[jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at
org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104)
[jbpm-human-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
... 1 more
Thanks in advance
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/798347#798347]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]