[
https://issues.apache.org/jira/browse/OAK-2986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14585534#comment-14585534
]
Philipp Suter commented on OAK-2986:
------------------------------------
[~reschke]: I only see a tiny difference if I run run_concurrent.sh in oak-run.
The main advantage: testOnBorrow=true. In a production system this should be
set in case the DB was not contacted for some time. Otherwise a stale
connection from the pool might lead to exceptions.
We should put the default configuration in RDBDataSourceFactory as a reminder/
inspiration how it should be configured for a production system.
> RDB: switch to tomcat datasource implementation
> ------------------------------------------------
>
> Key: OAK-2986
> URL: https://issues.apache.org/jira/browse/OAK-2986
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: rdbmk
> Affects Versions: 1.2.2, 1.0.15, 1.3
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Fix For: 1.3.1
>
> Attachments: OAK-2986.diff
>
>
> See <https://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html>.
> In addition, this is the datasource used in Slings datasource service, so
> it's closer to what people will use in practice.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)