Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3503

ConnectionHelper should not call isBatchMode() more times inside a Method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.3, 2.5.3
    • 2.6
    • jackrabbit-core
    • None

    Description

      On heavy load in xa environment its possible that calling isBatchMode inside a Method returns different values.
      This is not good because depending on this method a connection will be closed or not in finally block.
      This can cause exceptions that a statment is created and while using it the underlying connection is closed.

      Attachments

        1. JCR-3503.patch
          4 kB
          Claus Köll

        Activity

          People

            c_koell Claus Köll
            c_koell Claus Köll
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: