TxCleanupService* thread created for each cacheable Hibernate entity in EAP 6
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6
- 7
- Hibernate
- Infinispan
- 5
- 8
Issue
Thread dumps show that for each entity marked @Cacheable, there is created a thread with a name like the following
TxCleanupService,<enterprise_application_archive>/<war_file>#<persistence_unit_name>.<package>.<entity_name>,local
Resolution
This is expected behavior but the behavior has been altered (reducing thread counts) in:
- EAP 6.4 cumulative patch 13 (and later) as part if the work for This content is not included.BZ-1378875
- EAP 7.0 cumulative patch 5 (and later) as part of the work for Content from issues.jboss.org is not included.JBEAP-7655
Components
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.