Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-7876 Hippo Console Improvements
  3. CMS-10426

Console permissions dialog must close jcr session

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • 4.0.1
    • None
    • None
    • None

    Description

      In org.hippoecm.frontend.plugins.console.menu.permissions.PermissionsDialog#PermissionsDialog a new JCR session is created but not closed. This leads to stacktraces like:

      [INFO] [talledLocalContainer] 02.09.2016 15:19:38 WARN Finalizer [SessionImpl.finalize:1332] Unclosed session detected. The session was opened here:
      [INFO] [talledLocalContainer] java.lang.Exception: Stack Trace
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.SessionImpl.<init>(SessionImpl.java:226)
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.SessionImpl.<init>(SessionImpl.java:243)
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.XASessionImpl.<init>(XASessionImpl.java:106)
      [INFO] [talledLocalContainer] at org.hippoecm.repository.jackrabbit.XASessionImpl.<init>(XASessionImpl.java:67)
      [INFO] [talledLocalContainer] at org.hippoecm.repository.jackrabbit.RepositoryImpl.createSessionInstance(RepositoryImpl.java:216)
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.RepositoryImpl.createSession(RepositoryImpl.java:995)
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1540)
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.SessionImpl.impersonate(SessionImpl.java:744)
      [INFO] [talledLocalContainer] at org.hippoecm.repository.impl.SessionDecorator.impersonate(SessionDecorator.java:154)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.console.menu.permissions.PermissionsDialog.<init>(PermissionsDialog.java:99)

      Attachments

        Issue Links

          Activity

            People

              bleunis Bert Leunis (Inactive)
              bleunis Bert Leunis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: