tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TOMEE-1832) dbcp2 datasource lock contention on createDataSource + illogical locking
Date Tue, 07 Jun 2016 15:19:20 GMT

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

Romain Manni-Bucau resolved TOMEE-1832.
---------------------------------------
    Resolution: Fixed

> dbcp2 datasource lock contention on createDataSource + illogical locking
> ------------------------------------------------------------------------
>
>                 Key: TOMEE-1832
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1832
>             Project: TomEE
>          Issue Type: Bug
>            Reporter: Romain Manni-Bucau
>            Assignee: Romain Manni-Bucau
>             Fix For: 7.0.1
>
>
> We extend dbcp(2) datasource to add some custom features like password ciphering etc...
> We need to ensure locking is consistent (ie we dont use our own locking when parent uses
synchronized) + createDataSource should absolutely avoid locking as much as possible at runtime
(as its parent)
> Side note: normally it is not a high requirement to synchronize getters/setters (parent
doesnt) but worse case it doesn't hurt there if we want to do runtime modification later



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message