[ 
https://jira.duraspace.org/browse/DS-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Donohue resolved DS-930.
----------------------------

    Resolution: Fixed

> Several DSpace Crosswalks create a new Context and never close it
> -----------------------------------------------------------------
>
>                 Key: DS-930
>                 URL: https://jira.duraspace.org/browse/DS-930
>             Project: DSpace
>          Issue Type: Bug
>          Components: DSpace API
>    Affects Versions: 1.7.0, 1.7.1, 1.7.2
>            Reporter: Tim Donohue
>            Assignee: Tim Donohue
>            Priority: Major
>             Fix For: 1.8.0
>
>         Attachments: crosswalk-context.patch
>
>
> Several DSpace Crosswalk classes (org.dspace.content.crosswalk.*) create new 
> DSpace Contexts and then never close or complete them.  When these crosswalks 
> are utilized, institutions may encounter Database connection/pool errors (as 
> each open Context keeps open a DB connection which is never closed).
> The Crosswalks which accidentally leave Context objects (and DB connections) 
> open include:
> * RoleCrosswalk
> * METSDisseminationCrosswalk
> * XSLTIngestionCrosswalk
> The fix is an easy one. We just need to ensure each 'new Context()' call has 
> a corresponding 'context.complete()'. See attached patch.
> I'll fix this bug on Trunk shortly, so that it is resolved in DSpace 1.8.0.

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

        

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to