[jboss-jira] [JBoss JIRA] Created: (JBPM-786) Leaking database connections due to context not closing on some pages

David Lloyd (JIRA) jira-events at jboss.com
Mon Nov 20 22:17:41 EST 2006


Leaking database connections due to context not closing on some pages
---------------------------------------------------------------------

                 Key: JBPM-786
                 URL: http://jira.jboss.com/jira/browse/JBPM-786
             Project: JBoss jBPM
          Issue Type: Bug
          Components: Training
    Affects Versions: jBPM 3.2 alpha 1
            Reporter: David Lloyd
         Assigned To: David Lloyd
             Fix For: jBPM 3.2 alpha 2


The current phase listener closes the context after the render response (6) phase.  However sometimes the response is complete before this phase is arrived at, so close will never be called.

The fix is to check the "response complete" flag in the JSF FacesContext in the afterPhase method.

-- 
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