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

Closing a session twice shouldn't write a warning in the log

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2
    • 2.2
    • jackrabbit-core
    • None

    Description

      When closing a session twice the following warning is written to the log file as of JCR-2741:

      "This session has already been closed. See the chained exception for a trace of where the session was closed."

      I think the second "close()" should simply be ignored, without warning.

      Attachments

        1. sessionClose.txt
          1 kB
          Thomas Mueller

        Activity

          People

            thomasm Thomas Mueller
            thomasm Thomas Mueller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: