I enabled hibernate trace and see the following, it looks like some state is not getting
clear and it thinks that the connection thread is already in running state. Could someone
help?
Here is the additional info in addition to the stack trace that I earlier posted
| Caused by: org.jboss.util.NestedSQLException: Could not enlist in transaction on
entering meta-aware object!; - nested throwable: (java.lang.IllegalStateException: Trying
to change transaction TransactionImple < ac, BasicAction: a0a5174:985a:493439f5:4c5a0
status: ActionStatus.RUNNING > in enlist!); - nested throwable:
(org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering
meta-aware object!; - nested throwable: (java.lang.IllegalStateException: Trying to change
transaction TransactionImple < ac, BasicAction: a0a5174:985a:493439f5:4c5a0 status:
ActionStatus.RUNNING > in enlist!))
| at
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
| at
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47)
| at
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
| ... 49 more
| Caused by: org.jboss.resource.JBossResourceException: Could not enlist in transaction
on entering meta-aware object!; - nested throwable: (java.lang.IllegalStateException:
Trying to change transaction TransactionImple < ac, BasicAction:
a0a5174:985a:493439f5:4c5a0 status: ActionStatus.RUNNING > in enlist!)
| at
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:343)
| at
org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:518)
| at
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:399)
| at
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
| at
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
| ... 51 more
| Caused by: java.lang.IllegalStateException: Trying to change transaction
TransactionImple < ac, BasicAction: a0a5174:985a:493439f5:4c5a0 status:
ActionStatus.RUNNING > in enlist!
| at
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:525)
| at
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:337)
| ... 55 more
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193576#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...