Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-35937

Tomcat is not shutting down properly as its trying to prevent memory leaks in Confluence

      we are unable to shutdown tomcat due to some memory leaks in confluence. Kindly see the attached log file.

      We are using OS- Solaris 10, Confluence - 5.6.4 (EAR/WAR distribution), Tomcat 7.0.55 and Oracle 11g.
      Please note: we ensured the oracle driver is placed in the tomcat's lib directory, as most blogs and comments say that the JDBC drivers are the root cause of the memory leak issue.

      Also some suggests to disable the tomcat's "JreMemoryLeakPreventionListener", which exist in the server.xml. However, the solution doesn't clearly explain, what would be the implications if we disable the listener. We haven't tested this solution yet. Could you please point us in right direction to get this issue resolved?

      How to reproduce the issue?
      on a unix environment,
      1) download confluence EAR/WAR distribution
      2) build and deploy the confluence war file on a shared tomcat (version 7). And setup confluence using confluence wizard.
      3) configure to connect to a oracle 11g database.
      4) Restore confluence site (preferably from 4.X.X).
      5) Give it some time and perform some operations in the newly restored confluence site.
      6) Try stopping the server. You should see some memory leak errors. (in Tomcat's Catalina.out log)

            [CONFSERVER-35937] Tomcat is not shutting down properly as its trying to prevent memory leaks in Confluence

              Unassigned Unassigned
              f930690c6460 Dinesh Srinivasan
              Affected customers:
              2 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: