Hi Brian

I think In case of JMX there is a question if we should be sure that all
uregistration process is finished.
If we switch to daemon threads we  can't guarantee the cleanup of
MBeanServers.
Maybe when when jmx bundle is stopping we should wait until executorservice
finished all submitted
task.

Regards,
Adam

On Sat, Mar 27, 2010 at 4:00 PM, Brian DePradine (JIRA) <[email protected]>wrote:

>
>     [
> https://issues.apache.org/jira/browse/ARIES-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Brian DePradine updated ARIES-271:
> ----------------------------------
>
>    Attachment: patch.txt
>
> Attaching a patch to address this issue. It adds explicit use of
> ThreadFactories in order to change the name and daemon status of created
> threads.
>
> > Ensure that thread pools created in Apache Aries use daemon threads
> > -------------------------------------------------------------------
> >
> >                 Key: ARIES-271
> >                 URL: https://issues.apache.org/jira/browse/ARIES-271
> >             Project: Aries
> >          Issue Type: Bug
> >    Affects Versions: 0.1
> >            Reporter: Brian DePradine
> >         Attachments: patch.txt
> >
> >
> > Ensure that thread pools create daemon threads in order to avoid the
> scenario where the threads in the pool prevent the JVM from exiting.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

Reply via email to