[jboss-jira] [JBoss JIRA] Closed: (JBPM-741) JbpmSchedulerThread does not terminate the scheduler/command threads properly

Tom Baeyens (JIRA) jira-events at jboss.com
Wed Oct 11 05:11:41 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBPM-741?page=all ]

Tom Baeyens closed JBPM-741.
----------------------------

    Resolution: Done

> JbpmSchedulerThread does not terminate the scheduler/command threads properly
> -----------------------------------------------------------------------------
>
>                 Key: JBPM-741
>                 URL: http://jira.jboss.com/jira/browse/JBPM-741
>             Project: JBoss jBPM
>          Issue Type: Bug
>          Components: Core Engine
>    Affects Versions: jBPM 3.1.1
>            Reporter: Alejandro Guizar
>             Fix For: jBPM 3.1.3
>
>
> The implementation of SchedulerThread and CommandExecutorThread in 3.1.1 does not provide a mechanism to exit the run() method, allowing the Thread to exit properly and release any resources it is holding.
> This becomes an issue for perm gen in JBoss AS and other containers.
> For SchedulerThread, keepRunning (bool) should be public or provide mutators, so whatever launches the Thread can modify it.
> For CommandExecutorThread, the while(true) in run() should be changed to something like SchedulerThread uses and, of course, provide mutators to the loop control variable.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list