jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martijn Hendriks (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-940) add db connection autoConnect for BundleDbPersistenceManager.
Date Fri, 21 Sep 2007 08:05:50 GMT

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

Martijn Hendriks updated JCR-940:
---------------------------------

    Attachment: JCR-940-2nd.patch

Here's a cumulative patch that wraps the ConnectionRecoveryManager.execute* methods and the
BundleDbPM.store method in a retry loop.

I tested this using the unit tests with a remote MSSQL database. The blockOnConnectionLoss=true
option now seems to work as expected: all tests still pass when the network cable is unplugged
one or more times during the tests.

> add db connection autoConnect for BundleDbPersistenceManager.
> -------------------------------------------------------------
>
>                 Key: JCR-940
>                 URL: https://issues.apache.org/jira/browse/JCR-940
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-core
>    Affects Versions: 1.3
>            Reporter: Xiaohua Lu
>         Attachments: JCR-940-2nd.patch, JCR-940-v2.patch, JCR-940-v3.patch, JCR-940.patch
>
>
> Since bundled db pm doesn't inherited from database pm, it can't reconnect once database
is bounced. it would be nice to add this feature. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message