Description of problem: With a setting for the RA connection factory like following: <pooled-connection-factory name="notif-hornetq-ra"> <transaction mode="xa"/> <max-pool-size>80</max-pool-size> <connectors> <connector-ref connector-name="in-vm"/> </connectors> <entries> <entry name="java:/NotificationXAConnectionFactory"/> </entries> <connection-ttl>-1</connection-ttl> <reconnect-attempts>-1</reconnect-attempts> <use-global-pools>false</use-global-pools> <scheduled-thread-pool-max-size>15</scheduled-thread-pool-max-size> <thread-pool-max-size>50</thread-pool-max-size> </pooled-connection-factory> For the same test, the number of threads increased more than 10x between hornetQ 2.3.25.SP8 and hornetQ 2.3.25.SP6 $ grep -r "HornetQ-client-factory-threads" threaddump_JBoss_6.2.4.txt | wc -l 150 $ grep -r "HornetQ-client-factory-threads" threaddump_JBoss_6.4.15.txt | wc -l 2226 it is possible that the global thread pool is shared between the multiple CF created. Customer thread dumps attached Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: Actual results: Expected results: Additional info:
Created attachment 1297771 [details] thread dump of 6.2
Created attachment 1297772 [details] thread dump of 6.4