Uploaded image for project: 'Poulpe'
  1. Poulpe
  2. POULPE-260

Unregister JDBC Driver while shutting down

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.15 swallows
    • Fix Version/s: 0.15 swallows
    • Labels:

      Description

      At the moment we have an error in our logs when the app goes down:

      SEVERE: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

      This is a well known Tomcat bug that it doesn't unregisters JDBC driver, but it's possible to overcome this error by unregistering it on our own.
      Suggest next way: to add a listener in web.xml that will do the clean up. But this should be googled for more details.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                ctapobep Stanislav Bashkyrtsev
                Reporter:
                ctapobep Stanislav Bashkyrtsev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4h Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4.75h
                  4.75h

                    Structure Helper Panel