James Server
  1. James Server
  2. JAMES-605

DB Access tasks: deprecate mordred, add better defaults for dbcp (document them), remove autoReconnect from sample url

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0-M1
    • Component/s: None
    • Labels:
      None

      Description

      The summary already describe it all:

      1. Deprecate mordred (Add notes about its deprecation and the use of dbcp)
      2. Add better default for dbcp (insert max_idle and max_wait)
      3) Add a link to dbcp options documentation
      4) Remove autoReconnect from the documented jdbc url for mysql (autoReconnect has been deprecated and has known problems if used in combination with dbcp)
      http://www.mail-archive.com/ojb-user@db.apache.org/msg15426.html
      http://lists.mysql.com/java/4928

        Activity

        Hide
        Norman Maurer added a comment -

        We now use only dbcp pool via spring..

        Show
        Norman Maurer added a comment - We now use only dbcp pool via spring..
        Hide
        Stefano Bagnara added a comment -

        the autoReconnect change should be investigated much more. I saw some unexpected error since I removed it but I haven't had time to look in deeper.

        Show
        Stefano Bagnara added a comment - the autoReconnect change should be investigated much more. I saw some unexpected error since I removed it but I haven't had time to look in deeper.
        Hide
        Noel J. Bergman added a comment -

        1) Deprecate, yes. Remove, no. We'll end up removing it when we require changes for transactions, but in the meantime it provides a backup in case of DBCP problems.
        4) Leave for modred, remove for DBCP. Mordred has issues if the driver doesn't do the reconnecting.

        Show
        Noel J. Bergman added a comment - 1) Deprecate, yes. Remove, no. We'll end up removing it when we require changes for transactions, but in the meantime it provides a backup in case of DBCP problems. 4) Leave for modred, remove for DBCP. Mordred has issues if the driver doesn't do the reconnecting.

          People

          • Assignee:
            Norman Maurer
            Reporter:
            Stefano Bagnara
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development