NestedSQLException: Transaction is not active
843859Jan 28 2010 — edited Jan 29 2010I am getting the below exception when call the getConnection method. Can you suggest how to resolve the same?
[org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.Syst emMessage#findCurrentForUserByType]
Find failed
org.jboss.util.NestedSQLException: Transaction is not active:
tx=TransactionImpl:XidImpl[FormatId=257,
GlobalId=demo.scheduleexpress.com/9552, BranchQual=, localId=9552]; -
nested throwable: (javax.resource.ResourceException: Transaction is not
active: tx=TransactionImpl:XidImpl[FormatId=257,
GlobalId=demo.scheduleexpress.com/9552, BranchQual=, localId=9552])
at
org.jboss.resource.adapter.jdbc.WrapperDataSource. getConnection(WrapperDataSource.java:79)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCo mmand.execute(JDBCAbstractQueryCommand.java:210)