[ https://issues.apache.org/jira/browse/JCR-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594451#action_12594451 ]
[EMAIL PROTECTED] edited comment on JCR-1572 at 5/5/08 8:14 PM: ------------------------------------------------------------- a MySQL max_packet_size error. I agree it shouldn't retry forever, but a addRecord operation should not fail only because the previous addRecord failed. I believe an option to execute a simple query before returning a connection from the pool should be sufficient. was (Author: [EMAIL PROTECTED]): a MySQL max_packet_size error. I agree it shouldn't retry forever, but a addRecord operation should not fail only because the previous addRecord failed. I believe executing a simple query before returning a connection from the pool should be sufficient. > 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 > > 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.