jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: Questions to jackrabbit database connection handling
Date Thu, 19 May 2011 16:15:30 GMT
Hi,

On Thu, May 19, 2011 at 12:07 PM, Thomas Fromm <tf@inubit.com> wrote:
> Am 18.05.2011 14:11, schrieb Jukka Zitting:
>> Support for database connection pooling was only added in Jackrabbit
>> 2.0. See https://issues.apache.org/jira/browse/JCR-1456 for the
>> details.
>
> ic. The configured db-connections for the different areas, are they all
> opened at repository startup and then tried kept open?
> Or is there a new connection created when nessesary (e.g. a new one created
> to the data store, when a node is stored and when finished then closed)?

The implementation uses Commons DBCP for the pooling logic. New
connections are created when needed, and kept alive for reuse later
on. See http://wiki.apache.org/jackrabbit/ConnectionPooling for the
relevant configuration details.

BR,

Jukka Zitting

Mime
View raw message