Forum Stats

  • 3,768,738 Users
  • 2,252,843 Discussions
  • 7,874,704 Comments

Discussions

[JBossManagedConnectionPool] Exception destroying ManagedConnection

527078
527078 Member Posts: 33
edited Jan 17, 2007 4:06AM in Berkeley DB Java Edition
Hi,

I'm working on JE/JCA. When i commit the Transaction i got the following exception.

In JCA Enviornment which transaction should i commit or abort?

17:46:28,155 WARN [JBossManagedConnectionPool] Destroying connection that could not be successfully matched: org.jboss.resource.[email protected]10713e3[state=NORMAL [email protected] handles=0 lastUse=1158236185532 permit=false trackByTx=false mcp=org.jbos[email protected]f09710 context=org[email protected]14db697 xaResource=org.jboss[email protected]10e838f txSync=null]
17:46:28,245 WARN [JBossManagedConnectionPool] Exception destroying ManagedConnection org.jboss.resource.[email protected]10713e3[state=DESTROYED [email protected] handles=0 lastUse=1158236185532 permit=false trackByTx=false mcp=org.jbos[email protected]f09710 context=org[email protected]14db697 xaResource=org.jboss[email protected]10e838f txSync=null]
javax.resource.ResourceException: com.sleepycat.je.DatabaseException: (JE 3.0.12) There is 1 existing transaction opened against the Environment.
Aborting open transactions ...

at com.sleepycat.je.jca.ra.JEManagedConnection.destroy(JEManagedConnection.java:190)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.doDestroy(InternalManagedConnectionPool.java:570)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:207)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:454)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:379)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:812)
at com.sleepycat.je.jca.ra.JEConnectionFactoryImpl.getConnection(JEConnectionFactoryImpl.java:56)
at com.sleepycat.je.jca.ra.JEConnectionFactoryImpl.getConnection(JEConnectionFactoryImpl.java:43)
at com.tka.util.BerkelyDBUtil.getConnection(BerkelyDBUtil.java:203)
at com.tka.command.admin.BuildLuceneIndexCommand.executeRequest(BuildLuceneIndexCommand.java:106)
at com.tka.command.BaseCommand.execute(BaseCommand.java:82)
at com.tka.services.lucene.IndexControllerEJB.processRequest(IndexControllerEJB.java:102)


Thanks for any help.

reddy

Message was edited by:
user524075

Comments

This discussion has been closed.