javax.persistence.TransactionRequiredException: no transaction is in progress

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

javax.persistence.TransactionRequiredException: no transaction is in progress

Franklin Antony
I am using Bitronix to perform a JTA transaction and following is the error being show in the stacktrace.

Following is the log without DEBUG enable

<code>
Hibernate: select deadline0_.id as id4_0_, deadline0_.deadline_date as deadline2_4_0_, deadline0_.escalated as escalated4_0_ from Deadline deadline0_ where deadline0_.id=?
[2011-08-03 10:59:41,375] DEBUG pool-5-thread-1 org.springframework.transaction.jta.JtaTransactionManager - Creating new transaction with name [ae.emaratech.em.bpm.jbpm.DefaultEscalatedDeadlineHandler.executeEscalatedDeadline]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT,-java.lang.Throwable
Hibernate: select task0_.id as id11_3_, task0_.allowedToDelegate as allowedT2_11_3_, task0_.taskInitiator_id as taskIni23_11_3_, task0_.priority as priority11_3_, task0_.activationTime as activati4_11_3_, task0_.actualOwner_id as actualO24_11_3_, task0_.createdBy_id as createdBy25_11_3_, task0_.createdOn as createdOn11_3_, task0_.documentAccessType as document6_11_3_, task0_.documentContentId as document7_11_3_, task0_.documentType as document8_11_3_, task0_.expirationTime as expirati9_11_3_, task0_.faultAccessType as faultAc10_11_3_, task0_.faultContentId as faultCo11_11_3_, task0_.faultName as faultName11_3_, task0_.faultType as faultType11_3_, task0_.outputAccessType as outputA14_11_3_, task0_.outputContentId as outputC15_11_3_, task0_.outputType as outputType11_3_, task0_.parentId as parentId11_3_, task0_.previousStatus as previou18_11_3_, task0_.processInstanceId as process19_11_3_, task0_.skipable as skipable11_3_, task0_.status as status11_3_, task0_.workItemId as workItemId11_3_, user1_.id as id6_0_, user2_.id as id6_1_, user3_.id as id6_2_ from Task task0_ left outer join OrganizationalEntity user1_ on task0_.taskInitiator_id=user1_.id left outer join OrganizationalEntity user2_ on task0_.actualOwner_id=user2_.id left outer join OrganizationalEntity user3_ on task0_.createdBy_id=user3_.id where task0_.id=?
EXECUTInG executeEscalatedDeadline
Hibernate: select escalation0_.Deadline_Escalation_Id as Deadline3_1_, escalation0_.id as id1_, escalation0_.id as id5_0_, escalation0_.name as name5_0_ from Escalation escalation0_ where escalation0_.Deadline_Escalation_Id=?
Hibernate: select recipients0_.task_id as task1_1_, recipients0_.entity_id as entity2_1_, organizati1_.id as id6_0_, organizati1_.DTYPE as DTYPE6_0_ from Notification_Recipients recipients0_ left outer join OrganizationalEntity organizati1_ on recipients0_.entity_id=organizati1_.id where recipients0_.task_id=?
[2011-08-03 10:59:41,421] DEBUG pool-5-thread-1 org.springframework.transaction.jta.JtaTransactionManager - Participating in existing transaction
Hibernate: select attachment0_.TaskData_Attachments_Id as TaskData9_2_, attachment0_.id as id2_, attachment0_.id as id0_1_, attachment0_.accessType as accessType0_1_, attachment0_.attachedAt as attachedAt0_1_, attachment0_.attachedBy_id as attachedBy8_0_1_, attachment0_.attachmentContentId as attachme4_0_1_, attachment0_.contentType as contentT5_0_1_, attachment0_.name as name0_1_, attachment0_.attachment_size as attachment7_0_1_, user1_.id as id6_0_ from Attachment attachment0_ left outer join OrganizationalEntity user1_ on attachment0_.attachedBy_id=user1_.id where attachment0_.TaskData_Attachments_Id=?
Hibernate: select comments0_.TaskData_Comments_Id as TaskData5_2_, comments0_.id as id2_, comments0_.id as id3_1_, comments0_.addedAt as addedAt3_1_, comments0_.addedBy_id as addedBy4_3_1_, comments0_.text as text3_1_, user1_.id as id6_0_ from task_comment comments0_ left outer join OrganizationalEntity user1_ on comments0_.addedBy_id=user1_.id where comments0_.TaskData_Comments_Id=?
Hibernate: select emailheade0_.Notification_id as Notifica1_1_, emailheade0_.emailHeaders_id as emailHea2_1_, emailheade0_.mapkey as mapkey1_, emailnotif1_.id as id9_0_, emailnotif1_.body as body9_0_, emailnotif1_.fromAddress as fromAddr3_9_0_, emailnotif1_.language as language9_0_, emailnotif1_.replyToAddress as replyToA5_9_0_, emailnotif1_.subject as subject9_0_ from Notification_email_header emailheade0_ left outer join email_header emailnotif1_ on emailheade0_.emailHeaders_id=emailnotif1_.id where emailheade0_.Notification_id=?
[2011-08-03 10:59:41,437] DEBUG pool-5-thread-1 org.springframework.transaction.jta.JtaTransactionManager - Participating in existing transaction
[2011-08-03 10:59:41,437] DEBUG pool-5-thread-1 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Entity is an instance of User: true
[2011-08-03 10:59:41,437] DEBUG pool-5-thread-1 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Entity is an instance of Group: false
[2011-08-03 10:59:41,437] DEBUG pool-5-thread-1 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Geting Id of entity: USER3
[2011-08-03 10:59:41,437] DEBUG pool-5-thread-1 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Converted unique Id of USER : 3
[2011-08-03 10:59:41,437] DEBUG pool-5-thread-1 org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL query
[2011-08-03 10:59:41,437] DEBUG pool-5-thread-1 org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL statement [SELECT E.ID AS E_ID, E.NAME_EN AS E_NAME_EN, E.NAME_AR AS E_NAME_AR,  EMAIL, USERNAME, PASSWORD, MANAGER_ID, STICKY_NOTES,  D.ID AS D_ID, D.NAME_EN AS D_NAME_EN, D.NAME_AR AS D_NAME_AR, D.PARENT_ID AS D_PARENT_ID,  DP.ID AS DP_ID,  P.ID AS P_ID, P.NAME_EN AS P_NAME_EN, P.NAME_AR AS P_NAME_AR   FROM EMPLOYEE E, DEPT_PROFESSION DP, DEPARTMENT D, PROFESSION P  WHERE E.DEPT_PROF_ID = DP.ID AND DP.DEPT_ID = D.ID AND P.ID =  DP.PROFESSION_ID  AND E.ID = ? LIMIT 1]
[2011-08-03 10:59:41,437] DEBUG pool-5-thread-1 org.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource
[2011-08-03 10:59:41,437] DEBUG pool-5-thread-1 org.springframework.jdbc.datasource.DataSourceUtils - Registering transaction synchronization for JDBC Connection
[2011-08-03 10:59:41,468] DEBUG pool-5-thread-1 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Found email address  : null
Hibernate: select reassignme0_.Escalation_Reassignments_Id as Escalation2_1_, reassignme0_.id as id1_, reassignme0_.id as id10_0_ from Reassignment reassignme0_ where reassignme0_.Escalation_Reassignments_Id=?
Hibernate: select potentialo0_.task_id as task1_1_, potentialo0_.entity_id as entity2_1_, organizati1_.id as id6_0_, organizati1_.DTYPE as DTYPE6_0_ from Reassignment_potentialOwners potentialo0_ left outer join OrganizationalEntity organizati1_ on potentialo0_.entity_id=organizati1_.id where potentialo0_.task_id=?
[2011-08-03 10:59:41,687] DEBUG pool-5-thread-1 org.springframework.jdbc.datasource.DataSourceUtils - Returning JDBC Connection to DataSource
[2011-08-03 10:59:41,687] DEBUG pool-5-thread-1 org.springframework.transaction.jta.JtaTransactionManager - Initiating transaction rollback
javax.persistence.TransactionRequiredException: no transaction is in progress
        at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:301)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:365)
        at $Proxy59.flush(Unknown Source)
        at ae.emaratech.em.bpm.jbpm.DefaultEscalatedDeadlineHandler.executeEscalatedDeadline(DefaultEscalatedDeadlineHandler.java:148)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:311)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy55.executeEscalatedDeadline(Unknown Source)
        at org.jbpm.task.service.TaskService.executeEscalatedDeadline(TaskService.java:167)
        at org.jbpm.task.service.TaskService$ScheduledTaskDeadline.call(TaskService.java:272)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
</code>

The below is the log when Bitronix is at DEBUG level

<code>
11:47:38.937 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID, recycling it
11:47:38.937 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - marking a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been recycled, unregistering deferred release from a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was in state NOT_ACCESSIBLE, no need to test it
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquired connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select comments0_.TaskData_Comments_Id as TaskData5_2_, comments0_.id as id2_, comments0_.id as id3_1_, comments0_.addedAt as addedAt3_1_, comments0_.addedBy_id as addedBy4_3_1_, comments0_.text as text3_1_, user1_.id as id6_0_ from task_comment comments0_ left outer join OrganizationalEntity user1_ on comments0_.addedBy_id=user1_.id where comments0_.TaskData_Comments_Id=?
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - enlisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - avoiding re-enlistment of already enlisted but not ended resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB08D00000009]
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - deferring release to pool of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already registered for deferred release in a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - registering DeferredReleaseSynchronization for a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
---------->TaskData :org.jbpm.task.TaskData@24100ef8
11:47:38.937 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquiring connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:38.937 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:38.937 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - current transaction GTRID is [737072696E672D62746D000001318E9CB08D00000007]
11:47:38.937 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - 1 xa resource(s) created by connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource GTRID: 737072696E672D62746D000001318E9CB08D00000007
11:47:38.937 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID, recycling it
11:47:38.937 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - marking a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been recycled, unregistering deferred release from a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was in state NOT_ACCESSIBLE, no need to test it
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquired connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select content0_.id as id1_0_, content0_.content as content1_0_ from Content content0_ where content0_.id=?
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - enlisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - avoiding re-enlistment of already enlisted but not ended resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB08D00000009]
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - deferring release to pool of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already registered for deferred release in a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - registering DeferredReleaseSynchronization for a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquiring connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:38.953 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:38.953 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - current transaction GTRID is [737072696E672D62746D000001318E9CB08D00000007]
11:47:38.953 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - 1 xa resource(s) created by connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource GTRID: 737072696E672D62746D000001318E9CB08D00000007
11:47:38.953 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID, recycling it
11:47:38.953 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - marking a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been recycled, unregistering deferred release from a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was in state NOT_ACCESSIBLE, no need to test it
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquired connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select emailheade0_.Notification_id as Notifica1_1_, emailheade0_.emailHeaders_id as emailHea2_1_, emailheade0_.mapkey as mapkey1_, emailnotif1_.id as id9_0_, emailnotif1_.body as body9_0_, emailnotif1_.fromAddress as fromAddr3_9_0_, emailnotif1_.language as language9_0_, emailnotif1_.replyToAddress as replyToA5_9_0_, emailnotif1_.subject as subject9_0_ from Notification_email_header emailheade0_ left outer join email_header emailnotif1_ on emailheade0_.emailHeaders_id=emailnotif1_.id where emailheade0_.Notification_id=?
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - enlisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - avoiding re-enlistment of already enlisted but not ended resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB08D00000009]
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - deferring release to pool of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already registered for deferred release in a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - registering DeferredReleaseSynchronization for a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
[2011-08-03 11:47:38,968] DEBUG pool-5-thread-2 org.springframework.transaction.jta.JtaTransactionManager - Participating in existing transaction
[2011-08-03 11:47:38,968] DEBUG pool-5-thread-2 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Entity is an instance of User: true
[2011-08-03 11:47:38,968] DEBUG pool-5-thread-2 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Entity is an instance of Group: false
[2011-08-03 11:47:38,968] DEBUG pool-5-thread-2 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Geting Id of entity: USER3
[2011-08-03 11:47:38,968] DEBUG pool-5-thread-2 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Converted unique Id of USER : 3
[2011-08-03 11:47:38,968] DEBUG pool-5-thread-2 org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL query
[2011-08-03 11:47:38,968] DEBUG pool-5-thread-2 org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL statement [SELECT E.ID AS E_ID, E.NAME_EN AS E_NAME_EN, E.NAME_AR AS E_NAME_AR,  EMAIL, USERNAME, PASSWORD, MANAGER_ID, STICKY_NOTES,  D.ID AS D_ID, D.NAME_EN AS D_NAME_EN, D.NAME_AR AS D_NAME_AR, D.PARENT_ID AS D_PARENT_ID,  DP.ID AS DP_ID,  P.ID AS P_ID, P.NAME_EN AS P_NAME_EN, P.NAME_AR AS P_NAME_AR   FROM EMPLOYEE E, DEPT_PROFESSION DP, DEPARTMENT D, PROFESSION P  WHERE E.DEPT_PROF_ID = DP.ID AND DP.DEPT_ID = D.ID AND P.ID =  DP.PROFESSION_ID  AND E.ID = ? LIMIT 1]
[2011-08-03 11:47:38,968] DEBUG pool-5-thread-2 org.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource
11:47:38.968 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquiring connection from a PoolingDataSource containing an XAPool of resource java/emdb with 1 connection(s) (1 still available)
11:47:38.968 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource java/emdb with 1 connection(s) (1 still available)
11:47:38.968 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - current transaction GTRID is [737072696E672D62746D000001318E9CB08D00000007]
11:47:38.968 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - no NOT_ACCESSIBLE connection enlisted in this transaction
11:47:38.968 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - getting a IN_POOL connection from an XAPool of resource java/emdb with 1 connection(s) (1 still available)
11:47:38.968 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - waiting for IN_POOL connections count to be > 0, currently is 1
11:47:38.968 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found IN_POOL connection a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 from an XAPool of resource java/emdb with 1 connection(s) (1 still available)
11:47:38.968 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:38.968 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:38.968 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:38.968 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:38.968 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 was in state IN_POOL, testing it
11:47:38.968 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - testing with JDBC4 isValid() method, connection of a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:38.968 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - isValid successfully tested connection of a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:38.968 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got connection handle from a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:38.968 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquired connection from a PoolingDataSource containing an XAPool of resource java/emdb with 1 connection(s) (0 still available)
[2011-08-03 11:47:38,968] DEBUG pool-5-thread-2 org.springframework.jdbc.datasource.DataSourceUtils - Registering transaction synchronization for JDBC Connection
11:47:38.984 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - enlisting a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 into a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.984 [pool-5-thread-2] DEBUG b.tm.resource.ResourceRegistrar - XAResource com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 belongs to a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 that itself belongs to a PoolingDataSource containing an XAPool of resource java/emdb with 1 connection(s) (0 still available)
11:47:38.984 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager - creating new branch with a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB1680000000A]
11:47:38.984 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState - assigning  to <an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 with XID null>
11:47:38.984 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState - starting an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB1680000000A] with NOFLAGS
11:47:38.984 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState - started an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 (started) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB1680000000A] with NOFLAGS
11:47:38.984 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAResourceHolder - putting XAResourceHolderState [an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 (started) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB1680000000A]] on a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:38.984 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAResourceHolder - GTRID [737072696E672D62746D000001318E9CB08D00000007] previously unknown to a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561, adding it to the resource's transactions list
[2011-08-03 11:47:39,000] DEBUG pool-5-thread-2 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Found email address  : null
11:47:39.578 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquiring connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - current transaction GTRID is [737072696E672D62746D000001318E9CB08D00000007]
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - 1 xa resource(s) created by connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource GTRID: 737072696E672D62746D000001318E9CB08D00000007
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID, recycling it
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - marking a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been recycled, unregistering deferred release from a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was in state NOT_ACCESSIBLE, no need to test it
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquired connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select reassignme0_.Escalation_Reassignments_Id as Escalation2_1_, reassignme0_.id as id1_, reassignme0_.id as id10_0_ from Reassignment reassignme0_ where reassignme0_.Escalation_Reassignments_Id=?
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - enlisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - avoiding re-enlistment of already enlisted but not ended resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB08D00000009]
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - deferring release to pool of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already registered for deferred release in a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - registering DeferredReleaseSynchronization for a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquiring connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - current transaction GTRID is [737072696E672D62746D000001318E9CB08D00000007]
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - 1 xa resource(s) created by connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource GTRID: 737072696E672D62746D000001318E9CB08D00000007
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID, recycling it
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - marking a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been recycled, unregistering deferred release from a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was in state NOT_ACCESSIBLE, no need to test it
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquired connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select potentialo0_.task_id as task1_1_, potentialo0_.entity_id as entity2_1_, organizati1_.id as id6_0_, organizati1_.DTYPE as DTYPE6_0_ from Reassignment_potentialOwners potentialo0_ left outer join OrganizationalEntity organizati1_ on potentialo0_.entity_id=organizati1_.id where potentialo0_.task_id=?
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - enlisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - avoiding re-enlistment of already enlisted but not ended resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB08D00000009]
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - deferring release to pool of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already registered for deferred release in a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - registering DeferredReleaseSynchronization for a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
[2011-08-03 11:47:39,593] DEBUG pool-5-thread-2 org.springframework.jdbc.datasource.DataSourceUtils - Returning JDBC Connection to DataSource
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@1e2a069
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - deferring release to pool of a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 is not already registered for deferred release in a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - registering DeferredReleaseSynchronization for a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@1e2a069
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
[2011-08-03 11:47:39,593] DEBUG pool-5-thread-2 org.springframework.transaction.jta.JtaTransactionManager - Initiating transaction rollback
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.BitronixTransactionManager - rolling back transaction a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.593 [pool-5-thread-2] DEBUG bitronix.tm.timer.TaskScheduler - cancelling transaction timeout task on a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.593 [pool-5-thread-2] DEBUG bitronix.tm.timer.TaskScheduler - removing task by a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.593 [pool-5-thread-2] DEBUG bitronix.tm.timer.TaskScheduler - cancelled a TransactionTimeoutTask on a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011) scheduled for Wed Aug 03 11:48:38 GST 2011, total task(s) still queued: 3
11:47:39.593 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - found unclosed resource to delist: an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB08D00000009]
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager - delisting resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB08D00000009]
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState - ending an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB08D00000009] with SUCCESS
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState - ended an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB08D00000009] with SUCCESS
11:47:39.593 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - found unclosed resource to delist: an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 (started) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB1680000000A]
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager - delisting resource an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 (started) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB1680000000A]
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState - ending an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 (started) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB1680000000A] with SUCCESS
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState - ended an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 (started) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB1680000000A] with SUCCESS
11:47:39.593 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - rolling back, 2 enlisted resource(s)
11:47:39.593 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - changing transaction status to ROLLING_BACK
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender - between 344573 and 344656, writing a Bitronix TransactionLogRecord with status=ROLLING_BACK, recordLength=75, headerLength=28, time=1312357659593, sequenceNumber=11, crc32=921378397, gtrid=737072696E672D62746D000001318E9CB08D00000007, uniqueNames=java/emdb,java/jbpmdb
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender - disk journal appender now at position 344656
11:47:39.593 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - transaction status is changing from ACTIVE to ROLLING_BACK - executing 0 listener(s)
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine - executing phase on 2 resource(s) enlisted in 1 position(s) in reverse position order
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine - running 2 job(s) for position '1'
11:47:39.593 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Rollbacker - trying to rollback resource an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 (ended) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB1680000000A]
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Rollbacker - rolled back resource an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 (ended) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB1680000000A]
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Rollbacker - trying to rollback resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (ended) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB08D00000009]
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Rollbacker - rolled back resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (ended) with XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB08D00000009]
11:47:39.609 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine - phase executed with 0 exception(s)
11:47:39.609 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine - ran 2 job(s) for position '1'
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Rollbacker - rollback executed on resources [java/emdb, java/jbpmdb]
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Rollbacker - rollback succeeded on resources [java/emdb, java/jbpmdb]
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - changing transaction status to ROLLEDBACK
11:47:39.609 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender - between 344656 and 344739, writing a Bitronix TransactionLogRecord with status=ROLLEDBACK, recordLength=75, headerLength=28, time=1312357659609, sequenceNumber=12, crc32=-832456705, gtrid=737072696E672D62746D000001318E9CB08D00000007, uniqueNames=java/emdb,java/jbpmdb
11:47:39.609 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender - disk journal appender now at position 344739
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - transaction status is changing from ROLLING_BACK to ROLLEDBACK - executing 0 listener(s)
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - successfully rolled back a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ROLLEDBACK, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.609 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager - clearing XAResourceHolder states on 2 resource(s)
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAResourceHolder - removing XAResourceHolderState of xid a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB08D00000009] from a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.609 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager - resource a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 cleaned up all transaction states for GTRID [737072696E672D62746D000001318E9CB08D00000007]
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAResourceHolder - removing XAResourceHolderState of xid a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 : 737072696E672D62746D000001318E9CB1680000000A] from a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.609 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager - resource a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 cleaned up all transaction states for GTRID [737072696E672D62746D000001318E9CB08D00000007]
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - after completion, 3 synchronization(s) to execute
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - executing synchronization a ClearContextSynchronization for a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ROLLEDBACK, 0 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011) with status=ROLLEDBACK
11:47:39.609 [pool-5-thread-2] DEBUG b.tm.BitronixTransactionManager - clearing thread context: a ThreadContext with transaction a Bitronix Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ROLLEDBACK, 0 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011), default timeout 60s
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - executing synchronization a DeferredReleaseSynchronization of a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 with status=ROLLEDBACK
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.DeferredReleaseSynchronization - DeferredReleaseSynchronization requeuing a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/jbpmdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - requeued JDBC connection of a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (1 still available)
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - a connection's state changed to IN_POOL, notifying a thread eventually waiting for a connection
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.DeferredReleaseSynchronization - DeferredReleaseSynchronization requeued a JdbcPooledConnection from datasource java/jbpmdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - executing synchronization a DeferredReleaseSynchronization of a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 with status=ROLLEDBACK
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.DeferredReleaseSynchronization - DeferredReleaseSynchronization requeuing a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@1e2a069
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - requeued JDBC connection of a PoolingDataSource containing an XAPool of resource java/emdb with 1 connection(s) (1 still available)
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - a connection's state changed to IN_POOL, notifying a thread eventually waiting for a connection
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.DeferredReleaseSynchronization - DeferredReleaseSynchronization requeued a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
javax.persistence.TransactionRequiredException: no transaction is in progress
        at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:301)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:365)
        at $Proxy59.flush(Unknown Source)
        at ae.emaratech.em.bpm.jbpm.DefaultEscalatedDeadlineHandler.executeEscalatedDeadline(DefaultEscalatedDeadlineHandler.java:148)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:311)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy55.executeEscalatedDeadline(Unknown Source)
        at org.jbpm.task.service.TaskService.executeEscalatedDeadline(TaskService.java:167)
        at org.jbpm.task.service.TaskService$ScheduledTaskDeadline.call(TaskService.java:272)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

