Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-4010

startup failure when using datasource having no driverClassName in config.xml

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6 (Comenius)
    • Fix Version/s: 3.6 (Comenius)
    • Component/s: Repository
    • Labels:
      None
    • Git Revision:
      git: v3.6devel-1635-g3349e19

      Description

      Startup fails when repostiory is a datasource

      This seems to be caused by
      com.evolveum.midpoint.repo.sql.helpers.isOracle()
      which returns baseHelper.getConfiguration().isUsingOracle();
      which returns "oracle.jdbc.OracleDriver".equals(this.driverClassName)

      Workaround:
      add <driverClassName>oracle.jdbc.OracleDriver</driverClassName>
      to /configuration/midpoint/repository in config.xml

      Solutions could be:

      • ask for hibernateDialect instead of driverClassName
      • make driverClassName required in config.xml

        Attachments

          Activity

            People

            Assignee:
            michael Michael
            Reporter:
            michael Michael
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: