Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6863

Load JDBC drivers when creating tenant on PostgreSQL or mySQL

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Invalid
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.01
    • Component/s: framework
    • Labels:
      None

      Description

      It's only a matter of calling respectively ant targets download-PG-JDBC and download-mySQL-JDBC when chaining create-tenant-on-MySQL or create-tenant-on-PostgreSQL from create-tenant main target

        Activity

        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Done at revision: 1727643

        Show
        jacques.le.roux Jacques Le Roux added a comment - Done at revision: 1727643
        Hide
        pfm.smits Pierre Smits added a comment - - edited

        This is opening up a potential risk in the way that when establishing a new tenant the integrated download task could be downloading a different driver than has been done for older tenants. Resulting in having multiple drivers accessible by the classloader and unexpected results...

        Show
        pfm.smits Pierre Smits added a comment - - edited This is opening up a potential risk in the way that when establishing a new tenant the integrated download task could be downloading a different driver than has been done for older tenants. Resulting in having multiple drivers accessible by the classloader and unexpected results...
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        You are right Pierre,

        Reverted at revision: 1727708

        Show
        jacques.le.roux Jacques Le Roux added a comment - You are right Pierre, Reverted at revision: 1727708

          People

          • Assignee:
            jacques.le.roux Jacques Le Roux
            Reporter:
            jacques.le.roux Jacques Le Roux
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development