Skip to content

Memory leak using TransactionDelegate and transaction.commit() [SPR-6991] #11656

@spring-projects-issues

Description

@spring-projects-issues

Christophe Rodriguez opened SPR-6991 and commented

When calling transaction.commit/rollback instead of transactionManager.commit/rollback in the class TransactionDelegate.endTransaction the TransactionManager doesn't unassociate the transaction.

The list of associatedTransactions in org.apache.geronimo.transaction.manager.TransactionManagerImpl keeps de reference of the transaction indefinitely.

Beans:
<jms:jca-listener-container />
org.apache.activemq.ra.ActiveMQResourceAdapter
org.jencks.factory.TransactionManagerFactoryBean


Affects: 2.5.6

Referenced from: commits 4e7752c

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions