Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-250

Tomcat doesn't stop when using Aurora failover configuration

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.3.4, 1.3.5, 1.3.6, 1.3.7
    • 1.4.0
    • Failover
    • None
    • JDK1.8.0_66, Tomcat 8.0.26, Amazon Linux

    Description

      My web application is running on Tomcat8.
      And it used Amazon Aurora with MariaDB Connector/J failover setting (jdbc:mysql:aurora//...).

      Tomcat is now not shut down since I updated MariaDB Connector/J to 1.3.4
      Please see the attachment.
      It seems the failover additional threads are not shut down.

      I think it is following changes effects.
      https://github.com/MariaDB/mariadb-connector-j/pull/60/files
      Calling ExecutorService#shutdown has removed.

      Attachments

        Activity

          diego dupin Diego Dupin added a comment -

          Thanks for reporting it.

          The problem is that additionnal threads are not immediatly shutdown when the last connection close.
          That will be handle soon.

          diego dupin Diego Dupin added a comment - Thanks for reporting it. The problem is that additionnal threads are not immediatly shutdown when the last connection close. That will be handle soon.
          yasuyuki.baba Yasuyuki Baba added a comment -

          Will the connection validation thread be shutdown automatically?
          It looks to do not shutdown in my environment.

          yasuyuki.baba Yasuyuki Baba added a comment - Will the connection validation thread be shutdown automatically? It looks to do not shutdown in my environment.
          diego dupin Diego Dupin added a comment -

          Thanks to jentoo with the PR https://github.com/MariaDB/mariadb-connector-j/pull/77 that correct 2 issues including this one.

          diego dupin Diego Dupin added a comment - Thanks to jentoo with the PR https://github.com/MariaDB/mariadb-connector-j/pull/77 that correct 2 issues including this one.
          yasuyuki.baba Yasuyuki Baba added a comment -

          Great!
          Thanks.

          yasuyuki.baba Yasuyuki Baba added a comment - Great! Thanks.

          People

            diego dupin Diego Dupin
            yasuyuki.baba Yasuyuki Baba
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.