[ https://issues.apache.org/jira/browse/JCR-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659967#action_12659967 ]
Bart van der Schans commented on JCR-1572: ------------------------------------------ Thomas, Could this (almost) trivial patch also be backported to the 1.5 and 1.4 branch? This is quite a nasty bug because it leaves the repository in an error state in which no new documents can be added. Bart > DbDataStore connection does not always reconnect > ------------------------------------------------ > > Key: JCR-1572 > URL: https://issues.apache.org/jira/browse/JCR-1572 > Project: Jackrabbit > Issue Type: Bug > Components: jackrabbit-core > Reporter: Moshe Immerman > Assignee: Thomas Mueller > Fix For: 1.5.0 > > Attachments: jackrabbit-trunk.patch, jackrabbit1.4.patch > > > If a DbDataStore connection is closed due to an error all subsequent > addRecord calls will fail with 'connection has been closed and autoReconnect > == false' > after getRecord is called and the connection is reconnected addRecord will > succeed. > the connection should be validated before setting autoReconnect = false or on > retrieval from the pool. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.