The OP was asking:

> At the moment we guess that there is exactly one connection (JCR -
> MySQL)
> per Repository. Is that correct, or is there a connection pool that
> JCR is
> using? 
--David

Grégory Joseph wrote:
>
> Exactly - just like when you configure a regular connection in the PM.
> Was there any reason we started mentioning connection pools here ? :D
>
> -g
>
> On Dec 16, 2008, at 7:09 PM, David Smith wrote:
>
>>
>> But last I looked at the 1.4 source, it grabbed a connection from JNDI
>> and kept it for the life of the webapp.
>>
>> --David
>>
>> Grégory Joseph wrote:
>>>
>>> The default PMs of jackrabbit now support JNDI DS by default, but that
>>> doesn't necessarily mean using a connection pool there would be a good
>>> idea or even work.
>>>
>>> -g
>>>
>>> On Dec 16, 2008, at 4:47 PM, David Smith wrote:
>>>
>>>>
>>>>
>>>>
>>>> rainer wrote:
>>>>> Hi list,
>>>>>
>>>>> right now we are doing some research on how many database
>>>>> connections (MySQL
>>>>> in our case) magnolia is using..
>>>>>
>>>>> At the moment we guess that there is exactly one connection (JCR -
>>>>> MySQL)
>>>>> per Repository. Is that correct, or is there a connection pool that
>>>>> JCR is
>>>>> using?
>>>>>
>>>> The default persistence manager uses one connection per
>>>> repository.  If
>>>> the connection dies, it reconnects and retries the last operation.
>>>> There is at least one implementation of the persistence manager that
>>>> uses a JNDI datasource pool, borrowing and returning connections as
>>>> needed, but it's a third party development -- not a part of the
>>>> Jackrabbit source.
>>>>
>>>>> Where are those connections / connection pools configured? (lifetime
>>>>> etc.)
>>>>>
>>>>>
>>>> Take a look at the persistence manager classes in the Jackrabbit
>>>> source.
>>>>
>>>>> thx a lot
>>>>>
>>>>> regards
>>>>> rainer
>>>>>
>>>>>
>>>>>
>>>>>
>>>> --David
>>>>
>>>> ----------------------------------------------------------------
>>>> For list details see
>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>> To unsubscribe, E-mail to: <[email protected]>
>>>> ----------------------------------------------------------------
>>>
>>>
>>> ----------------------------------------------------------------
>>> For list details see
>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>> To unsubscribe, E-mail to: <[email protected]>
>>> ----------------------------------------------------------------
>>>
>>
>>
>> -- 
>> David Smith
>> Programmer/Analyst
>> College of Agriculture and Life Sciences
>> Cornell University
>> B32 Morrison Hall
>> Ithaca, NY 14853
>> Phone: (607) 255-4521
>>
>>
>> ----------------------------------------------------------------
>> For list details see
>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>> To unsubscribe, E-mail to: <[email protected]>
>> ----------------------------------------------------------------
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>


-- 
David Smith
Programmer/Analyst
College of Agriculture and Life Sciences
Cornell University
B32 Morrison Hall
Ithaca, NY 14853
Phone: (607) 255-4521


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to