[jboss-jira] [JBoss JIRA] (JGRP-541) Thread pools in transport protocols not using daemon threads
Bela Ban (JIRA)
jira-events at lists.jboss.org
Fri May 4 06:55:17 EDT 2012
[ https://issues.jboss.org/browse/JGRP-541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12690386#comment-12690386 ]
Bela Ban commented on JGRP-541:
-------------------------------
Why don't you just stop Infinispan regularly ? We run tons of tests and each test stops the cache it started when done...
If this is not possible, you can replace the default thread factory with a custom one, which creates only daemon threads. Use TP.setThreadFactory(ThreadFactory new_factory) to do so.
> Thread pools in transport protocols not using daemon threads
> ------------------------------------------------------------
>
> Key: JGRP-541
> URL: https://issues.jboss.org/browse/JGRP-541
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 2.5
> Reporter: Paul Ferraro
> Assignee: Bela Ban
> Priority: Minor
> Fix For: 2.5
>
>
> The ThreadFactory used by the ThreadPoolExecutors (for both regular and OOB messages) in org.jgroups.protocols.TP does not create daemon threads. During runtime the JVM will resist exiting unless the channel is explicitly shutdown.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list