</code>


Any hints would be highly appreciated.

Regards,
Franklin
Reply | Threaded
Open this post in threaded view
|

Re: javax.persistence.TransactionRequiredException: no transaction is in progress

snicoll
Hi,

You probably forgot to configure Hibernate so that it knows who to call if it wants to start or participate in a transaction

You might want to try to add this to your Hibernate configuration

hibernate.transaction.manager_lookup_class=org.hibernate.transaction.BTMTransactionManagerLookup
hibernate.current_session_context_class=jta


HTH,
S.

On Wed, Aug 3, 2011 at 9:51 AM, Franklin Antony <[hidden email]> wrote:

I am using Bitronix to perform a JTA transaction and following is the error
being show in the stacktrace.

Following is the log without DEBUG enable

<code>
Hibernate: select deadline0_.id as id4_0_, deadline0_.deadline_date as
deadline2_4_0_, deadline0_.escalated as escalated4_0_ from Deadline
deadline0_ where deadline0_.id=?
[2011-08-03 10:59:41,375] DEBUG pool-5-thread-1
org.springframework.transaction.jta.JtaTransactionManager - Creating new
transaction with name
[ae.emaratech.em.bpm.jbpm.DefaultEscalatedDeadlineHandler.executeEscalatedDeadline]:
PROPAGATION_REQUIRED,ISOLATION_DEFAULT,-java.lang.Throwable
Hibernate: select task0_.id as id11_3_, task0_.allowedToDelegate as
allowedT2_11_3_, task0_.taskInitiator_id as taskIni23_11_3_, task0_.priority
as priority11_3_, task0_.activationTime as activati4_11_3_,
task0_.actualOwner_id as actualO24_11_3_, task0_.createdBy_id as
createdBy25_11_3_, task0_.createdOn as createdOn11_3_,
task0_.documentAccessType as document6_11_3_, task0_.documentContentId as
document7_11_3_, task0_.documentType as document8_11_3_,
task0_.expirationTime as expirati9_11_3_, task0_.faultAccessType as
faultAc10_11_3_, task0_.faultContentId as faultCo11_11_3_, task0_.faultName
as faultName11_3_, task0_.faultType as faultType11_3_,
task0_.outputAccessType as outputA14_11_3_, task0_.outputContentId as
outputC15_11_3_, task0_.outputType as outputType11_3_, task0_.parentId as
parentId11_3_, task0_.previousStatus as previou18_11_3_,
task0_.processInstanceId as process19_11_3_, task0_.skipable as
skipable11_3_, task0_.status as status11_3_, task0_.workItemId as
workItemId11_3_, user1_.id as id6_0_, user2_.id as id6_1_, user3_.id as
id6_2_ from Task task0_ left outer join OrganizationalEntity user1_ on
task0_.taskInitiator_id=user1_.id left outer join OrganizationalEntity
user2_ on task0_.actualOwner_id=user2_.id left outer join
OrganizationalEntity user3_ on task0_.createdBy_id=user3_.id where
task0_.id=?
EXECUTInG executeEscalatedDeadline
Hibernate: select escalation0_.Deadline_Escalation_Id as Deadline3_1_,
escalation0_.id as id1_, escalation0_.id as id5_0_, escalation0_.name as
name5_0_ from Escalation escalation0_ where
escalation0_.Deadline_Escalation_Id=?
Hibernate: select recipients0_.task_id as task1_1_, recipients0_.entity_id
as entity2_1_, organizati1_.id as id6_0_, organizati1_.DTYPE as DTYPE6_0_
from Notification_Recipients recipients0_ left outer join
OrganizationalEntity organizati1_ on recipients0_.entity_id=organizati1_.id
where recipients0_.task_id=?
[2011-08-03 10:59:41,421] DEBUG pool-5-thread-1
org.springframework.transaction.jta.JtaTransactionManager - Participating in
existing transaction
Hibernate: select attachment0_.TaskData_Attachments_Id as TaskData9_2_,
attachment0_.id as id2_, attachment0_.id as id0_1_, attachment0_.accessType
as accessType0_1_, attachment0_.attachedAt as attachedAt0_1_,
attachment0_.attachedBy_id as attachedBy8_0_1_,
attachment0_.attachmentContentId as attachme4_0_1_, attachment0_.contentType
as contentT5_0_1_, attachment0_.name as name0_1_,
attachment0_.attachment_size as attachment7_0_1_, user1_.id as id6_0_ from
Attachment attachment0_ left outer join OrganizationalEntity user1_ on
attachment0_.attachedBy_id=user1_.id where
attachment0_.TaskData_Attachments_Id=?
Hibernate: select comments0_.TaskData_Comments_Id as TaskData5_2_,
comments0_.id as id2_, comments0_.id as id3_1_, comments0_.addedAt as
addedAt3_1_, comments0_.addedBy_id as addedBy4_3_1_, comments0_.text as
text3_1_, user1_.id as id6_0_ from task_comment comments0_ left outer join
OrganizationalEntity user1_ on comments0_.addedBy_id=user1_.id where
comments0_.TaskData_Comments_Id=?
Hibernate: select emailheade0_.Notification_id as Notifica1_1_,
emailheade0_.emailHeaders_id as emailHea2_1_, emailheade0_.mapkey as
mapkey1_, emailnotif1_.id as id9_0_, emailnotif1_.body as body9_0_,
emailnotif1_.fromAddress as fromAddr3_9_0_, emailnotif1_.language as
language9_0_, emailnotif1_.replyToAddress as replyToA5_9_0_,
emailnotif1_.subject as subject9_0_ from Notification_email_header
emailheade0_ left outer join email_header emailnotif1_ on
emailheade0_.emailHeaders_id=emailnotif1_.id where
emailheade0_.Notification_id=?
[2011-08-03 10:59:41,437] DEBUG pool-5-thread-1
org.springframework.transaction.jta.JtaTransactionManager - Participating in
existing transaction
[2011-08-03 10:59:41,437] DEBUG pool-5-thread-1
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Entity is an instance of User: true
[2011-08-03 10:59:41,437] DEBUG pool-5-thread-1
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Entity is an instance of Group:
false
[2011-08-03 10:59:41,437] DEBUG pool-5-thread-1
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Geting Id of entity: USER3
[2011-08-03 10:59:41,437] DEBUG pool-5-thread-1
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Converted unique Id of USER : 3
[2011-08-03 10:59:41,437] DEBUG pool-5-thread-1
org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL query
[2011-08-03 10:59:41,437] DEBUG pool-5-thread-1
org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL
statement [SELECT E.ID AS E_ID, E.NAME_EN AS E_NAME_EN, E.NAME_AR AS
E_NAME_AR,  EMAIL, USERNAME, PASSWORD, MANAGER_ID, STICKY_NOTES,  D.ID AS
D_ID, D.NAME_EN AS D_NAME_EN, D.NAME_AR AS D_NAME_AR, D.PARENT_ID AS
D_PARENT_ID,  DP.ID AS DP_ID,  P.ID AS P_ID, P.NAME_EN AS P_NAME_EN,
P.NAME_AR AS P_NAME_AR   FROM EMPLOYEE E, DEPT_PROFESSION DP, DEPARTMENT D,
PROFESSION P  WHERE E.DEPT_PROF_ID = DP.ID AND DP.DEPT_ID = D.ID AND P.ID =
DP.PROFESSION_ID  AND E.ID = ? LIMIT 1]
[2011-08-03 10:59:41,437] DEBUG pool-5-thread-1
org.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC
Connection from DataSource
[2011-08-03 10:59:41,437] DEBUG pool-5-thread-1
org.springframework.jdbc.datasource.DataSourceUtils - Registering
transaction synchronization for JDBC Connection
[2011-08-03 10:59:41,468] DEBUG pool-5-thread-1
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Found email address  : null
Hibernate: select reassignme0_.Escalation_Reassignments_Id as
Escalation2_1_, reassignme0_.id as id1_, reassignme0_.id as id10_0_ from
Reassignment reassignme0_ where reassignme0_.Escalation_Reassignments_Id=?
Hibernate: select potentialo0_.task_id as task1_1_, potentialo0_.entity_id
as entity2_1_, organizati1_.id as id6_0_, organizati1_.DTYPE as DTYPE6_0_
from Reassignment_potentialOwners potentialo0_ left outer join
OrganizationalEntity organizati1_ on potentialo0_.entity_id=organizati1_.id
where potentialo0_.task_id=?
[2011-08-03 10:59:41,687] DEBUG pool-5-thread-1
org.springframework.jdbc.datasource.DataSourceUtils - Returning JDBC
Connection to DataSource
[2011-08-03 10:59:41,687] DEBUG pool-5-thread-1
org.springframework.transaction.jta.JtaTransactionManager - Initiating
transaction rollback
javax.persistence.TransactionRequiredException: no transaction is in
progress
       at
org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:301)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at
org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:365)
       at $Proxy59.flush(Unknown Source)
       at
ae.emaratech.em.bpm.jbpm.DefaultEscalatedDeadlineHandler.executeEscalatedDeadline(DefaultEscalatedDeadlineHandler.java:148)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:311)
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
       at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
       at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
       at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
       at $Proxy55.executeEscalatedDeadline(Unknown Source)
       at
org.jbpm.task.service.TaskService.executeEscalatedDeadline(TaskService.java:167)
       at
org.jbpm.task.service.TaskService$ScheduledTaskDeadline.call(TaskService.java:272)
       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
       at java.util.concurrent.FutureTask.run(FutureTask.java:138)
</code>

The below is the log when Bitronix is at DEBUG level

