[
https://issues.apache.org/jira/browse/TILES-568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625307#comment-13625307
]
David Graff commented on TILES-568:
-----------------------------------
Thanks for the clarification Nicolas - unfortunately until 3.0 goes GA I can't
really consider it at this time. For the moment though, in production, we are
not using the resource-reloading feature, as advised in the documentation.
> BaseLocaleUrlDefinitionDAO.loadDefinitionsFromURL(URL url) leaks resources
> --------------------------------------------------------------------------
>
> Key: TILES-568
> URL: https://issues.apache.org/jira/browse/TILES-568
> Project: Tiles
> Issue Type: Bug
> Components: tiles-core
> Affects Versions: 2.2.2
> Reporter: David Graff
> Priority: Critical
>
> I discovered a resource leak in the
> BaseLocaleUrlDefinitionDAO.loadDefinitionsFromURL(URL url) method.
> If the URLConnection is opened it must be closed. While this is not evident
> in production modes, when set for refresh options, this will result in an
> increasing number of file-handles left open.
> Please correct this to clean up opened resources.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira