Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1278

Memory Leak with org.apache.openejb.client.RemoteInitialContextFactory.logout()

Attach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment Visibility
    XMLWordPrintableJSON

Details

    Description

      RemoteInitialContextFactory extends JNDIContext and it has an empty logout() method.
      This leads to a possible memory leak. In fact, when using TomcatSecurityService (or any other SecurityService) in conjunction with RemoteInitialContextFactory, a logout invocation is not propagated to the AbstractSecurityService.logout(), so its "identities" Map is never emptied.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            fiadanza Francesco Iadanza

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment