Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4069

ConsoleSessionImpl does not close the session in function close()

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.2
    • 4.0.3
    • karaf
    • None

    Description

      In the class ConsoleSessionImpl does not close the session originated from the class CommandProcessorImpl (from SessionFactoryImpl.create(...)). Resulting from that the CommandProcessorImpl keeps all open sessions in a WeakHashMap which will grow over time too.

      On the other hand the HeadlessSessionImpl does close the session in its close function.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jbonofre Jean-Baptiste Onofré
            martin.krueger Martin Krüger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment