jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (Jira)" <j...@apache.org>
Subject [jira] [Updated] (JCR-4579) jackrabbit-data: allow to disable statement pooling through system property
Date Tue, 01 Dec 2020 10:38:00 GMT

     [ https://issues.apache.org/jira/browse/JCR-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Julian Reschke updated JCR-4579:
    Labels: candidate_jcr_2_14  (was: candidate_jcr_2_16)

> jackrabbit-data: allow to disable statement pooling through system property
> ---------------------------------------------------------------------------
>                 Key: JCR-4579
>                 URL: https://issues.apache.org/jira/browse/JCR-4579
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-data
>            Reporter: Claus Köll
>            Assignee: Claus Köll
>            Priority: Major
>              Labels: candidate_jcr_2_14
>             Fix For: 2.22, 2.16.7, 2.21.2, 2.20.2
> We are using a DriverDataSource and in really rare situations we see following exception
> {code:java}
> Closed Statement; nested exception is java.sql.SQLException: Closed Statement {code}
> The DriverDataSource uses the commons-dbcp library to create a BasicDataSource.
> The old commons-dbcp is also using a fairly old version of commons-pool.
> After researching a valid fix can be is to disable the pooling of PreparedStatements.
> As a quick fix i would define a SystemProperty to disable the pooling. We have a really
high load and we see no performance impacts.
> As a future fix we can update to a actual dbcp2 version.

This message was sent by Atlassian Jira

View raw message