<code>
11:47:38.937 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID,
recycling it
11:47:38.937 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool
of resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
getting connection handle from a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1
wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
marking a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in
a Bitronix Transaction with GTRID
[737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s)
enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been
recycled, unregistering deferred release from a Bitronix Transaction with
GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1
resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was
in state NOT_ACCESSIBLE, no need to test it
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got
connection handle from a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquired connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select comments0_.TaskData_Comments_Id as TaskData5_2_,
comments0_.id as id2_, comments0_.id as id3_1_, comments0_.addedAt as
addedAt3_1_, comments0_.addedBy_id as addedBy4_3_1_, comments0_.text as
text3_1_, user1_.id as id6_0_ from task_comment comments0_ left outer join
OrganizationalEntity user1_ on comments0_.addedBy_id=user1_.id where
comments0_.TaskData_Comments_Id=?
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
enlisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
avoiding re-enlistment of already enlisted but not ended resource an
XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB08D00000009]
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle -
closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
delisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
requeuing a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
deferring release to pool of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already
registered for deferred release in a Bitronix Transaction with GTRID
[737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s)
enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
registering DeferredReleaseSynchronization for a JdbcPooledConnection from
datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
released to pool a JdbcPooledConnection from datasource java/jbpmdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
---------->TaskData :org.jbpm.task.TaskData@24100ef8
11:47:38.937 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquiring connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:38.937 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource
java/jbpmdb with 1 connection(s) (0 still available)
11:47:38.937 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
current transaction GTRID is [737072696E672D62746D000001318E9CB08D00000007]
11:47:38.937 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from
datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - 1
xa resource(s) created by connection in NOT_ACCESSIBLE state: a
JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE
with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource GTRID:
737072696E672D62746D000001318E9CB08D00000007
11:47:38.937 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID,
recycling it
11:47:38.937 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool
of resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
getting connection handle from a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1
wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
marking a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in
a Bitronix Transaction with GTRID
[737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s)
enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been
recycled, unregistering deferred release from a Bitronix Transaction with
GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1
resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was
in state NOT_ACCESSIBLE, no need to test it
11:47:38.937 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got
connection handle from a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.937 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquired connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select content0_.id as id1_0_, content0_.content as content1_0_
from Content content0_ where content0_.id=?
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
enlisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
avoiding re-enlistment of already enlisted but not ended resource an
XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB08D00000009]
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle -
closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
delisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
requeuing a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
deferring release to pool of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already
registered for deferred release in a Bitronix Transaction with GTRID
[737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s)
enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
registering DeferredReleaseSynchronization for a JdbcPooledConnection from
datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
released to pool a JdbcPooledConnection from datasource java/jbpmdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquiring connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:38.953 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource
java/jbpmdb with 1 connection(s) (0 still available)
11:47:38.953 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
current transaction GTRID is [737072696E672D62746D000001318E9CB08D00000007]
11:47:38.953 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from
datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - 1
xa resource(s) created by connection in NOT_ACCESSIBLE state: a
JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE
with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource GTRID:
737072696E672D62746D000001318E9CB08D00000007
11:47:38.953 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID,
recycling it
11:47:38.953 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool
of resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
getting connection handle from a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1
wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
marking a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in
a Bitronix Transaction with GTRID
[737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s)
enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been
recycled, unregistering deferred release from a Bitronix Transaction with
GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1
resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was
in state NOT_ACCESSIBLE, no need to test it
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got
connection handle from a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquired connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select emailheade0_.Notification_id as Notifica1_1_,
emailheade0_.emailHeaders_id as emailHea2_1_, emailheade0_.mapkey as
mapkey1_, emailnotif1_.id as id9_0_, emailnotif1_.body as body9_0_,
emailnotif1_.fromAddress as fromAddr3_9_0_, emailnotif1_.language as
language9_0_, emailnotif1_.replyToAddress as replyToA5_9_0_,
emailnotif1_.subject as subject9_0_ from Notification_email_header
emailheade0_ left outer join email_header emailnotif1_ on
emailheade0_.emailHeaders_id=emailnotif1_.id where
emailheade0_.Notification_id=?
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
enlisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
avoiding re-enlistment of already enlisted but not ended resource an
XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB08D00000009]
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle -
closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
delisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
requeuing a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
deferring release to pool of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already
registered for deferred release in a Bitronix Transaction with GTRID
[737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 1 resource(s)
enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
registering DeferredReleaseSynchronization for a JdbcPooledConnection from
datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:38.953 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
released to pool a JdbcPooledConnection from datasource java/jbpmdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
[2011-08-03 11:47:38,968] DEBUG pool-5-thread-2
org.springframework.transaction.jta.JtaTransactionManager - Participating in
existing transaction
[2011-08-03 11:47:38,968] DEBUG pool-5-thread-2
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Entity is an instance of User: true
[2011-08-03 11:47:38,968] DEBUG pool-5-thread-2
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Entity is an instance of Group:
false
[2011-08-03 11:47:38,968] DEBUG pool-5-thread-2
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Geting Id of entity: USER3
[2011-08-03 11:47:38,968] DEBUG pool-5-thread-2
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Converted unique Id of USER : 3
[2011-08-03 11:47:38,968] DEBUG pool-5-thread-2
org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL query
[2011-08-03 11:47:38,968] DEBUG pool-5-thread-2
org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL
statement [SELECT E.ID AS E_ID, E.NAME_EN AS E_NAME_EN, E.NAME_AR AS
E_NAME_AR,  EMAIL, USERNAME, PASSWORD, MANAGER_ID, STICKY_NOTES,  D.ID AS
D_ID, D.NAME_EN AS D_NAME_EN, D.NAME_AR AS D_NAME_AR, D.PARENT_ID AS
D_PARENT_ID,  DP.ID AS DP_ID,  P.ID AS P_ID, P.NAME_EN AS P_NAME_EN,
P.NAME_AR AS P_NAME_AR   FROM EMPLOYEE E, DEPT_PROFESSION DP, DEPARTMENT D,
PROFESSION P  WHERE E.DEPT_PROF_ID = DP.ID AND DP.DEPT_ID = D.ID AND P.ID =
DP.PROFESSION_ID  AND E.ID = ? LIMIT 1]
[2011-08-03 11:47:38,968] DEBUG pool-5-thread-2
org.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC
Connection from DataSource
11:47:38.968 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquiring connection from a PoolingDataSource containing an XAPool of
resource java/emdb with 1 connection(s) (1 still available)
11:47:38.968 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource
java/emdb with 1 connection(s) (1 still available)
11:47:38.968 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
current transaction GTRID is [737072696E672D62746D000001318E9CB08D00000007]
11:47:38.968 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - no
NOT_ACCESSIBLE connection enlisted in this transaction
11:47:38.968 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
getting a IN_POOL connection from an XAPool of resource java/emdb with 1
connection(s) (1 still available)
11:47:38.968 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
waiting for IN_POOL connections count to be > 0, currently is 1
11:47:38.968 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found IN_POOL connection a JdbcPooledConnection from datasource java/emdb in
state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 from an XAPool
of resource java/emdb with 1 connection(s) (1 still available)
11:47:38.968 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
getting connection handle from a JdbcPooledConnection from datasource
java/emdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:38.968 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from IN_POOL to
ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state
IN_POOL with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:38.968 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from
datasource java/emdb in state IN_POOL with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:38.968 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from IN_POOL to
ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:38.968 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 was
in state IN_POOL, testing it
11:47:38.968 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
testing with JDBC4 isValid() method, connection of a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:38.968 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
isValid successfully tested connection of a JdbcPooledConnection from
datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:38.968 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got
connection handle from a JdbcPooledConnection from datasource java/emdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:38.968 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquired connection from a PoolingDataSource containing an XAPool of
resource java/emdb with 1 connection(s) (0 still available)
[2011-08-03 11:47:38,968] DEBUG pool-5-thread-2
org.springframework.jdbc.datasource.DataSourceUtils - Registering
transaction synchronization for JDBC Connection
11:47:38.984 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
enlisting a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 into a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:38.984 [pool-5-thread-2] DEBUG b.tm.resource.ResourceRegistrar -
XAResource com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
belongs to a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 that itself
belongs to a PoolingDataSource containing an XAPool of resource java/emdb
with 1 connection(s) (0 still available)
11:47:38.984 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager -
creating new branch with a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB1680000000A]
11:47:38.984 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState -
assigning   to <an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 with
XID null>
11:47:38.984 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState -
starting an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 with
XID a Bitronix XID [737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB1680000000A] with NOFLAGS
11:47:38.984 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState -
started an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
(started) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB1680000000A] with NOFLAGS
11:47:38.984 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAResourceHolder -
putting XAResourceHolderState [an XAResourceHolderState with
uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
(started) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB1680000000A]] on a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:38.984 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAResourceHolder -
GTRID [737072696E672D62746D000001318E9CB08D00000007] previously unknown to a
JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561, adding it to
the resource's transactions list
[2011-08-03 11:47:39,000] DEBUG pool-5-thread-2
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Found email address  : null
11:47:39.578 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquiring connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource
java/jbpmdb with 1 connection(s) (0 still available)
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
current transaction GTRID is [737072696E672D62746D000001318E9CB08D00000007]
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from
datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - 1
xa resource(s) created by connection in NOT_ACCESSIBLE state: a
JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE
with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource GTRID:
737072696E672D62746D000001318E9CB08D00000007
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID,
recycling it
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool
of resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
getting connection handle from a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1
wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
marking a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in
a Bitronix Transaction with GTRID
[737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been
recycled, unregistering deferred release from a Bitronix Transaction with
GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2
resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was
in state NOT_ACCESSIBLE, no need to test it
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got
connection handle from a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquired connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select reassignme0_.Escalation_Reassignments_Id as
Escalation2_1_, reassignme0_.id as id1_, reassignme0_.id as id10_0_ from
Reassignment reassignme0_ where reassignme0_.Escalation_Reassignments_Id=?
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
enlisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
avoiding re-enlistment of already enlisted but not ended resource an
XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB08D00000009]
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle -
closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
delisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
requeuing a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
deferring release to pool of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already
registered for deferred release in a Bitronix Transaction with GTRID
[737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
registering DeferredReleaseSynchronization for a JdbcPooledConnection from
datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
released to pool a JdbcPooledConnection from datasource java/jbpmdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquiring connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource
java/jbpmdb with 1 connection(s) (0 still available)
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
current transaction GTRID is [737072696E672D62746D000001318E9CB08D00000007]
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from
datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - 1
xa resource(s) created by connection in NOT_ACCESSIBLE state: a
JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE
with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource GTRID:
737072696E672D62746D000001318E9CB08D00000007
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID,
recycling it
11:47:39.578 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool
of resource java/jbpmdb with 1 connection(s) (0 still available)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
getting connection handle from a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1
wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
marking a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in
a Bitronix Transaction with GTRID
[737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been
recycled, unregistering deferred release from a Bitronix Transaction with
GTRID [737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2
resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was
in state NOT_ACCESSIBLE, no need to test it
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got
connection handle from a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.578 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquired connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select potentialo0_.task_id as task1_1_, potentialo0_.entity_id
as entity2_1_, organizati1_.id as id6_0_, organizati1_.DTYPE as DTYPE6_0_
from Reassignment_potentialOwners potentialo0_ left outer join
OrganizationalEntity organizati1_ on potentialo0_.entity_id=organizati1_.id
where potentialo0_.task_id=?
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
enlisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.578 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
avoiding re-enlistment of already enlisted but not ended resource an
XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB08D00000009]
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle -
closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
delisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
requeuing a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
deferring release to pool of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already
registered for deferred release in a Bitronix Transaction with GTRID
[737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
registering DeferredReleaseSynchronization for a JdbcPooledConnection from
datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
released to pool a JdbcPooledConnection from datasource java/jbpmdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
[2011-08-03 11:47:39,593] DEBUG pool-5-thread-2
org.springframework.jdbc.datasource.DataSourceUtils - Returning JDBC
Connection to DataSource
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle -
closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource
java/emdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@1e2a069
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
releasing to pool a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
delisting a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
requeuing a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
deferring release to pool of a JdbcPooledConnection from datasource
java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 is not already
registered for deferred release in a Bitronix Transaction with GTRID
[737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
registering DeferredReleaseSynchronization for a JdbcPooledConnection from
datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@1e2a069
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in
state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.593 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
released to pool a JdbcPooledConnection from datasource java/emdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
[2011-08-03 11:47:39,593] DEBUG pool-5-thread-2
org.springframework.transaction.jta.JtaTransactionManager - Initiating
transaction rollback
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.BitronixTransactionManager -
rolling back transaction a Bitronix Transaction with GTRID
[737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.593 [pool-5-thread-2] DEBUG bitronix.tm.timer.TaskScheduler -
cancelling transaction timeout task on a Bitronix Transaction with GTRID
[737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.593 [pool-5-thread-2] DEBUG bitronix.tm.timer.TaskScheduler -
removing task by a Bitronix Transaction with GTRID
[737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.593 [pool-5-thread-2] DEBUG bitronix.tm.timer.TaskScheduler -
cancelled a TransactionTimeoutTask on a Bitronix Transaction with GTRID
[737072696E672D62746D000001318E9CB08D00000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 11:47:38 GST 2011) scheduled for Wed Aug 03
11:48:38 GST 2011, total task(s) still queued: 3
11:47:39.593 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - found
unclosed resource to delist: an XAResourceHolderState with
uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB08D00000009]
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager -
delisting resource an XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB08D00000009]
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState -
ending an XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB08D00000009] with SUCCESS
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState -
ended an XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB08D00000009] with SUCCESS
11:47:39.593 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - found
unclosed resource to delist: an XAResourceHolderState with
uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
(started) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB1680000000A]
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager -
delisting resource an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
(started) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB1680000000A]
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState -
ending an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
(started) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB1680000000A] with SUCCESS
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState -
ended an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
(started) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB1680000000A] with SUCCESS
11:47:39.593 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
rolling back, 2 enlisted resource(s)
11:47:39.593 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
changing transaction status to ROLLING_BACK
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender -
between 344573 and 344656, writing a Bitronix TransactionLogRecord with
status=ROLLING_BACK, recordLength=75, headerLength=28, time=1312357659593,
sequenceNumber=11, crc32=921378397,
gtrid=737072696E672D62746D000001318E9CB08D00000007,
uniqueNames=java/emdb,java/jbpmdb
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender -
disk journal appender now at position 344656
11:47:39.593 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
transaction status is changing from ACTIVE to ROLLING_BACK - executing 0
listener(s)
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine -
executing phase on 2 resource(s) enlisted in 1 position(s) in reverse
position order
11:47:39.593 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine -
running 2 job(s) for position '1'
11:47:39.593 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Rollbacker - trying
to rollback resource an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
(ended) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB1680000000A]
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Rollbacker - rolled
back resource an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
(ended) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB1680000000A]
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Rollbacker - trying
to rollback resource an XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(ended) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB08D00000009]
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Rollbacker - rolled
back resource an XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(ended) with XID a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB08D00000009]
11:47:39.609 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine - phase
executed with 0 exception(s)
11:47:39.609 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine - ran 2
job(s) for position '1'
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Rollbacker - rollback
executed on resources [java/emdb, java/jbpmdb]
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Rollbacker - rollback
succeeded on resources [java/emdb, java/jbpmdb]
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
changing transaction status to ROLLEDBACK
11:47:39.609 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender -
between 344656 and 344739, writing a Bitronix TransactionLogRecord with
status=ROLLEDBACK, recordLength=75, headerLength=28, time=1312357659609,
sequenceNumber=12, crc32=-832456705,
gtrid=737072696E672D62746D000001318E9CB08D00000007,
uniqueNames=java/emdb,java/jbpmdb
11:47:39.609 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender -
disk journal appender now at position 344739
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
transaction status is changing from ROLLING_BACK to ROLLEDBACK - executing 0
listener(s)
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
successfully rolled back a Bitronix Transaction with GTRID
[737072696E672D62746D000001318E9CB08D00000007], status=ROLLEDBACK, 2
resource(s) enlisted (started Wed Aug 03 11:47:38 GST 2011)
11:47:39.609 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager -
clearing XAResourceHolder states on 2 resource(s)
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAResourceHolder -
removing XAResourceHolderState of xid a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB08D00000009] from a JdbcPooledConnection
from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0
wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.609 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager -
resource a JdbcPooledConnection from datasource java/jbpmdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 cleaned up all
transaction states for GTRID [737072696E672D62746D000001318E9CB08D00000007]
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAResourceHolder -
removing XAResourceHolderState of xid a Bitronix XID
[737072696E672D62746D000001318E9CB08D00000007 :
737072696E672D62746D000001318E9CB1680000000A] from a JdbcPooledConnection
from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0
wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.609 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager -
resource a JdbcPooledConnection from datasource java/emdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 cleaned up all
transaction states for GTRID [737072696E672D62746D000001318E9CB08D00000007]
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - after
completion, 3 synchronization(s) to execute
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
executing synchronization a ClearContextSynchronization for a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ROLLEDBACK, 0 resource(s) enlisted (started Wed Aug 03 11:47:38 GST
2011) with status=ROLLEDBACK
11:47:39.609 [pool-5-thread-2] DEBUG b.tm.BitronixTransactionManager -
clearing thread context: a ThreadContext with transaction a Bitronix
Transaction with GTRID [737072696E672D62746D000001318E9CB08D00000007],
status=ROLLEDBACK, 0 resource(s) enlisted (started Wed Aug 03 11:47:38 GST
2011), default timeout 60s
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
executing synchronization a DeferredReleaseSynchronization of a
JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE
with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 with
status=ROLLEDBACK
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.DeferredReleaseSynchronization
- DeferredReleaseSynchronization requeuing a JdbcPooledConnection from
datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from
NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from
datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from
NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource
java/jbpmdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
requeued JDBC connection of a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (1 still available)
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - a
connection's state changed to IN_POOL, notifying a thread eventually waiting
for a connection
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.DeferredReleaseSynchronization
- DeferredReleaseSynchronization requeued a JdbcPooledConnection from
datasource java/jbpmdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
executing synchronization a DeferredReleaseSynchronization of a
JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561 with
status=ROLLEDBACK
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.DeferredReleaseSynchronization
- DeferredReleaseSynchronization requeuing a JdbcPooledConnection from
datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from
NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource
java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@1e2a069
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from
datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from
NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource
java/emdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
requeued JDBC connection of a PoolingDataSource containing an XAPool of
resource java/emdb with 1 connection(s) (1 still available)
11:47:39.609 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - a
connection's state changed to IN_POOL, notifying a thread eventually waiting
for a connection
11:47:39.609 [pool-5-thread-2] DEBUG b.t.r.c.DeferredReleaseSynchronization
- DeferredReleaseSynchronization requeued a JdbcPooledConnection from
datasource java/emdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ec561
javax.persistence.TransactionRequiredException: no transaction is in
progress
       at
org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:301)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at
org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:365)
       at $Proxy59.flush(Unknown Source)
       at
ae.emaratech.em.bpm.jbpm.DefaultEscalatedDeadlineHandler.executeEscalatedDeadline(DefaultEscalatedDeadlineHandler.java:148)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:311)
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
       at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
       at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
       at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
       at $Proxy55.executeEscalatedDeadline(Unknown Source)
       at
org.jbpm.task.service.TaskService.executeEscalatedDeadline(TaskService.java:167)
       at
org.jbpm.task.service.TaskService$ScheduledTaskDeadline.call(TaskService.java:272)
       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
       at java.util.concurrent.FutureTask.run(FutureTask.java:138)
       at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
       at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
       at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
       at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
       at java.lang.Thread.run(Thread.java:619)

</code>


Any hints would be highly appreciated.

Regards,
Franklin
--
View this message in context: http://old.nabble.com/javax.persistence.TransactionRequiredException%3A-no-transaction-is-in-progress-tp32184027p32184027.html
Sent from the Bitronix Transaction Manager mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|

Re: javax.persistence.TransactionRequiredException: no transaction is in progress

Franklin Antony
Hi Snicoll,
  Honestly, it is participating in other transactions and the JTA commits properly. But in this specific case it doesnt work. Not sure what I am missing.

The entry
hibernate.transaction.manager_lookup_class=org.hibernate.transaction.BTMTransactionManagerLookup
was already there. However, I added this as per your recommendation
hibernate.current_session_context_class=jta
But not much of a difference.

Following is the log

14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@f1f34a
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - deferring release to pool of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d is not already registered for deferred release in a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - registering DeferredReleaseSynchronization for a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@f1f34a
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
[2011-08-03 14:01:13,687] DEBUG pool-5-thread-1 org.springframework.transaction.jta.JtaTransactionManager - Participating in existing transaction
[2011-08-03 14:01:13,687] DEBUG pool-5-thread-1 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Entity is an instance of User: true
[2011-08-03 14:01:13,687] DEBUG pool-5-thread-1 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Entity is an instance of Group: false
[2011-08-03 14:01:13,687] DEBUG pool-5-thread-1 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Geting Id of entity: USER3
[2011-08-03 14:01:13,687] DEBUG pool-5-thread-1 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Converted unique Id of USER : 3
[2011-08-03 14:01:13,687] DEBUG pool-5-thread-1 org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL query
[2011-08-03 14:01:13,687] DEBUG pool-5-thread-1 org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL statement [SELECT E.ID AS E_ID, E.NAME_EN AS E_NAME_EN, E.NAME_AR AS E_NAME_AR,  EMAIL, USERNAME, PASSWORD, MANAGER_ID, STICKY_NOTES,  D.ID AS D_ID, D.NAME_EN AS D_NAME_EN, D.NAME_AR AS D_NAME_AR, D.PARENT_ID AS D_PARENT_ID,  DP.ID AS DP_ID,  P.ID AS P_ID, P.NAME_EN AS P_NAME_EN, P.NAME_AR AS P_NAME_AR   FROM EMPLOYEE E, DEPT_PROFESSION DP, DEPARTMENT D, PROFESSION P  WHERE E.DEPT_PROF_ID = DP.ID AND DP.DEPT_ID = D.ID AND P.ID =  DP.PROFESSION_ID  AND E.ID = ? LIMIT 1]
[2011-08-03 14:01:13,687] DEBUG pool-5-thread-1 org.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource
14:01:13.687 [pool-5-thread-1] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquiring connection from a PoolingDataSource containing an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:01:13.687 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:01:13.687 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - current transaction GTRID is [737072696E672D62746D000001318F16FC6A00000007]
14:01:13.687 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - no NOT_ACCESSIBLE connection enlisted in this transaction
14:01:13.687 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - getting a IN_POOL connection from an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:01:13.687 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - waiting for IN_POOL connections count to be > 0, currently is 1
14:01:13.687 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - found IN_POOL connection a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 from an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.703 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.703 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.703 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.703 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 was in state IN_POOL, testing it
14:01:13.703 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - testing with JDBC4 isValid() method, connection of a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.703 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - isValid successfully tested connection of a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.703 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - got connection handle from a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.703 [pool-5-thread-1] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquired connection from a PoolingDataSource containing an XAPool of resource java/emdb with 1 connection(s) (0 still available)
[2011-08-03 14:01:13,703] DEBUG pool-5-thread-1 org.springframework.jdbc.datasource.DataSourceUtils - Registering transaction synchronization for JDBC Connection
14:01:13.734 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - enlisting a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 into a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.734 [pool-5-thread-1] DEBUG b.tm.resource.ResourceRegistrar - XAResource com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 belongs to a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 that itself belongs to a PoolingDataSource containing an XAPool of resource java/emdb with 1 connection(s) (0 still available)
14:01:13.734 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceManager - creating new branch with a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FD060000000A]
14:01:13.734 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceHolderState - assigning  to <an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 with XID null>
14:01:13.734 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceHolderState - starting an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 with XID a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FD060000000A] with NOFLAGS
14:01:13.734 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceHolderState - started an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 (started) with XID a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FD060000000A] with NOFLAGS
14:01:13.734 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAResourceHolder - putting XAResourceHolderState [an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 (started) with XID a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FD060000000A]] on a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.734 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAResourceHolder - GTRID [737072696E672D62746D000001318F16FC6A00000007] previously unknown to a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049, adding it to the resource's transactions list
[2011-08-03 14:01:13,750] DEBUG pool-5-thread-1 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Found email address  : null
14:01:13.937 [pool-5-thread-1] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquiring connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - current transaction GTRID is [737072696E672D62746D000001318F16FC6A00000007]
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - 1 xa resource(s) created by connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource GTRID: 737072696E672D62746D000001318F16FC6A00000007
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID, recycling it
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - marking a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d as recycled in a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d has been recycled, unregistering deferred release from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d was in state NOT_ACCESSIBLE, no need to test it
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - got connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquired connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select reassignme0_.Escalation_Reassignments_Id as Escalation2_1_, reassignme0_.id as id1_, reassignme0_.id as id10_0_ from Reassignment reassignme0_ where reassignme0_.Escalation_Reassignments_Id=?
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - enlisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d into a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - avoiding re-enlistment of already enlisted but not ended resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d (started) with XID a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FC7900000009]
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@f1f34a
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - deferring release to pool of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d is not already registered for deferred release in a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - registering DeferredReleaseSynchronization for a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@f1f34a
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquiring connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - current transaction GTRID is [737072696E672D62746D000001318F16FC6A00000007]
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - 1 xa resource(s) created by connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource GTRID: 737072696E672D62746D000001318F16FC6A00000007
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID, recycling it
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - marking a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d as recycled in a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d has been recycled, unregistering deferred release from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d was in state NOT_ACCESSIBLE, no need to test it
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - got connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquired connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select potentialo0_.task_id as task1_1_, potentialo0_.entity_id as entity2_1_, organizati1_.id as id6_0_, organizati1_.DTYPE as DTYPE6_0_ from Reassignment_potentialOwners potentialo0_ left outer join OrganizationalEntity organizati1_ on potentialo0_.entity_id=organizati1_.id where potentialo0_.task_id=?
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - enlisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d into a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - avoiding re-enlistment of already enlisted but not ended resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d (started) with XID a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FC7900000009]
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@f1f34a
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - deferring release to pool of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d is not already registered for deferred release in a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - registering DeferredReleaseSynchronization for a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@f1f34a
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
[2011-08-03 14:01:13,953] DEBUG pool-5-thread-1 org.springframework.jdbc.datasource.DataSourceUtils - Returning JDBC Connection to DataSource
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@ffc3eb
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - deferring release to pool of a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 is not already registered for deferred release in a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - registering DeferredReleaseSynchronization for a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@ffc3eb
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
[2011-08-03 14:01:13,953] DEBUG pool-5-thread-1 org.springframework.transaction.jta.JtaTransactionManager - Initiating transaction rollback
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.BitronixTransactionManager - rolling back transaction a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.timer.TaskScheduler - cancelling transaction timeout task on a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.timer.TaskScheduler - removing task by a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.timer.TaskScheduler - cancelled a TransactionTimeoutTask on a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011) scheduled for Wed Aug 03 14:02:13 GST 2011, total task(s) still queued: 3
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction - found unclosed resource to delist: an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d (started) with XID a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FC7900000009]
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceManager - delisting resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d (started) with XID a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FC7900000009]
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceHolderState - ending an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d (started) with XID a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FC7900000009] with SUCCESS
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceHolderState - ended an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d (started) with XID a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FC7900000009] with SUCCESS
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction - found unclosed resource to delist: an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 (started) with XID a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FD060000000A]
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceManager - delisting resource an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 (started) with XID a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FD060000000A]
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceHolderState - ending an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 (started) with XID a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FD060000000A] with SUCCESS
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceHolderState - ended an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 (started) with XID a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FD060000000A] with SUCCESS
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction - rolling back, 2 enlisted resource(s)
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction - changing transaction status to ROLLING_BACK
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.journal.TransactionLogAppender - between 345145 and 345228, writing a Bitronix TransactionLogRecord with status=ROLLING_BACK, recordLength=75, headerLength=28, time=1312365673953, sequenceNumber=11, crc32=1921892705, gtrid=737072696E672D62746D000001318F16FC6A00000007, uniqueNames=java/emdb,java/jbpmdb
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.journal.TransactionLogAppender - disk journal appender now at position 345228
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction - transaction status is changing from ACTIVE to ROLLING_BACK - executing 0 listener(s)
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.twopc.AbstractPhaseEngine - executing phase on 2 resource(s) enlisted in 1 position(s) in reverse position order
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.twopc.AbstractPhaseEngine - running 2 job(s) for position '1'
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.twopc.Rollbacker - trying to rollback resource an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 (ended) with XID a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FD060000000A]
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.twopc.Rollbacker - rolled back resource an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 (ended) with XID a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FD060000000A]
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.twopc.Rollbacker - trying to rollback resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d (ended) with XID a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FC7900000009]
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.twopc.Rollbacker - rolled back resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d (ended) with XID a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FC7900000009]
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.twopc.AbstractPhaseEngine - phase executed with 0 exception(s)
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.twopc.AbstractPhaseEngine - ran 2 job(s) for position '1'
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.twopc.Rollbacker - rollback executed on resources [java/emdb, java/jbpmdb]
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.twopc.Rollbacker - rollback succeeded on resources [java/emdb, java/jbpmdb]
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction - changing transaction status to ROLLEDBACK
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.journal.TransactionLogAppender - between 345228 and 345311, writing a Bitronix TransactionLogRecord with status=ROLLEDBACK, recordLength=75, headerLength=28, time=1312365673953, sequenceNumber=12, crc32=-1468913514, gtrid=737072696E672D62746D000001318F16FC6A00000007, uniqueNames=java/emdb,java/jbpmdb
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.journal.TransactionLogAppender - disk journal appender now at position 345311
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction - transaction status is changing from ROLLING_BACK to ROLLEDBACK - executing 0 listener(s)
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction - successfully rolled back a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ROLLEDBACK, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceManager - clearing XAResourceHolder states on 2 resource(s)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAResourceHolder - removing XAResourceHolderState of xid a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FC7900000009] from a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceManager - resource a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d cleaned up all transaction states for GTRID [737072696E672D62746D000001318F16FC6A00000007]
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAResourceHolder - removing XAResourceHolderState of xid a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 : 737072696E672D62746D000001318F16FD060000000A] from a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceManager - resource a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 cleaned up all transaction states for GTRID [737072696E672D62746D000001318F16FC6A00000007]
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction - after completion, 3 synchronization(s) to execute
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction - executing synchronization a ClearContextSynchronization for a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ROLLEDBACK, 0 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011) with status=ROLLEDBACK
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.BitronixTransactionManager - clearing thread context: a ThreadContext with transaction a Bitronix Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ROLLEDBACK, 0 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011), default timeout 60s
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction - executing synchronization a DeferredReleaseSynchronization of a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d with status=ROLLEDBACK
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.DeferredReleaseSynchronization - DeferredReleaseSynchronization requeuing a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@f1f34a
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/jbpmdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - requeued JDBC connection of a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (1 still available)
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - a connection's state changed to IN_POOL, notifying a thread eventually waiting for a connection
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.DeferredReleaseSynchronization - DeferredReleaseSynchronization requeued a JdbcPooledConnection from datasource java/jbpmdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction - executing synchronization a DeferredReleaseSynchronization of a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 with status=ROLLEDBACK
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.DeferredReleaseSynchronization - DeferredReleaseSynchronization requeuing a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@ffc3eb
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - requeued JDBC connection of a PoolingDataSource containing an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - a connection's state changed to IN_POOL, notifying a thread eventually waiting for a connection
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.DeferredReleaseSynchronization - DeferredReleaseSynchronization requeued a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
javax.persistence.TransactionRequiredException: no transaction is in progress
        at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:301)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:365)
        at $Proxy59.flush(Unknown Source)
        at ae.emaratech.em.bpm.jbpm.DefaultEscalatedDeadlineHandler.executeEscalatedDeadline(DefaultEscalatedDeadlineHandler.java:148)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:311)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy55.executeEscalatedDeadline(Unknown Source)
        at org.jbpm.task.service.TaskService.executeEscalatedDeadline(TaskService.java:167)
        at org.jbpm.task.service.TaskService$ScheduledTaskDeadline.call(TaskService.java:272)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - running a PoolShrinkingTask scheduled for Wed Aug 03 14:01:54 GST 2011 on an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.resource.common.XAPool - shrinking an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.resource.common.XAPool - checking if connection can be closed: a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 - closing time: 1312365733953, now time: 1312365714859
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.resource.common.XAPool - closed 0 idle connection(s)
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.resource.common.XAPool - shrunk an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - scheduling pool shrinking task on an XAPool of resource java/emdb with 1 connection(s) (1 still available) for Wed Aug 03 14:02:54 GST 2011
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - removing task by an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - cancelled a PoolShrinkingTask scheduled for Wed Aug 03 14:01:54 GST 2011 on an XAPool of resource java/emdb with 1 connection(s) (1 still available), total task(s) still queued: 2
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - scheduled a PoolShrinkingTask scheduled for Wed Aug 03 14:02:54 GST 2011 on an XAPool of resource java/emdb with 1 connection(s) (1 still available), total task(s) queued: 3
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - successfully ran a PoolShrinkingTask scheduled for Wed Aug 03 14:01:54 GST 2011 on an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - total task(s) still queued: 3
14:02:07.359 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - running a RecoveryTask scheduled for Wed Aug 03 14:02:07 GST 2011
14:02:07.359 [bitronix-scheduler] DEBUG bitronix.tm.timer.RecoveryTask - running recovery
14:02:07.359 [bitronix-scheduler] DEBUG bitronix.tm.timer.RecoveryTask - rescheduling recovery for Wed Aug 03 14:03:07 GST 2011
14:02:07.359 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - scheduling recovery task for Wed Aug 03 14:03:07 GST 2011
14:02:07.359 [bitronix-recovery-thread] DEBUG b.tm.BitronixTransactionManager - oldest in-flight transaction's timestamp: -9223372036854775808
14:02:07.359 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - removing task by bitronix.tm.recovery.Recoverer@4a96a
14:02:07.359 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - cancelled a RecoveryTask scheduled for Wed Aug 03 14:02:07 GST 2011, total task(s) still queued: 2
14:02:07.359 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - scheduled a RecoveryTask scheduled for Wed Aug 03 14:03:07 GST 2011, total task(s) queued: 3
14:02:07.359 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - successfully ran a RecoveryTask scheduled for Wed Aug 03 14:02:07 GST 2011
14:02:07.359 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - total task(s) still queued: 3
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - running a PoolShrinkingTask scheduled for Wed Aug 03 14:02:07 GST 2011 on an XAPool of resource java/jbpmdb with 1 connection(s) (1 still available)
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.resource.common.XAPool - shrinking an XAPool of resource java/jbpmdb with 1 connection(s) (1 still available)
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.resource.common.XAPool - checking if connection can be closed: a JdbcPooledConnection from datasource java/jbpmdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d - closing time: 1312365733953, now time: 1312365727859
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.resource.common.XAPool - closed 0 idle connection(s)
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.resource.common.XAPool - shrunk an XAPool of resource java/jbpmdb with 1 connection(s) (1 still available)
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - scheduling pool shrinking task on an XAPool of resource java/jbpmdb with 1 connection(s) (1 still available) for Wed Aug 03 14:03:07 GST 2011
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - removing task by an XAPool of resource java/jbpmdb with 1 connection(s) (1 still available)
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - cancelled a PoolShrinkingTask scheduled for Wed Aug 03 14:02:07 GST 2011 on an XAPool of resource java/jbpmdb with 1 connection(s) (1 still available), total task(s) still queued: 2
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - scheduled a PoolShrinkingTask scheduled for Wed Aug 03 14:03:07 GST 2011 on an XAPool of resource java/jbpmdb with 1 connection(s) (1 still available), total task(s) queued: 3
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - successfully ran a PoolShrinkingTask scheduled for Wed Aug 03 14:02:07 GST 2011 on an XAPool of resource java/jbpmdb with 1 connection(s) (1 still available)
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler - total task(s) still queued: 3
14:02:07.875 [bitronix-recovery-thread] DEBUG b.tm.journal.TransactionLogCursor - end of transaction log file reached at 345311
14:02:07.875 [bitronix-recovery-thread] DEBUG bitronix.tm.journal.DiskJournal - collected dangling records of a TransactionLogAppender on btm1.tlog, committing: 897, committed: 897, delta: 0
14:02:07.875 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer - performing recovery on java/emdb
14:02:07.875 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer - running recovery on a PoolingDataSource containing an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:02:07.875 [bitronix-recovery-thread] DEBUG bitronix.tm.resource.common.XAPool - getting a IN_POOL connection from an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:02:07.875 [bitronix-recovery-thread] DEBUG bitronix.tm.resource.common.XAPool - waiting for IN_POOL connections count to be > 0, currently is 1
14:02:07.875 [bitronix-recovery-thread] DEBUG bitronix.tm.resource.common.XAPool - found IN_POOL connection a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 from an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:02:07.875 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.875 [bitronix-recovery-thread] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.875 [bitronix-recovery-thread] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.875 [bitronix-recovery-thread] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.875 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 was in state IN_POOL, testing it
14:02:07.875 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - testing with JDBC4 isValid() method, connection of a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - isValid successfully tested connection of a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - got connection handle from a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.RecoveryHelper - recovering with STARTRSCAN
14:02:07.937 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.RecoveryHelper - STARTRSCAN recovered 0 xid(s) on an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 with XID null
14:02:07.937 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.RecoveryHelper - recovering with ENDRSCAN
14:02:07.937 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.RecoveryHelper - ENDRSCAN recovered 0 xid(s) on an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 with XID null
14:02:07.937 [bitronix-recovery-thread] DEBUG b.tm.resource.jdbc.PoolingDataSource - recovery xa resource is being closed: bitronix.tm.resource.common.RecoveryXAResourceHolder@174d4c9
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@ffc3eb
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 from null
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.c.TransactionContextHelper - resource is not in enlisting global transaction context: a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 from null
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.c.TransactionContextHelper - resource is not in enlisting global transaction context: a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.c.TransactionContextHelper - looking in in-flight transactions for XAResourceHolderState of a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.c.AbstractXAResourceHolder - resource not enlisted in any transaction: a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.c.TransactionContextHelper - resource not in enlisting global transaction context, immediately releasing to pool a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@ffc3eb
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - requeued JDBC connection of a PoolingDataSource containing an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:02:07.937 [bitronix-recovery-thread] DEBUG bitronix.tm.resource.common.XAPool - a connection's state changed to IN_POOL, notifying a thread eventually waiting for a connection
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer - recovered 0 XID(s) from resource java/emdb
14:02:07.937 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer - performing recovery on java/jbpmdb
14:02:07.937 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer - running recovery on a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (1 still available)
14:02:07.937 [bitronix-recovery-thread] DEBUG bitronix.tm.resource.common.XAPool - getting a IN_POOL connection from an XAPool of resource java/jbpmdb with 1 connection(s) (1 still available)
14:02:07.937 [bitronix-recovery-thread] DEBUG bitronix.tm.resource.common.XAPool - waiting for IN_POOL connections count to be > 0, currently is 1
14:02:07.937 [bitronix-recovery-thread] DEBUG bitronix.tm.resource.common.XAPool - found IN_POOL connection a JdbcPooledConnection from datasource java/jbpmdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from an XAPool of resource java/jbpmdb with 1 connection(s) (1 still available)
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state IN_POOL with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state IN_POOL with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d was in state IN_POOL, testing it
14:02:07.937 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - testing with JDBC4 isValid() method, connection of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - isValid successfully tested connection of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - got connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.RecoveryHelper - recovering with STARTRSCAN
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.RecoveryHelper - STARTRSCAN recovered 0 xid(s) on an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d with XID null
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.RecoveryHelper - recovering with ENDRSCAN
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.RecoveryHelper - ENDRSCAN recovered 0 xid(s) on an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d with XID null
14:02:07.953 [bitronix-recovery-thread] DEBUG b.tm.resource.jdbc.PoolingDataSource - recovery xa resource is being closed: bitronix.tm.resource.common.RecoveryXAResourceHolder@752144
14:02:07.953 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@f1f34a
14:02:07.953 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from null
14:02:07.953 [bitronix-recovery-thread] DEBUG b.t.r.c.TransactionContextHelper - resource is not in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from null
14:02:07.953 [bitronix-recovery-thread] DEBUG b.t.r.c.TransactionContextHelper - resource is not in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG b.t.r.c.TransactionContextHelper - looking in in-flight transactions for XAResourceHolderState of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG b.t.r.c.AbstractXAResourceHolder - resource not enlisted in any transaction: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG b.t.r.c.TransactionContextHelper - resource not in enlisting global transaction context, immediately releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:02:07.953 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@f1f34a
14:02:07.953 [bitronix-recovery-thread] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/jbpmdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - requeued JDBC connection of a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (1 still available)
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.resource.common.XAPool - a connection's state changed to IN_POOL, notifying a thread eventually waiting for a connection
14:02:07.953 [bitronix-recovery-thread] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/jbpmdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer - recovered 0 XID(s) from resource java/jbpmdb
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer - found 0 dangling record(s) in journal
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer - committed 0 dangling transaction(s)
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer - rolling back aborted branch(es)
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer - checking 0 branch(es) on java/emdb for rollback
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer - checked 0 branch(es) on java/emdb for rollback
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer - checking 0 branch(es) on java/jbpmdb for rollback
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer - checked 0 branch(es) on java/jbpmdb for rollback
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer - rolled back 0 aborted branch(es)
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 2 resource(s) [java/emdb, java/jbpmdb] (restricted to serverId 'spring-btm')


It is participating in the transactions 2 , 3 times. But why not commit ?

Even stranger, If I dont force a FLUSH, I get a happy log like the following


14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was in state NOT_ACCESSIBLE, no need to test it
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquired connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select attachment0_.TaskData_Attachments_Id as TaskData9_2_, attachment0_.id as id2_, attachment0_.id as id0_1_, attachment0_.accessType as accessType0_1_, attachment0_.attachedAt as attachedAt0_1_, attachment0_.attachedBy_id as attachedBy8_0_1_, attachment0_.attachmentContentId as attachme4_0_1_, attachment0_.contentType as contentT5_0_1_, attachment0_.name as name0_1_, attachment0_.attachment_size as attachment7_0_1_, user1_.id as id6_0_ from Attachment attachment0_ left outer join OrganizationalEntity user1_ on attachment0_.attachedBy_id=user1_.id where attachment0_.TaskData_Attachments_Id=?
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - enlisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - avoiding re-enlistment of already enlisted but not ended resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F29600000009]
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - deferring release to pool of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already registered for deferred release in a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - registering DeferredReleaseSynchronization for a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquiring connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:25.750 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:25.750 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - current transaction GTRID is [737072696E672D62746D000001318F44F29600000007]
14:51:25.750 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - 1 xa resource(s) created by connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource GTRID: 737072696E672D62746D000001318F44F29600000007
14:51:25.750 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID, recycling it
14:51:25.750 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - marking a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been recycled, unregistering deferred release from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was in state NOT_ACCESSIBLE, no need to test it
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquired connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select comments0_.TaskData_Comments_Id as TaskData5_2_, comments0_.id as id2_, comments0_.id as id3_1_, comments0_.addedAt as addedAt3_1_, comments0_.addedBy_id as addedBy4_3_1_, comments0_.text as text3_1_, user1_.id as id6_0_ from task_comment comments0_ left outer join OrganizationalEntity user1_ on comments0_.addedBy_id=user1_.id where comments0_.TaskData_Comments_Id=?
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - enlisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - avoiding re-enlistment of already enlisted but not ended resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F29600000009]
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - deferring release to pool of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already registered for deferred release in a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - registering DeferredReleaseSynchronization for a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
---------->TaskData :org.jbpm.task.TaskData@518dbe3e
14:51:25.765 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquiring connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - current transaction GTRID is [737072696E672D62746D000001318F44F29600000007]
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - 1 xa resource(s) created by connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource GTRID: 737072696E672D62746D000001318F44F29600000007
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID, recycling it
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - marking a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been recycled, unregistering deferred release from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was in state NOT_ACCESSIBLE, no need to test it
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquired connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select content0_.id as id1_0_, content0_.content as content1_0_ from Content content0_ where content0_.id=?
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - enlisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - avoiding re-enlistment of already enlisted but not ended resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F29600000009]
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - deferring release to pool of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already registered for deferred release in a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - registering DeferredReleaseSynchronization for a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquiring connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - current transaction GTRID is [737072696E672D62746D000001318F44F29600000007]
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - 1 xa resource(s) created by connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource GTRID: 737072696E672D62746D000001318F44F29600000007
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID, recycling it
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - marking a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been recycled, unregistering deferred release from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was in state NOT_ACCESSIBLE, no need to test it
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquired connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select emailheade0_.Notification_id as Notifica1_1_, emailheade0_.emailHeaders_id as emailHea2_1_, emailheade0_.mapkey as mapkey1_, emailnotif1_.id as id9_0_, emailnotif1_.body as body9_0_, emailnotif1_.fromAddress as fromAddr3_9_0_, emailnotif1_.language as language9_0_, emailnotif1_.replyToAddress as replyToA5_9_0_, emailnotif1_.subject as subject9_0_ from Notification_email_header emailheade0_ left outer join email_header emailnotif1_ on emailheade0_.emailHeaders_id=emailnotif1_.id where emailheade0_.Notification_id=?
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - enlisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - avoiding re-enlistment of already enlisted but not ended resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F29600000009]
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - deferring release to pool of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already registered for deferred release in a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - registering DeferredReleaseSynchronization for a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
[2011-08-03 14:51:25,781] DEBUG pool-5-thread-2 org.springframework.transaction.jta.JtaTransactionManager - Participating in existing transaction
[2011-08-03 14:51:25,781] DEBUG pool-5-thread-2 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Entity is an instance of User: true
[2011-08-03 14:51:25,781] DEBUG pool-5-thread-2 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Entity is an instance of Group: false
[2011-08-03 14:51:25,781] DEBUG pool-5-thread-2 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Geting Id of entity: USER3
[2011-08-03 14:51:25,781] DEBUG pool-5-thread-2 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Converted unique Id of USER : 3
[2011-08-03 14:51:25,781] DEBUG pool-5-thread-2 org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL query
[2011-08-03 14:51:25,781] DEBUG pool-5-thread-2 org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL statement [SELECT E.ID AS E_ID, E.NAME_EN AS E_NAME_EN, E.NAME_AR AS E_NAME_AR,  EMAIL, USERNAME, PASSWORD, MANAGER_ID, STICKY_NOTES,  D.ID AS D_ID, D.NAME_EN AS D_NAME_EN, D.NAME_AR AS D_NAME_AR, D.PARENT_ID AS D_PARENT_ID,  DP.ID AS DP_ID,  P.ID AS P_ID, P.NAME_EN AS P_NAME_EN, P.NAME_AR AS P_NAME_AR   FROM EMPLOYEE E, DEPT_PROFESSION DP, DEPARTMENT D, PROFESSION P  WHERE E.DEPT_PROF_ID = DP.ID AND DP.DEPT_ID = D.ID AND P.ID =  DP.PROFESSION_ID  AND E.ID = ? LIMIT 1]
[2011-08-03 14:51:25,781] DEBUG pool-5-thread-2 org.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource
14:51:25.781 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquiring connection from a PoolingDataSource containing an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:51:25.781 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:51:25.781 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - current transaction GTRID is [737072696E672D62746D000001318F44F29600000007]
14:51:25.781 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - no NOT_ACCESSIBLE connection enlisted in this transaction
14:51:25.781 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - getting a IN_POOL connection from an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:51:25.781 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - waiting for IN_POOL connections count to be > 0, currently is 1
14:51:25.781 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found IN_POOL connection a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 from an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 was in state IN_POOL, testing it
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - testing with JDBC4 isValid() method, connection of a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - isValid successfully tested connection of a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got connection handle from a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:25.796 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquired connection from a PoolingDataSource containing an XAPool of resource java/emdb with 1 connection(s) (0 still available)
[2011-08-03 14:51:25,796] DEBUG pool-5-thread-2 org.springframework.jdbc.datasource.DataSourceUtils - Registering transaction synchronization for JDBC Connection
14:51:25.796 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - enlisting a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 into a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.796 [pool-5-thread-2] DEBUG b.tm.resource.ResourceRegistrar - XAResource com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 belongs to a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 that itself belongs to a PoolingDataSource containing an XAPool of resource java/emdb with 1 connection(s) (0 still available)
14:51:25.796 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager - creating new branch with a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F2E40000000A]
14:51:25.796 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState - assigning
 to <an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 with XID null>
14:51:25.796 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState - starting an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F2E40000000A] with NOFLAGS
14:51:25.890 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState - started an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 (started) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F2E40000000A] with NOFLAGS
14:51:25.890 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAResourceHolder - putting XAResourceHolderState [an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 (started) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F2E40000000A]] on a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:25.890 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAResourceHolder - GTRID [737072696E672D62746D000001318F44F29600000007] previously unknown to a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226, adding it to the resource's transactions list
[2011-08-03 14:51:25,906] DEBUG pool-5-thread-2 ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Found email address  : null
14:51:26.234 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquiring connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - current transaction GTRID is [737072696E672D62746D000001318F44F29600000007]
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - 1 xa resource(s) created by connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource GTRID: 737072696E672D62746D000001318F44F29600000007
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID, recycling it
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - marking a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been recycled, unregistering deferred release from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was in state NOT_ACCESSIBLE, no need to test it
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquired connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select reassignme0_.Escalation_Reassignments_Id as Escalation2_1_, reassignme0_.id as id1_, reassignme0_.id as id10_0_ from Reassignment reassignme0_ where reassignme0_.Escalation_Reassignments_Id=?
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - enlisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - avoiding re-enlistment of already enlisted but not ended resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F29600000009]
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - deferring release to pool of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already registered for deferred release in a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - registering DeferredReleaseSynchronization for a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquiring connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - current transaction GTRID is [737072696E672D62746D000001318F44F29600000007]
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - 1 xa resource(s) created by connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource GTRID: 737072696E672D62746D000001318F44F29600000007
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID, recycling it
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - marking a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been recycled, unregistering deferred release from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was in state NOT_ACCESSIBLE, no need to test it
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got connection handle from a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource - acquired connection from a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select potentialo0_.task_id as task1_1_, potentialo0_.entity_id as entity2_1_, organizati1_.id as id6_0_, organizati1_.DTYPE as DTYPE6_0_ from Reassignment_potentialOwners potentialo0_ left outer join OrganizationalEntity organizati1_ on potentialo0_.entity_id=organizati1_.id where potentialo0_.task_id=?
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - enlisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - avoiding re-enlistment of already enlisted but not ended resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F29600000009]
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - deferring release to pool of a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already registered for deferred release in a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - registering DeferredReleaseSynchronization for a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
[2011-08-03 14:51:26,234] DEBUG pool-5-thread-2 org.springframework.jdbc.datasource.DataSourceUtils - Returning JDBC Connection to DataSource
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 on com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@13c2d7f
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 from a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - resource is in enlisting global transaction context: a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - deferring release to pool of a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 is not already registered for deferred release in a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - registering DeferredReleaseSynchronization for a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@13c2d7f
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
[2011-08-03 14:51:26,234] DEBUG pool-5-thread-2 org.springframework.transaction.jta.JtaTransactionManager - Initiating transaction commit
14:51:26.234 [pool-5-thread-2] DEBUG b.tm.BitronixTransactionManager - committing transaction a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.timer.TaskScheduler - cancelling transaction timeout task on a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.timer.TaskScheduler - removing task by a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.timer.TaskScheduler - cancelled a TransactionTimeoutTask on a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011) scheduled for Wed Aug 03 14:52:25 GST 2011, total task(s) still queued: 3
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - before completion, 3 synchronization(s) to execute
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - executing synchronization a DeferredReleaseSynchronization of a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - executing synchronization a DeferredReleaseSynchronization of a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - executing synchronization a ClearContextSynchronization for a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - found unclosed resource to delist: an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F29600000009]
14:51:26.234 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager - delisting resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F29600000009]
14:51:26.234 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState - ending an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F29600000009] with SUCCESS
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState - ended an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (started) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F29600000009] with SUCCESS
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - found unclosed resource to delist: an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 (started) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F2E40000000A]
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager - delisting resource an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 (started) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F2E40000000A]
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState - ending an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 (started) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F2E40000000A] with SUCCESS
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState - ended an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 (started) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F2E40000000A] with SUCCESS
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - committing, 2 enlisted resource(s)
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - changing transaction status to PREPARING
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender - between 347374 and 347457, writing a Bitronix TransactionLogRecord with status=PREPARING, recordLength=75, headerLength=28, time=1312368686250, sequenceNumber=11, crc32=842513147, gtrid=737072696E672D62746D000001318F44F29600000007, uniqueNames=java/emdb,java/jbpmdb
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender - disk journal appender now at position 347457
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - transaction status is changing from ACTIVE to PREPARING - executing 0 listener(s)
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine - executing phase on 2 resource(s) enlisted in 1 position(s) in natural position order
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine - running 2 job(s) for position '1'
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Preparer - preparing resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (ended) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F29600000009]
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Preparer - prepared resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (ended) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F29600000009] voted XA_OK
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Preparer - preparing resource an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 (ended) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F2E40000000A]
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Preparer - prepared resource an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 (ended) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F2E40000000A] voted XA_OK
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine - phase executed with 0 exception(s)
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine - ran 2 job(s) for position '1'
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - changing transaction status to PREPARED
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender - between 347457 and 347540, writing a Bitronix TransactionLogRecord with status=PREPARED, recordLength=75, headerLength=28, time=1312368686250, sequenceNumber=12, crc32=1744467680, gtrid=737072696E672D62746D000001318F44F29600000007, uniqueNames=java/emdb,java/jbpmdb
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender - disk journal appender now at position 347540
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - transaction status is changing from PREPARING to PREPARED - executing 0 listener(s)
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Preparer - successfully prepared 2 resource(s)
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - 2 interested resource(s)
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - changing transaction status to COMMITTING (forced)
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender - between 347540 and 347623, writing a Bitronix TransactionLogRecord with status=COMMITTING, recordLength=75, headerLength=28, time=1312368686250, sequenceNumber=13, crc32=-385390233, gtrid=737072696E672D62746D000001318F44F29600000007, uniqueNames=java/emdb,java/jbpmdb
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender - disk journal appender now at position 347623
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.journal.DiskForceWaitQueue - enqueued a TransactionLogAppender on btm1.tlog, 1 TransactionLogAppender waiting for a disk force in bitronix.tm.journal.DiskForceWaitQueue@7cf883
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.journal.DiskForceBatcherThread - batching disk force, there are 1 TransactionLogAppender(s) in the wait queue
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.journal.DiskForceWaitQueue - waiting for a TransactionLogAppender on btm1.tlog to get dequeued
14:51:26.250 [bitronix-disk-force-batcher] DEBUG b.tm.journal.DiskForceBatcherThread - wait queue is not empty anymore (1 in queue)
14:51:26.250 [bitronix-disk-force-batcher] DEBUG b.tm.journal.DiskForceBatcherThread - forcing...
14:51:26.250 [bitronix-disk-force-batcher] DEBUG b.tm.journal.DiskForceWaitQueue - returning head TransactionLogAppender
14:51:26.250 [bitronix-disk-force-batcher] DEBUG b.tm.journal.TransactionLogAppender - forcing log writing
14:51:26.359 [bitronix-disk-force-batcher] DEBUG b.tm.journal.TransactionLogAppender - done forcing log
14:51:26.359 [bitronix-disk-force-batcher] DEBUG b.tm.journal.DiskForceWaitQueue - clearing list of 1 waiting TransactionLogAppender(s) in bitronix.tm.journal.DiskForceWaitQueue@7cf883
14:51:26.359 [bitronix-disk-force-batcher] DEBUG b.tm.journal.DiskForceBatcherThread - waiting for the wait queue to fill up
14:51:26.359 [bitronix-disk-force-batcher] DEBUG b.tm.journal.DiskForceWaitQueue - waiting for some TransactionLogAppender to get enqueued
14:51:26.359 [pool-5-thread-2] DEBUG b.tm.journal.DiskForceBatcherThread - wait queue got emptied, disk force is done
14:51:26.359 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - transaction status is changing from PREPARED to COMMITTING - executing 0 listener(s)
14:51:26.359 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine - executing phase on 2 resource(s) enlisted in 1 position(s) in reverse position order
14:51:26.359 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine - running 2 job(s) for position '1'
14:51:26.359 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Committer - committing resource an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 (ended) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F2E40000000A]
14:51:26.406 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Committer - committed resource an XAResourceHolderState with uniqueName=java/emdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 (ended) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F2E40000000A]
14:51:26.406 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Committer - committing resource an XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (ended) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F29600000009]
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Committer - committed resource an XAResourceHolderState with uniqueName=java/jbpmdb XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 (ended) with XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F29600000009]
14:51:26.421 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine - phase executed with 0 exception(s)
14:51:26.421 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine - ran 2 job(s) for position '1'
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Committer - phase 2 commit executed on resources [java/emdb, java/jbpmdb]
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Committer - phase 2 commit succeeded on resources [java/emdb, java/jbpmdb]
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - changing transaction status to COMMITTED

14:51:26.421 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender - between 347623 and 347706, writing a Bitronix TransactionLogRecord with status=COMMITTED, recordLength=75, headerLength=28, time=1312368686421, sequenceNumber=14, crc32=200712204, gtrid=737072696E672D62746D000001318F44F29600000007, uniqueNames=java/emdb,java/jbpmdb
14:51:26.421 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender - disk journal appender now at position 347706
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - transaction status is changing from COMMITTING to COMMITTED - executing 0 listener(s)
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - successfully committed a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=COMMITTED, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.421 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager - clearing XAResourceHolder states on 2 resource(s)
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAResourceHolder - removing XAResourceHolderState of xid a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F29600000009] from a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.421 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager - resource a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 cleaned up all transaction states for GTRID [737072696E672D62746D000001318F44F29600000007]
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAResourceHolder - removing XAResourceHolderState of xid a Bitronix XID [737072696E672D62746D000001318F44F29600000007 : 737072696E672D62746D000001318F44F2E40000000A] from a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.421 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager - resource a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 cleaned up all transaction states for GTRID [737072696E672D62746D000001318F44F29600000007]
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - after completion, 3 synchronization(s) to execute
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - executing synchronization a ClearContextSynchronization for a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=COMMITTED, 0 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011) with status=COMMITTED
14:51:26.421 [pool-5-thread-2] DEBUG b.tm.BitronixTransactionManager - clearing thread context: a ThreadContext with transaction a Bitronix Transaction with GTRID [737072696E672D62746D000001318F44F29600000007], status=COMMITTED, 0 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011), default timeout 60s
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - executing synchronization a DeferredReleaseSynchronization of a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 with status=COMMITTED
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.DeferredReleaseSynchronization - DeferredReleaseSynchronization requeuing a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/jbpmdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - requeued JDBC connection of a PoolingDataSource containing an XAPool of resource java/jbpmdb with 1 connection(s) (1 still available)
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - a connection's state changed to IN_POOL, notifying a thread eventually waiting for a connection
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.DeferredReleaseSynchronization - DeferredReleaseSynchronization requeued a JdbcPooledConnection from datasource java/jbpmdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - executing synchronization a DeferredReleaseSynchronization of a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 with status=COMMITTED
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.DeferredReleaseSynchronization - DeferredReleaseSynchronization requeuing a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - clearing warnings of com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@13c2d7f
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - requeued JDBC connection of a PoolingDataSource containing an XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - a connection's state changed to IN_POOL, notifying a thread eventually waiting for a connection
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.DeferredReleaseSynchronization - DeferredReleaseSynchronization requeued a JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage count 0 wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226

This is really driving me nuts.
Any hints would be appreciated.

Regards,
Franklin
Reply | Threaded
Open this post in threaded view
|

Re: javax.persistence.TransactionRequiredException: no transaction is in progress

Ludovic Orban-2
The most probable cause of your problem is that you didn't properly configure Spring, BTM and Hibernate to work together.

Could you please describe what you're trying to do in greater details so we can at least understand the context of your problem? Relevant snippets of your Spring config will definitely help too.



2011/8/3 Franklin Antony <[hidden email]>

Hi Snicoll,
 Honestly, it is participating in other transactions and the JTA commits
properly. But in this specific case it doesnt work. Not sure what I am
missing.

The entry
hibernate.transaction.manager_lookup_class=org.hibernate.transaction.BTMTransactionManagerLookup
was already there. However, I added this as per your recommendation
hibernate.current_session_context_class=jta
But not much of a difference.

Following is the log

14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcConnectionHandle -
closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@f1f34a
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
delisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
requeuing a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
deferring release to pool of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d is not already
registered for deferred release in a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 1 resource(s)
enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
registering DeferredReleaseSynchronization for a JdbcPooledConnection from
datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@f1f34a
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
released to pool a JdbcPooledConnection from datasource java/jbpmdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
[2011-08-03 14:01:13,687] DEBUG pool-5-thread-1
org.springframework.transaction.jta.JtaTransactionManager - Participating in
existing transaction
[2011-08-03 14:01:13,687] DEBUG pool-5-thread-1
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Entity is an instance of User: true
[2011-08-03 14:01:13,687] DEBUG pool-5-thread-1
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Entity is an instance of Group:
false
[2011-08-03 14:01:13,687] DEBUG pool-5-thread-1
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Geting Id of entity: USER3
[2011-08-03 14:01:13,687] DEBUG pool-5-thread-1
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Converted unique Id of USER : 3
[2011-08-03 14:01:13,687] DEBUG pool-5-thread-1
org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL query
[2011-08-03 14:01:13,687] DEBUG pool-5-thread-1
org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL
statement [SELECT E.ID AS E_ID, E.NAME_EN AS E_NAME_EN, E.NAME_AR AS
E_NAME_AR,  EMAIL, USERNAME, PASSWORD, MANAGER_ID, STICKY_NOTES,  D.ID AS
D_ID, D.NAME_EN AS D_NAME_EN, D.NAME_AR AS D_NAME_AR, D.PARENT_ID AS
D_PARENT_ID,  DP.ID AS DP_ID,  P.ID AS P_ID, P.NAME_EN AS P_NAME_EN,
P.NAME_AR AS P_NAME_AR   FROM EMPLOYEE E, DEPT_PROFESSION DP, DEPARTMENT D,
PROFESSION P  WHERE E.DEPT_PROF_ID = DP.ID AND DP.DEPT_ID = D.ID AND P.ID =
DP.PROFESSION_ID  AND E.ID = ? LIMIT 1]
[2011-08-03 14:01:13,687] DEBUG pool-5-thread-1
org.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC
Connection from DataSource
14:01:13.687 [pool-5-thread-1] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquiring connection from a PoolingDataSource containing an XAPool of
resource java/emdb with 1 connection(s) (1 still available)
14:01:13.687 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool -
trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource
java/emdb with 1 connection(s) (1 still available)
14:01:13.687 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool -
current transaction GTRID is [737072696E672D62746D000001318F16FC6A00000007]
14:01:13.687 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - no
NOT_ACCESSIBLE connection enlisted in this transaction
14:01:13.687 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool -
getting a IN_POOL connection from an XAPool of resource java/emdb with 1
connection(s) (1 still available)
14:01:13.687 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool -
waiting for IN_POOL connections count to be > 0, currently is 1
14:01:13.687 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool -
found IN_POOL connection a JdbcPooledConnection from datasource java/emdb in
state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 from an XAPool
of resource java/emdb with 1 connection(s) (1 still available)
14:01:13.687 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
getting connection handle from a JdbcPooledConnection from datasource
java/emdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.703 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from IN_POOL to
ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state
IN_POOL with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.703 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from
datasource java/emdb in state IN_POOL with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.703 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from IN_POOL to
ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.703 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 was
in state IN_POOL, testing it
14:01:13.703 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
testing with JDBC4 isValid() method, connection of a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.703 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
isValid successfully tested connection of a JdbcPooledConnection from
datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.703 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - got
connection handle from a JdbcPooledConnection from datasource java/emdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.703 [pool-5-thread-1] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquired connection from a PoolingDataSource containing an XAPool of
resource java/emdb with 1 connection(s) (0 still available)
[2011-08-03 14:01:13,703] DEBUG pool-5-thread-1
org.springframework.jdbc.datasource.DataSourceUtils - Registering
transaction synchronization for JDBC Connection
14:01:13.734 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
enlisting a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 into a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.734 [pool-5-thread-1] DEBUG b.tm.resource.ResourceRegistrar -
XAResource com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
belongs to a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 that itself
belongs to a PoolingDataSource containing an XAPool of resource java/emdb
with 1 connection(s) (0 still available)
14:01:13.734 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceManager -
creating new branch with a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FD060000000A]
14:01:13.734 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceHolderState -
assigning   to <an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 with
XID null>
14:01:13.734 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceHolderState -
starting an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 with
XID a Bitronix XID [737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FD060000000A] with NOFLAGS
14:01:13.734 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceHolderState -
started an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FD060000000A] with NOFLAGS
14:01:13.734 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAResourceHolder -
putting XAResourceHolderState [an XAResourceHolderState with
uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FD060000000A]] on a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.734 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAResourceHolder -
GTRID [737072696E672D62746D000001318F16FC6A00000007] previously unknown to a
JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049, adding it to
the resource's transactions list
[2011-08-03 14:01:13,750] DEBUG pool-5-thread-1
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Found email address  : null
14:01:13.937 [pool-5-thread-1] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquiring connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool -
trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource
java/jbpmdb with 1 connection(s) (0 still available)
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool -
current transaction GTRID is [737072696E672D62746D000001318F16FC6A00000007]
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool -
found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from
datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - 1
xa resource(s) created by connection in NOT_ACCESSIBLE state: a
JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE
with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource GTRID:
737072696E672D62746D000001318F16FC6A00000007
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID,
recycling it
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool -
found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from an XAPool
of resource java/jbpmdb with 1 connection(s) (0 still available)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
getting connection handle from a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1
wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
marking a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d as recycled in
a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d has been
recycled, unregistering deferred release from a Bitronix Transaction with
GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2
resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d was
in state NOT_ACCESSIBLE, no need to test it
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - got
connection handle from a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquired connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select reassignme0_.Escalation_Reassignments_Id as
Escalation2_1_, reassignme0_.id as id1_, reassignme0_.id as id10_0_ from
Reassignment reassignme0_ where reassignme0_.Escalation_Reassignments_Id=?
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
enlisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d into a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
avoiding re-enlistment of already enlisted but not ended resource an
XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FC7900000009]
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcConnectionHandle -
closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@f1f34a
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
delisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
requeuing a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
deferring release to pool of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d is not already
registered for deferred release in a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
registering DeferredReleaseSynchronization for a JdbcPooledConnection from
datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@f1f34a
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
released to pool a JdbcPooledConnection from datasource java/jbpmdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquiring connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool -
trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource
java/jbpmdb with 1 connection(s) (0 still available)
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool -
current transaction GTRID is [737072696E672D62746D000001318F16FC6A00000007]
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool -
found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from
datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - 1
xa resource(s) created by connection in NOT_ACCESSIBLE state: a
JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE
with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource GTRID:
737072696E672D62746D000001318F16FC6A00000007
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID,
recycling it
14:01:13.937 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool -
found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from an XAPool
of resource java/jbpmdb with 1 connection(s) (0 still available)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
getting connection handle from a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1
wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
marking a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d as recycled in
a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d has been
recycled, unregistering deferred release from a Bitronix Transaction with
GTRID [737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2
resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d was
in state NOT_ACCESSIBLE, no need to test it
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection - got
connection handle from a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.937 [pool-5-thread-1] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquired connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select potentialo0_.task_id as task1_1_, potentialo0_.entity_id
as entity2_1_, organizati1_.id as id6_0_, organizati1_.DTYPE as DTYPE6_0_
from Reassignment_potentialOwners potentialo0_ left outer join
OrganizationalEntity organizati1_ on potentialo0_.entity_id=organizati1_.id
where potentialo0_.task_id=?
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
enlisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d into a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.937 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
avoiding re-enlistment of already enlisted but not ended resource an
XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FC7900000009]
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcConnectionHandle -
closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@f1f34a
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
delisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
requeuing a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
deferring release to pool of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d is not already
registered for deferred release in a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
registering DeferredReleaseSynchronization for a JdbcPooledConnection from
datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@f1f34a
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
released to pool a JdbcPooledConnection from datasource java/jbpmdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
[2011-08-03 14:01:13,953] DEBUG pool-5-thread-1
org.springframework.jdbc.datasource.DataSourceUtils - Returning JDBC
Connection to DataSource
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcConnectionHandle -
closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource
java/emdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@ffc3eb
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
releasing to pool a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
delisting a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
requeuing a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
deferring release to pool of a JdbcPooledConnection from datasource
java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 is not already
registered for deferred release in a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.TransactionContextHelper -
registering DeferredReleaseSynchronization for a JdbcPooledConnection from
datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@ffc3eb
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in
state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
released to pool a JdbcPooledConnection from datasource java/emdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
[2011-08-03 14:01:13,953] DEBUG pool-5-thread-1
org.springframework.transaction.jta.JtaTransactionManager - Initiating
transaction rollback
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.BitronixTransactionManager -
rolling back transaction a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.timer.TaskScheduler -
cancelling transaction timeout task on a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.timer.TaskScheduler -
removing task by a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.timer.TaskScheduler -
cancelled a TransactionTimeoutTask on a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F16FC6A00000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 14:01:13 GST 2011) scheduled for Wed Aug 03
14:02:13 GST 2011, total task(s) still queued: 3
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction - found
unclosed resource to delist: an XAResourceHolderState with
uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FC7900000009]
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceManager -
delisting resource an XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FC7900000009]
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceHolderState -
ending an XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FC7900000009] with SUCCESS
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceHolderState -
ended an XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FC7900000009] with SUCCESS
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction - found
unclosed resource to delist: an XAResourceHolderState with
uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FD060000000A]
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceManager -
delisting resource an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FD060000000A]
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceHolderState -
ending an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FD060000000A] with SUCCESS
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceHolderState -
ended an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FD060000000A] with SUCCESS
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction -
rolling back, 2 enlisted resource(s)
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction -
changing transaction status to ROLLING_BACK
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.journal.TransactionLogAppender -
between 345145 and 345228, writing a Bitronix TransactionLogRecord with
status=ROLLING_BACK, recordLength=75, headerLength=28, time=1312365673953,
sequenceNumber=11, crc32=1921892705,
gtrid=737072696E672D62746D000001318F16FC6A00000007,
uniqueNames=java/emdb,java/jbpmdb
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.journal.TransactionLogAppender -
disk journal appender now at position 345228
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction -
transaction status is changing from ACTIVE to ROLLING_BACK - executing 0
listener(s)
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.twopc.AbstractPhaseEngine -
executing phase on 2 resource(s) enlisted in 1 position(s) in reverse
position order
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.twopc.AbstractPhaseEngine -
running 2 job(s) for position '1'
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.twopc.Rollbacker - trying
to rollback resource an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
(ended) with XID a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FD060000000A]
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.twopc.Rollbacker - rolled
back resource an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
(ended) with XID a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FD060000000A]
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.twopc.Rollbacker - trying
to rollback resource an XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
(ended) with XID a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FC7900000009]
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.twopc.Rollbacker - rolled
back resource an XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
(ended) with XID a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FC7900000009]
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.twopc.AbstractPhaseEngine - phase
executed with 0 exception(s)
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.twopc.AbstractPhaseEngine - ran 2
job(s) for position '1'
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.twopc.Rollbacker - rollback
executed on resources [java/emdb, java/jbpmdb]
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.twopc.Rollbacker - rollback
succeeded on resources [java/emdb, java/jbpmdb]
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction -
changing transaction status to ROLLEDBACK
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.journal.TransactionLogAppender -
between 345228 and 345311, writing a Bitronix TransactionLogRecord with
status=ROLLEDBACK, recordLength=75, headerLength=28, time=1312365673953,
sequenceNumber=12, crc32=-1468913514,
gtrid=737072696E672D62746D000001318F16FC6A00000007,
uniqueNames=java/emdb,java/jbpmdb
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.journal.TransactionLogAppender -
disk journal appender now at position 345311
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction -
transaction status is changing from ROLLING_BACK to ROLLEDBACK - executing 0
listener(s)
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction -
successfully rolled back a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F16FC6A00000007], status=ROLLEDBACK, 2
resource(s) enlisted (started Wed Aug 03 14:01:13 GST 2011)
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceManager -
clearing XAResourceHolder states on 2 resource(s)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAResourceHolder -
removing XAResourceHolderState of xid a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FC7900000009] from a JdbcPooledConnection
from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0
wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceManager -
resource a JdbcPooledConnection from datasource java/jbpmdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d cleaned up all
transaction states for GTRID [737072696E672D62746D000001318F16FC6A00000007]
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAResourceHolder -
removing XAResourceHolderState of xid a Bitronix XID
[737072696E672D62746D000001318F16FC6A00000007 :
737072696E672D62746D000001318F16FD060000000A] from a JdbcPooledConnection
from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0
wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.internal.XAResourceManager -
resource a JdbcPooledConnection from datasource java/emdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 cleaned up all
transaction states for GTRID [737072696E672D62746D000001318F16FC6A00000007]
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction - after
completion, 3 synchronization(s) to execute
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction -
executing synchronization a ClearContextSynchronization for a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007],
status=ROLLEDBACK, 0 resource(s) enlisted (started Wed Aug 03 14:01:13 GST
2011) with status=ROLLEDBACK
14:01:13.953 [pool-5-thread-1] DEBUG b.tm.BitronixTransactionManager -
clearing thread context: a ThreadContext with transaction a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F16FC6A00000007],
status=ROLLEDBACK, 0 resource(s) enlisted (started Wed Aug 03 14:01:13 GST
2011), default timeout 60s
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction -
executing synchronization a DeferredReleaseSynchronization of a
JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE
with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d with
status=ROLLEDBACK
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.DeferredReleaseSynchronization
- DeferredReleaseSynchronization requeuing a JdbcPooledConnection from
datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from
NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@f1f34a
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from
datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from
NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource
java/jbpmdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
requeued JDBC connection of a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (1 still available)
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - a
connection's state changed to IN_POOL, notifying a thread eventually waiting
for a connection
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.DeferredReleaseSynchronization
- DeferredReleaseSynchronization requeued a JdbcPooledConnection from
datasource java/jbpmdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.BitronixTransaction -
executing synchronization a DeferredReleaseSynchronization of a
JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 with
status=ROLLEDBACK
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.DeferredReleaseSynchronization
- DeferredReleaseSynchronization requeuing a JdbcPooledConnection from
datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from
NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource
java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@ffc3eb
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from
datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from
NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource
java/emdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.jdbc.JdbcPooledConnection -
requeued JDBC connection of a PoolingDataSource containing an XAPool of
resource java/emdb with 1 connection(s) (1 still available)
14:01:13.953 [pool-5-thread-1] DEBUG bitronix.tm.resource.common.XAPool - a
connection's state changed to IN_POOL, notifying a thread eventually waiting
for a connection
14:01:13.953 [pool-5-thread-1] DEBUG b.t.r.c.DeferredReleaseSynchronization
- DeferredReleaseSynchronization requeued a JdbcPooledConnection from
datasource java/emdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
javax.persistence.TransactionRequiredException: no transaction is in
progress
       at
org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:301)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at
org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:365)
       at $Proxy59.flush(Unknown Source)
       at
ae.emaratech.em.bpm.jbpm.DefaultEscalatedDeadlineHandler.executeEscalatedDeadline(DefaultEscalatedDeadlineHandler.java:148)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:311)
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
       at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
       at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
       at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
       at $Proxy55.executeEscalatedDeadline(Unknown Source)
       at
org.jbpm.task.service.TaskService.executeEscalatedDeadline(TaskService.java:167)
       at
org.jbpm.task.service.TaskService$ScheduledTaskDeadline.call(TaskService.java:272)
       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
       at java.util.concurrent.FutureTask.run(FutureTask.java:138)
       at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
       at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
       at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
       at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
       at java.lang.Thread.run(Thread.java:619)
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
running a PoolShrinkingTask scheduled for Wed Aug 03 14:01:54 GST 2011 on an
XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.resource.common.XAPool -
shrinking an XAPool of resource java/emdb with 1 connection(s) (1 still
available)
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.resource.common.XAPool -
checking if connection can be closed: a JdbcPooledConnection from datasource
java/emdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 - closing time:
1312365733953, now time: 1312365714859
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.resource.common.XAPool -
closed 0 idle connection(s)
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.resource.common.XAPool -
shrunk an XAPool of resource java/emdb with 1 connection(s) (1 still
available)
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
scheduling pool shrinking task on an XAPool of resource java/emdb with 1
connection(s) (1 still available) for Wed Aug 03 14:02:54 GST 2011
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
removing task by an XAPool of resource java/emdb with 1 connection(s) (1
still available)
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
cancelled a PoolShrinkingTask scheduled for Wed Aug 03 14:01:54 GST 2011 on
an XAPool of resource java/emdb with 1 connection(s) (1 still available),
total task(s) still queued: 2
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
scheduled a PoolShrinkingTask scheduled for Wed Aug 03 14:02:54 GST 2011 on
an XAPool of resource java/emdb with 1 connection(s) (1 still available),
total task(s) queued: 3
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
successfully ran a PoolShrinkingTask scheduled for Wed Aug 03 14:01:54 GST
2011 on an XAPool of resource java/emdb with 1 connection(s) (1 still
available)
14:01:54.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
total task(s) still queued: 3
14:02:07.359 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
running a RecoveryTask scheduled for Wed Aug 03 14:02:07 GST 2011
14:02:07.359 [bitronix-scheduler] DEBUG bitronix.tm.timer.RecoveryTask -
running recovery
14:02:07.359 [bitronix-scheduler] DEBUG bitronix.tm.timer.RecoveryTask -
rescheduling recovery for Wed Aug 03 14:03:07 GST 2011
14:02:07.359 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
scheduling recovery task for Wed Aug 03 14:03:07 GST 2011
14:02:07.359 [bitronix-recovery-thread] DEBUG
b.tm.BitronixTransactionManager - oldest in-flight transaction's timestamp:
-9223372036854775808
14:02:07.359 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
removing task by bitronix.tm.recovery.Recoverer@4a96a
14:02:07.359 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
cancelled a RecoveryTask scheduled for Wed Aug 03 14:02:07 GST 2011, total
task(s) still queued: 2
14:02:07.359 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
scheduled a RecoveryTask scheduled for Wed Aug 03 14:03:07 GST 2011, total
task(s) queued: 3
14:02:07.359 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
successfully ran a RecoveryTask scheduled for Wed Aug 03 14:02:07 GST 2011
14:02:07.359 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
total task(s) still queued: 3
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
running a PoolShrinkingTask scheduled for Wed Aug 03 14:02:07 GST 2011 on an
XAPool of resource java/jbpmdb with 1 connection(s) (1 still available)
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.resource.common.XAPool -
shrinking an XAPool of resource java/jbpmdb with 1 connection(s) (1 still
available)
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.resource.common.XAPool -
checking if connection can be closed: a JdbcPooledConnection from datasource
java/jbpmdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d - closing time:
1312365733953, now time: 1312365727859
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.resource.common.XAPool -
closed 0 idle connection(s)
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.resource.common.XAPool -
shrunk an XAPool of resource java/jbpmdb with 1 connection(s) (1 still
available)
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
scheduling pool shrinking task on an XAPool of resource java/jbpmdb with 1
connection(s) (1 still available) for Wed Aug 03 14:03:07 GST 2011
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
removing task by an XAPool of resource java/jbpmdb with 1 connection(s) (1
still available)
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
cancelled a PoolShrinkingTask scheduled for Wed Aug 03 14:02:07 GST 2011 on
an XAPool of resource java/jbpmdb with 1 connection(s) (1 still available),
total task(s) still queued: 2
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
scheduled a PoolShrinkingTask scheduled for Wed Aug 03 14:03:07 GST 2011 on
an XAPool of resource java/jbpmdb with 1 connection(s) (1 still available),
total task(s) queued: 3
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
successfully ran a PoolShrinkingTask scheduled for Wed Aug 03 14:02:07 GST
2011 on an XAPool of resource java/jbpmdb with 1 connection(s) (1 still
available)
14:02:07.859 [bitronix-scheduler] DEBUG bitronix.tm.timer.TaskScheduler -
total task(s) still queued: 3
14:02:07.875 [bitronix-recovery-thread] DEBUG
b.tm.journal.TransactionLogCursor - end of transaction log file reached at
345311
14:02:07.875 [bitronix-recovery-thread] DEBUG
bitronix.tm.journal.DiskJournal - collected dangling records of a
TransactionLogAppender on btm1.tlog, committing: 897, committed: 897, delta:
0
14:02:07.875 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer
- performing recovery on java/emdb
14:02:07.875 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer
- running recovery on a PoolingDataSource containing an XAPool of resource
java/emdb with 1 connection(s) (1 still available)
14:02:07.875 [bitronix-recovery-thread] DEBUG
bitronix.tm.resource.common.XAPool - getting a IN_POOL connection from an
XAPool of resource java/emdb with 1 connection(s) (1 still available)
14:02:07.875 [bitronix-recovery-thread] DEBUG
bitronix.tm.resource.common.XAPool - waiting for IN_POOL connections count
to be > 0, currently is 1
14:02:07.875 [bitronix-recovery-thread] DEBUG
bitronix.tm.resource.common.XAPool - found IN_POOL connection a
JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage
count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 from an XAPool
of resource java/emdb with 1 connection(s) (1 still available)
14:02:07.875 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a
JdbcPooledConnection from datasource java/emdb in state IN_POOL with usage
count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.875 [bitronix-recovery-thread] DEBUG
b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s)
about state changing from IN_POOL to ACCESSIBLE in a JdbcPooledConnection
from datasource java/emdb in state IN_POOL with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.875 [bitronix-recovery-thread] DEBUG
b.t.r.c.AbstractXAStatefulHolder - state changing from IN_POOL to ACCESSIBLE
in a JdbcPooledConnection from datasource java/emdb in state IN_POOL with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.875 [bitronix-recovery-thread] DEBUG
b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s)
about state changed from IN_POOL to ACCESSIBLE in a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.875 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - connection
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 was in state
IN_POOL, testing it
14:02:07.875 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - testing with JDBC4 isValid() method,
connection of a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - isValid successfully tested connection of
a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - got connection handle from a
JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG
bitronix.tm.recovery.RecoveryHelper - recovering with STARTRSCAN
14:02:07.937 [bitronix-recovery-thread] DEBUG
bitronix.tm.recovery.RecoveryHelper - STARTRSCAN recovered 0 xid(s) on an
XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 with
XID null
14:02:07.937 [bitronix-recovery-thread] DEBUG
bitronix.tm.recovery.RecoveryHelper - recovering with ENDRSCAN
14:02:07.937 [bitronix-recovery-thread] DEBUG
bitronix.tm.recovery.RecoveryHelper - ENDRSCAN recovered 0 xid(s) on an
XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 with
XID null
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.tm.resource.jdbc.PoolingDataSource - recovery xa resource is being closed:
bitronix.tm.resource.common.RecoveryXAResourceHolder@174d4c9
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a
JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@ffc3eb
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from
datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 from null
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.c.TransactionContextHelper - resource is not in enlisting global
transaction context: a JdbcPooledConnection from datasource java/emdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from
datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049 from null
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.c.TransactionContextHelper - resource is not in enlisting global
transaction context: a JdbcPooledConnection from datasource java/emdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.c.TransactionContextHelper - looking in in-flight transactions for
XAResourceHolderState of a JdbcPooledConnection from datasource java/emdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.c.AbstractXAResourceHolder - resource not enlisted in any transaction:
a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.c.TransactionContextHelper - resource not in enlisting global
transaction context, immediately releasing to pool a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s)
about state changing from ACCESSIBLE to IN_POOL in a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@ffc3eb
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to IN_POOL
in a JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s)
about state changed from ACCESSIBLE to IN_POOL in a JdbcPooledConnection
from datasource java/emdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - requeued JDBC connection of a
PoolingDataSource containing an XAPool of resource java/emdb with 1
connection(s) (1 still available)
14:02:07.937 [bitronix-recovery-thread] DEBUG
bitronix.tm.resource.common.XAPool - a connection's state changed to
IN_POOL, notifying a thread eventually waiting for a connection
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection
from datasource java/emdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@15af049
14:02:07.937 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer
- recovered 0 XID(s) from resource java/emdb
14:02:07.937 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer
- performing recovery on java/jbpmdb
14:02:07.937 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer
- running recovery on a PoolingDataSource containing an XAPool of resource
java/jbpmdb with 1 connection(s) (1 still available)
14:02:07.937 [bitronix-recovery-thread] DEBUG
bitronix.tm.resource.common.XAPool - getting a IN_POOL connection from an
XAPool of resource java/jbpmdb with 1 connection(s) (1 still available)
14:02:07.937 [bitronix-recovery-thread] DEBUG
bitronix.tm.resource.common.XAPool - waiting for IN_POOL connections count
to be > 0, currently is 1
14:02:07.937 [bitronix-recovery-thread] DEBUG
bitronix.tm.resource.common.XAPool - found IN_POOL connection a
JdbcPooledConnection from datasource java/jbpmdb in state IN_POOL with usage
count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from an XAPool
of resource java/jbpmdb with 1 connection(s) (1 still available)
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - getting connection handle from a
JdbcPooledConnection from datasource java/jbpmdb in state IN_POOL with usage
count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s)
about state changing from IN_POOL to ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state IN_POOL with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.c.AbstractXAStatefulHolder - state changing from IN_POOL to ACCESSIBLE
in a JdbcPooledConnection from datasource java/jbpmdb in state IN_POOL with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s)
about state changed from IN_POOL to ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - connection
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d was in state
IN_POOL, testing it
14:02:07.937 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - testing with JDBC4 isValid() method,
connection of a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - isValid successfully tested connection of
a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - got connection handle from a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG
bitronix.tm.recovery.RecoveryHelper - recovering with STARTRSCAN
14:02:07.953 [bitronix-recovery-thread] DEBUG
bitronix.tm.recovery.RecoveryHelper - STARTRSCAN recovered 0 xid(s) on an
XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d with
XID null
14:02:07.953 [bitronix-recovery-thread] DEBUG
bitronix.tm.recovery.RecoveryHelper - recovering with ENDRSCAN
14:02:07.953 [bitronix-recovery-thread] DEBUG
bitronix.tm.recovery.RecoveryHelper - ENDRSCAN recovered 0 xid(s) on an
XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d with
XID null
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.tm.resource.jdbc.PoolingDataSource - recovery xa resource is being closed:
bitronix.tm.resource.common.RecoveryXAResourceHolder@752144
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcConnectionHandle - closing a JdbcConnectionHandle of a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@f1f34a
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - releasing to pool a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.t.r.c.TransactionContextHelper - delisting a JdbcPooledConnection from
datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from null
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.t.r.c.TransactionContextHelper - resource is not in enlisting global
transaction context: a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.t.r.c.TransactionContextHelper - requeuing a JdbcPooledConnection from
datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d from null
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.t.r.c.TransactionContextHelper - resource is not in enlisting global
transaction context: a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.t.r.c.TransactionContextHelper - looking in in-flight transactions for
XAResourceHolderState of a JdbcPooledConnection from datasource java/jbpmdb
in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.t.r.c.AbstractXAResourceHolder - resource not enlisted in any transaction:
a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.t.r.c.TransactionContextHelper - resource not in enlisting global
transaction context, immediately releasing to pool a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s)
about state changing from ACCESSIBLE to IN_POOL in a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - closing 0 dangling uncached statement(s)
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@f1f34a
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.t.r.c.AbstractXAStatefulHolder - state changing from ACCESSIBLE to IN_POOL
in a JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE
with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.t.r.c.AbstractXAStatefulHolder - notifying 2 stateChangeEventListener(s)
about state changed from ACCESSIBLE to IN_POOL in a JdbcPooledConnection
from datasource java/jbpmdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - requeued JDBC connection of a
PoolingDataSource containing an XAPool of resource java/jbpmdb with 1
connection(s) (1 still available)
14:02:07.953 [bitronix-recovery-thread] DEBUG
bitronix.tm.resource.common.XAPool - a connection's state changed to
IN_POOL, notifying a thread eventually waiting for a connection
14:02:07.953 [bitronix-recovery-thread] DEBUG
b.t.r.jdbc.JdbcPooledConnection - released to pool a JdbcPooledConnection
from datasource java/jbpmdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@18a3a1d
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer
- recovered 0 XID(s) from resource java/jbpmdb
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer
- found 0 dangling record(s) in journal
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer
- committed 0 dangling transaction(s)
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer
- rolling back aborted branch(es)
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer
- checking 0 branch(es) on java/emdb for rollback
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer
- checked 0 branch(es) on java/emdb for rollback
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer
- checking 0 branch(es) on java/jbpmdb for rollback
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer
- checked 0 branch(es) on java/jbpmdb for rollback
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer
- rolled back 0 aborted branch(es)
14:02:07.953 [bitronix-recovery-thread] DEBUG bitronix.tm.recovery.Recoverer
- recovery committed 0 dangling transaction(s) and rolled back 0 aborted
transaction(s) on 2 resource(s) [java/emdb, java/jbpmdb] (restricted to
serverId 'spring-btm')


It is participating in the transactions 2 , 3 times. But why not commit ?

Even stranger, If I dont force a FLUSH, I get a happy log like the following


14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was
in state NOT_ACCESSIBLE, no need to test it
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got
connection handle from a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquired connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select attachment0_.TaskData_Attachments_Id as TaskData9_2_,
attachment0_.id as id2_, attachment0_.id as id0_1_, attachment0_.accessType
as accessType0_1_, attachment0_.attachedAt as attachedAt0_1_,
attachment0_.attachedBy_id as attachedBy8_0_1_,
attachment0_.attachmentContentId as attachme4_0_1_, attachment0_.contentType
as contentT5_0_1_, attachment0_.name as name0_1_,
attachment0_.attachment_size as attachment7_0_1_, user1_.id as id6_0_ from
Attachment attachment0_ left outer join OrganizationalEntity user1_ on
attachment0_.attachedBy_id=user1_.id where
attachment0_.TaskData_Attachments_Id=?
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
enlisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
avoiding re-enlistment of already enlisted but not ended resource an
XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F29600000009]
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle -
closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
delisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
requeuing a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
deferring release to pool of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already
registered for deferred release in a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s)
enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
registering DeferredReleaseSynchronization for a JdbcPooledConnection from
datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
released to pool a JdbcPooledConnection from datasource java/jbpmdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquiring connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:25.750 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource
java/jbpmdb with 1 connection(s) (0 still available)
14:51:25.750 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
current transaction GTRID is [737072696E672D62746D000001318F44F29600000007]
14:51:25.750 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from
datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - 1
xa resource(s) created by connection in NOT_ACCESSIBLE state: a
JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE
with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource GTRID:
737072696E672D62746D000001318F44F29600000007
14:51:25.750 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID,
recycling it
14:51:25.750 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool
of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
getting connection handle from a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1
wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
marking a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in
a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s)
enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been
recycled, unregistering deferred release from a Bitronix Transaction with
GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1
resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was
in state NOT_ACCESSIBLE, no need to test it
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got
connection handle from a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.750 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquired connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select comments0_.TaskData_Comments_Id as TaskData5_2_,
comments0_.id as id2_, comments0_.id as id3_1_, comments0_.addedAt as
addedAt3_1_, comments0_.addedBy_id as addedBy4_3_1_, comments0_.text as
text3_1_, user1_.id as id6_0_ from task_comment comments0_ left outer join
OrganizationalEntity user1_ on comments0_.addedBy_id=user1_.id where
comments0_.TaskData_Comments_Id=?
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
enlisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.750 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
avoiding re-enlistment of already enlisted but not ended resource an
XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F29600000009]
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle -
closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
delisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
requeuing a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
deferring release to pool of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already
registered for deferred release in a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s)
enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
registering DeferredReleaseSynchronization for a JdbcPooledConnection from
datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
released to pool a JdbcPooledConnection from datasource java/jbpmdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
---------->TaskData :org.jbpm.task.TaskData@518dbe3e
14:51:25.765 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquiring connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource
java/jbpmdb with 1 connection(s) (0 still available)
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
current transaction GTRID is [737072696E672D62746D000001318F44F29600000007]
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from
datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - 1
xa resource(s) created by connection in NOT_ACCESSIBLE state: a
JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE
with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource GTRID:
737072696E672D62746D000001318F44F29600000007
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID,
recycling it
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool
of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
getting connection handle from a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1
wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
marking a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in
a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s)
enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been
recycled, unregistering deferred release from a Bitronix Transaction with
GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1
resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was
in state NOT_ACCESSIBLE, no need to test it
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got
connection handle from a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquired connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select content0_.id as id1_0_, content0_.content as content1_0_
from Content content0_ where content0_.id=?
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
enlisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
avoiding re-enlistment of already enlisted but not ended resource an
XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F29600000009]
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle -
closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
delisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
requeuing a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
deferring release to pool of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already
registered for deferred release in a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s)
enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
registering DeferredReleaseSynchronization for a JdbcPooledConnection from
datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
released to pool a JdbcPooledConnection from datasource java/jbpmdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquiring connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource
java/jbpmdb with 1 connection(s) (0 still available)
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
current transaction GTRID is [737072696E672D62746D000001318F44F29600000007]
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from
datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - 1
xa resource(s) created by connection in NOT_ACCESSIBLE state: a
JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE
with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource GTRID:
737072696E672D62746D000001318F44F29600000007
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID,
recycling it
14:51:25.765 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool
of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
getting connection handle from a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.765 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1
wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
marking a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in
a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s)
enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been
recycled, unregistering deferred release from a Bitronix Transaction with
GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1
resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was
in state NOT_ACCESSIBLE, no need to test it
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got
connection handle from a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquired connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select emailheade0_.Notification_id as Notifica1_1_,
emailheade0_.emailHeaders_id as emailHea2_1_, emailheade0_.mapkey as
mapkey1_, emailnotif1_.id as id9_0_, emailnotif1_.body as body9_0_,
emailnotif1_.fromAddress as fromAddr3_9_0_, emailnotif1_.language as
language9_0_, emailnotif1_.replyToAddress as replyToA5_9_0_,
emailnotif1_.subject as subject9_0_ from Notification_email_header
emailheade0_ left outer join email_header emailnotif1_ on
emailheade0_.emailHeaders_id=emailnotif1_.id where
emailheade0_.Notification_id=?
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
enlisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
avoiding re-enlistment of already enlisted but not ended resource an
XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F29600000009]
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle -
closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
delisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
requeuing a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
deferring release to pool of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already
registered for deferred release in a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 1 resource(s)
enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
registering DeferredReleaseSynchronization for a JdbcPooledConnection from
datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
released to pool a JdbcPooledConnection from datasource java/jbpmdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
[2011-08-03 14:51:25,781] DEBUG pool-5-thread-2
org.springframework.transaction.jta.JtaTransactionManager - Participating in
existing transaction
[2011-08-03 14:51:25,781] DEBUG pool-5-thread-2
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Entity is an instance of User: true
[2011-08-03 14:51:25,781] DEBUG pool-5-thread-2
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Entity is an instance of Group:
false
[2011-08-03 14:51:25,781] DEBUG pool-5-thread-2
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Geting Id of entity: USER3
[2011-08-03 14:51:25,781] DEBUG pool-5-thread-2
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Converted unique Id of USER : 3
[2011-08-03 14:51:25,781] DEBUG pool-5-thread-2
org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL query
[2011-08-03 14:51:25,781] DEBUG pool-5-thread-2
org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL
statement [SELECT E.ID AS E_ID, E.NAME_EN AS E_NAME_EN, E.NAME_AR AS
E_NAME_AR,  EMAIL, USERNAME, PASSWORD, MANAGER_ID, STICKY_NOTES,  D.ID AS
D_ID, D.NAME_EN AS D_NAME_EN, D.NAME_AR AS D_NAME_AR, D.PARENT_ID AS
D_PARENT_ID,  DP.ID AS DP_ID,  P.ID AS P_ID, P.NAME_EN AS P_NAME_EN,
P.NAME_AR AS P_NAME_AR   FROM EMPLOYEE E, DEPT_PROFESSION DP, DEPARTMENT D,
PROFESSION P  WHERE E.DEPT_PROF_ID = DP.ID AND DP.DEPT_ID = D.ID AND P.ID =
DP.PROFESSION_ID  AND E.ID = ? LIMIT 1]
[2011-08-03 14:51:25,781] DEBUG pool-5-thread-2
org.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC
Connection from DataSource
14:51:25.781 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquiring connection from a PoolingDataSource containing an XAPool of
resource java/emdb with 1 connection(s) (1 still available)
14:51:25.781 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource
java/emdb with 1 connection(s) (1 still available)
14:51:25.781 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
current transaction GTRID is [737072696E672D62746D000001318F44F29600000007]
14:51:25.781 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - no
NOT_ACCESSIBLE connection enlisted in this transaction
14:51:25.781 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
getting a IN_POOL connection from an XAPool of resource java/emdb with 1
connection(s) (1 still available)
14:51:25.781 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
waiting for IN_POOL connections count to be > 0, currently is 1
14:51:25.781 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found IN_POOL connection a JdbcPooledConnection from datasource java/emdb in
state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 from an XAPool
of resource java/emdb with 1 connection(s) (1 still available)
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
getting connection handle from a JdbcPooledConnection from datasource
java/emdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from IN_POOL to
ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state
IN_POOL with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from
datasource java/emdb in state IN_POOL with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from IN_POOL to
ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 was
in state IN_POOL, testing it
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
testing with JDBC4 isValid() method, connection of a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
isValid successfully tested connection of a JdbcPooledConnection from
datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:25.781 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got
connection handle from a JdbcPooledConnection from datasource java/emdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:25.796 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquired connection from a PoolingDataSource containing an XAPool of
resource java/emdb with 1 connection(s) (0 still available)
[2011-08-03 14:51:25,796] DEBUG pool-5-thread-2
org.springframework.jdbc.datasource.DataSourceUtils - Registering
transaction synchronization for JDBC Connection
14:51:25.796 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
enlisting a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 into a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 1 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:25.796 [pool-5-thread-2] DEBUG b.tm.resource.ResourceRegistrar -
XAResource com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
belongs to a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 that itself
belongs to a PoolingDataSource containing an XAPool of resource java/emdb
with 1 connection(s) (0 still available)
14:51:25.796 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager -
creating new branch with a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F2E40000000A]
14:51:25.796 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState -
assigning   to <an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 with
XID null>
14:51:25.796 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState -
starting an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 with
XID a Bitronix XID [737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F2E40000000A] with NOFLAGS
14:51:25.890 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState -
started an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F2E40000000A] with NOFLAGS
14:51:25.890 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAResourceHolder -
putting XAResourceHolderState [an XAResourceHolderState with
uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F2E40000000A]] on a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:25.890 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAResourceHolder -
GTRID [737072696E672D62746D000001318F44F29600000007] previously unknown to a
JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226, adding it to
the resource's transactions list
[2011-08-03 14:51:25,906] DEBUG pool-5-thread-2
ae.emaratech.em.bpm.jbpm.DBUserInfoImp - Found email address  : null
14:51:26.234 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquiring connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource
java/jbpmdb with 1 connection(s) (0 still available)
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
current transaction GTRID is [737072696E672D62746D000001318F44F29600000007]
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from
datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - 1
xa resource(s) created by connection in NOT_ACCESSIBLE state: a
JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE
with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource GTRID:
737072696E672D62746D000001318F44F29600000007
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID,
recycling it
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool
of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
getting connection handle from a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1
wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
marking a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in
a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been
recycled, unregistering deferred release from a Bitronix Transaction with
GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2
resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was
in state NOT_ACCESSIBLE, no need to test it
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got
connection handle from a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquired connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select reassignme0_.Escalation_Reassignments_Id as
Escalation2_1_, reassignme0_.id as id1_, reassignme0_.id as id10_0_ from
Reassignment reassignme0_ where reassignme0_.Escalation_Reassignments_Id=?
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
enlisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
avoiding re-enlistment of already enlisted but not ended resource an
XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F29600000009]
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle -
closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
delisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
requeuing a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
deferring release to pool of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already
registered for deferred release in a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
registering DeferredReleaseSynchronization for a JdbcPooledConnection from
datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
released to pool a JdbcPooledConnection from datasource java/jbpmdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquiring connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource
java/jbpmdb with 1 connection(s) (0 still available)
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
current transaction GTRID is [737072696E672D62746D000001318F44F29600000007]
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found a connection in NOT_ACCESSIBLE state: a JdbcPooledConnection from
datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - 1
xa resource(s) created by connection in NOT_ACCESSIBLE state: a
JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE
with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource GTRID:
737072696E672D62746D000001318F44F29600000007
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
NOT_ACCESSIBLE xa resource's GTRID matched this transaction's GTRID,
recycling it
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool -
found NOT_ACCESSIBLE connection a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from an XAPool
of resource java/jbpmdb with 1 connection(s) (0 still available)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
getting connection handle from a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 1
wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from
NOT_ACCESSIBLE to ACCESSIBLE in a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
marking a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 as recycled in
a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 has been
recycled, unregistering deferred release from a Bitronix Transaction with
GTRID [737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2
resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
connection com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 was
in state NOT_ACCESSIBLE, no need to test it
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection - got
connection handle from a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.tm.resource.jdbc.PoolingDataSource -
acquired connection from a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (0 still available)
Hibernate: select potentialo0_.task_id as task1_1_, potentialo0_.entity_id
as entity2_1_, organizati1_.id as id6_0_, organizati1_.DTYPE as DTYPE6_0_
from Reassignment_potentialOwners potentialo0_ left outer join
OrganizationalEntity organizati1_ on potentialo0_.entity_id=organizati1_.id
where potentialo0_.task_id=?
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
enlisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 into a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
avoiding re-enlistment of already enlisted but not ended resource an
XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F29600000009]
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle -
closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
releasing to pool a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
delisting a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
requeuing a JdbcPooledConnection from datasource java/jbpmdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
deferring release to pool of a JdbcPooledConnection from datasource
java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/jbpmdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 is not already
registered for deferred release in a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
registering DeferredReleaseSynchronization for a JdbcPooledConnection from
datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection
from datasource java/jbpmdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/jbpmdb in
state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
released to pool a JdbcPooledConnection from datasource java/jbpmdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
[2011-08-03 14:51:26,234] DEBUG pool-5-thread-2
org.springframework.jdbc.datasource.DataSourceUtils - Returning JDBC
Connection to DataSource
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcConnectionHandle -
closing a JdbcConnectionHandle of a JdbcPooledConnection from datasource
java/emdb in state ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 on
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@13c2d7f
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
releasing to pool a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 1 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
delisting a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
requeuing a JdbcPooledConnection from datasource java/emdb in state
ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 from a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
resource is in enlisting global transaction context: a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
deferring release to pool of a JdbcPooledConnection from datasource
java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper - a
JdbcPooledConnection from datasource java/emdb in state ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 is not already
registered for deferred release in a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.TransactionContextHelper -
registering DeferredReleaseSynchronization for a JdbcPooledConnection from
datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in
state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@13c2d7f
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from ACCESSIBLE to NOT_ACCESSIBLE in a JdbcPooledConnection
from datasource java/emdb in state ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from ACCESSIBLE
to NOT_ACCESSIBLE in a JdbcPooledConnection from datasource java/emdb in
state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.234 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
released to pool a JdbcPooledConnection from datasource java/emdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
[2011-08-03 14:51:26,234] DEBUG pool-5-thread-2
org.springframework.transaction.jta.JtaTransactionManager - Initiating
transaction commit
14:51:26.234 [pool-5-thread-2] DEBUG b.tm.BitronixTransactionManager -
committing transaction a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.timer.TaskScheduler -
cancelling transaction timeout task on a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.timer.TaskScheduler -
removing task by a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.timer.TaskScheduler -
cancelled a TransactionTimeoutTask on a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F44F29600000007], status=ACTIVE, 2 resource(s)
enlisted (started Wed Aug 03 14:51:25 GST 2011) scheduled for Wed Aug 03
14:52:25 GST 2011, total task(s) still queued: 3
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
before completion, 3 synchronization(s) to execute
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
executing synchronization a DeferredReleaseSynchronization of a
JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE
with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
executing synchronization a DeferredReleaseSynchronization of a
JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
executing synchronization a ClearContextSynchronization for a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=ACTIVE, 2 resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.234 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - found
unclosed resource to delist: an XAResourceHolderState with
uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F29600000009]
14:51:26.234 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager -
delisting resource an XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F29600000009]
14:51:26.234 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState -
ending an XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F29600000009] with SUCCESS
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState -
ended an XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F29600000009] with SUCCESS
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - found
unclosed resource to delist: an XAResourceHolderState with
uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F2E40000000A]
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager -
delisting resource an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F2E40000000A]
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState -
ending an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F2E40000000A] with SUCCESS
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceHolderState -
ended an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
(started) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F2E40000000A] with SUCCESS
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
committing, 2 enlisted resource(s)
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
changing transaction status to PREPARING
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender -
between 347374 and 347457, writing a Bitronix TransactionLogRecord with
status=PREPARING, recordLength=75, headerLength=28, time=1312368686250,
sequenceNumber=11, crc32=842513147,
gtrid=737072696E672D62746D000001318F44F29600000007,
uniqueNames=java/emdb,java/jbpmdb
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender -
disk journal appender now at position 347457
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
transaction status is changing from ACTIVE to PREPARING - executing 0
listener(s)
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine -
executing phase on 2 resource(s) enlisted in 1 position(s) in natural
position order
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine -
running 2 job(s) for position '1'
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Preparer - preparing
resource an XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(ended) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F29600000009]
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Preparer - prepared
resource an XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(ended) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F29600000009] voted XA_OK
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Preparer - preparing
resource an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
(ended) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F2E40000000A]
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Preparer - prepared
resource an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
(ended) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F2E40000000A] voted XA_OK
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine - phase
executed with 0 exception(s)
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine - ran 2
job(s) for position '1'
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
changing transaction status to PREPARED
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender -
between 347457 and 347540, writing a Bitronix TransactionLogRecord with
status=PREPARED, recordLength=75, headerLength=28, time=1312368686250,
sequenceNumber=12, crc32=1744467680,
gtrid=737072696E672D62746D000001318F44F29600000007,
uniqueNames=java/emdb,java/jbpmdb
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender -
disk journal appender now at position 347540
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
transaction status is changing from PREPARING to PREPARED - executing 0
listener(s)
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Preparer -
successfully prepared 2 resource(s)
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - 2
interested resource(s)
14:51:26.250 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
changing transaction status to COMMITTING (forced)
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender -
between 347540 and 347623, writing a Bitronix TransactionLogRecord with
status=COMMITTING, recordLength=75, headerLength=28, time=1312368686250,
sequenceNumber=13, crc32=-385390233,
gtrid=737072696E672D62746D000001318F44F29600000007,
uniqueNames=java/emdb,java/jbpmdb
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender -
disk journal appender now at position 347623
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.journal.DiskForceWaitQueue -
enqueued a TransactionLogAppender on btm1.tlog, 1 TransactionLogAppender
waiting for a disk force in bitronix.tm.journal.DiskForceWaitQueue@7cf883
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.journal.DiskForceBatcherThread -
batching disk force, there are 1 TransactionLogAppender(s) in the wait queue
14:51:26.250 [pool-5-thread-2] DEBUG b.tm.journal.DiskForceWaitQueue -
waiting for a TransactionLogAppender on btm1.tlog to get dequeued
14:51:26.250 [bitronix-disk-force-batcher] DEBUG
b.tm.journal.DiskForceBatcherThread - wait queue is not empty anymore (1 in
queue)
14:51:26.250 [bitronix-disk-force-batcher] DEBUG
b.tm.journal.DiskForceBatcherThread - forcing...
14:51:26.250 [bitronix-disk-force-batcher] DEBUG
b.tm.journal.DiskForceWaitQueue - returning head TransactionLogAppender
14:51:26.250 [bitronix-disk-force-batcher] DEBUG
b.tm.journal.TransactionLogAppender - forcing log writing
14:51:26.359 [bitronix-disk-force-batcher] DEBUG
b.tm.journal.TransactionLogAppender - done forcing log
14:51:26.359 [bitronix-disk-force-batcher] DEBUG
b.tm.journal.DiskForceWaitQueue - clearing list of 1 waiting
TransactionLogAppender(s) in bitronix.tm.journal.DiskForceWaitQueue@7cf883
14:51:26.359 [bitronix-disk-force-batcher] DEBUG
b.tm.journal.DiskForceBatcherThread - waiting for the wait queue to fill up
14:51:26.359 [bitronix-disk-force-batcher] DEBUG
b.tm.journal.DiskForceWaitQueue - waiting for some TransactionLogAppender to
get enqueued
14:51:26.359 [pool-5-thread-2] DEBUG b.tm.journal.DiskForceBatcherThread -
wait queue got emptied, disk force is done
14:51:26.359 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
transaction status is changing from PREPARED to COMMITTING - executing 0
listener(s)
14:51:26.359 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine -
executing phase on 2 resource(s) enlisted in 1 position(s) in reverse
position order
14:51:26.359 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine -
running 2 job(s) for position '1'
14:51:26.359 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Committer -
committing resource an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
(ended) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F2E40000000A]
14:51:26.406 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Committer - committed
resource an XAResourceHolderState with uniqueName=java/emdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
(ended) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F2E40000000A]
14:51:26.406 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Committer -
committing resource an XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(ended) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F29600000009]
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Committer - committed
resource an XAResourceHolderState with uniqueName=java/jbpmdb
XAResource=com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
(ended) with XID a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F29600000009]
14:51:26.421 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine - phase
executed with 0 exception(s)
14:51:26.421 [pool-5-thread-2] DEBUG b.tm.twopc.AbstractPhaseEngine - ran 2
job(s) for position '1'
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Committer - phase 2
commit executed on resources [java/emdb, java/jbpmdb]
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.twopc.Committer - phase 2
commit succeeded on resources [java/emdb, java/jbpmdb]
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
changing transaction status to COMMITTED
14:51:26.421 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender -
between 347623 and 347706, writing a Bitronix TransactionLogRecord with
status=COMMITTED, recordLength=75, headerLength=28, time=1312368686421,
sequenceNumber=14, crc32=200712204,
gtrid=737072696E672D62746D000001318F44F29600000007,
uniqueNames=java/emdb,java/jbpmdb
14:51:26.421 [pool-5-thread-2] DEBUG b.tm.journal.TransactionLogAppender -
disk journal appender now at position 347706
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
transaction status is changing from COMMITTING to COMMITTED - executing 0
listener(s)
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
successfully committed a Bitronix Transaction with GTRID
[737072696E672D62746D000001318F44F29600000007], status=COMMITTED, 2
resource(s) enlisted (started Wed Aug 03 14:51:25 GST 2011)
14:51:26.421 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager -
clearing XAResourceHolder states on 2 resource(s)
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAResourceHolder -
removing XAResourceHolderState of xid a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F29600000009] from a JdbcPooledConnection
from datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0
wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.421 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager -
resource a JdbcPooledConnection from datasource java/jbpmdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 cleaned up all
transaction states for GTRID [737072696E672D62746D000001318F44F29600000007]
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAResourceHolder -
removing XAResourceHolderState of xid a Bitronix XID
[737072696E672D62746D000001318F44F29600000007 :
737072696E672D62746D000001318F44F2E40000000A] from a JdbcPooledConnection
from datasource java/emdb in state NOT_ACCESSIBLE with usage count 0
wrapping com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.421 [pool-5-thread-2] DEBUG b.tm.internal.XAResourceManager -
resource a JdbcPooledConnection from datasource java/emdb in state
NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 cleaned up all
transaction states for GTRID [737072696E672D62746D000001318F44F29600000007]
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction - after
completion, 3 synchronization(s) to execute
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
executing synchronization a ClearContextSynchronization for a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=COMMITTED, 0 resource(s) enlisted (started Wed Aug 03 14:51:25 GST
2011) with status=COMMITTED
14:51:26.421 [pool-5-thread-2] DEBUG b.tm.BitronixTransactionManager -
clearing thread context: a ThreadContext with transaction a Bitronix
Transaction with GTRID [737072696E672D62746D000001318F44F29600000007],
status=COMMITTED, 0 resource(s) enlisted (started Wed Aug 03 14:51:25 GST
2011), default timeout 60s
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
executing synchronization a DeferredReleaseSynchronization of a
JdbcPooledConnection from datasource java/jbpmdb in state NOT_ACCESSIBLE
with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497 with
status=COMMITTED
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.DeferredReleaseSynchronization
- DeferredReleaseSynchronization requeuing a JdbcPooledConnection from
datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from
NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource
java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@6937f9
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from
datasource java/jbpmdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from
NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource
java/jbpmdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
requeued JDBC connection of a PoolingDataSource containing an XAPool of
resource java/jbpmdb with 1 connection(s) (1 still available)
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - a
connection's state changed to IN_POOL, notifying a thread eventually waiting
for a connection
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.DeferredReleaseSynchronization
- DeferredReleaseSynchronization requeued a JdbcPooledConnection from
datasource java/jbpmdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@1de7497
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.BitronixTransaction -
executing synchronization a DeferredReleaseSynchronization of a
JdbcPooledConnection from datasource java/emdb in state NOT_ACCESSIBLE with
usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226 with
status=COMMITTED
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.DeferredReleaseSynchronization
- DeferredReleaseSynchronization requeuing a JdbcPooledConnection from
datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changing from
NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource
java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
closing 0 dangling uncached statement(s)
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
clearing warnings of
com.mysql.jdbc.jdbc2.optional.JDBC4ConnectionWrapper@13c2d7f
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from
datasource java/emdb in state NOT_ACCESSIBLE with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.AbstractXAStatefulHolder -
notifying 2 stateChangeEventListener(s) about state changed from
NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource
java/emdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.jdbc.JdbcPooledConnection -
requeued JDBC connection of a PoolingDataSource containing an XAPool of
resource java/emdb with 1 connection(s) (1 still available)
14:51:26.421 [pool-5-thread-2] DEBUG bitronix.tm.resource.common.XAPool - a
connection's state changed to IN_POOL, notifying a thread eventually waiting
for a connection
14:51:26.421 [pool-5-thread-2] DEBUG b.t.r.c.DeferredReleaseSynchronization
- DeferredReleaseSynchronization requeued a JdbcPooledConnection from
datasource java/emdb in state IN_POOL with usage count 0 wrapping
com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@13e6226

This is really driving me nuts.
Any hints would be appreciated.

Regards,
Franklin
--
View this message in context: http://old.nabble.com/javax.persistence.TransactionRequiredException%3A-no-transaction-is-in-progress-tp32184027p32185251.html
Sent from the Bitronix Transaction Manager mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email