Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

NestedSQLException: Transaction is not active

843859Jan 28 2010 — edited Jan 29 2010
I 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)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 26 2010
Added on Jan 28 2010
1 comment
322 views