[
http://jira.nuxeo.org/browse/NXP-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32467#action_32467
]
Florent Guillaume commented on NXP-1991:
----------------------------------------
Due to the fact that we used a hack, a non-pool-managed connection is used by
Jena (because Jena needs to commit() on it), and it appears it is never closed
(and we cannot close it because the pool needs it). Because of this transient
Jena prepared statements are never freed, therefore a leak.
A fix is to pass Jena a normal pooled connection but wrap it in a wrapper that
ignores commit() and setAutoCommit().
> Jena leaks Oracle cursors
> -------------------------
>
> Key: NXP-1991
> URL: http://jira.nuxeo.org/browse/NXP-1991
> Project: Nuxeo Enterprise Platform 5
> Issue Type: Bug
> Components: Relation Engine
> Affects Versions: 5.1.2
> Reporter: Florent Guillaume
> Assignee: Florent Guillaume
> Priority: Critical
>
> When used with an Oracle datasource, the relation engine leaks cursors and
> after a few relation creations the maximum number of open cursors is reached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets