Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54587

Upon restart, MySql driver not registered

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Nov 12, 2018 3:57:13 PM WARNING org.jenkinsci.plugins.pipeline.maven.GlobalPipelineMavenConfig getDao
      Exception creating database dao, skip
      java.sql.SQLException: No suitable driver
      	at java.sql.DriverManager.getDriver(DriverManager.java:315)
      	at com.zaxxer.hikari.util.DriverDataSource.<init>(DriverDataSource.java:103)
      Caused: java.lang.RuntimeException: Failed to get driver instance for jdbcUrl=jdbc:mysql://alliances.ca3tifbqfpuf.us-east-1.rds.amazonaws.com/jenkins
      	at com.zaxxer.hikari.util.DriverDataSource.<init>(DriverDataSource.java:110)
      	at com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:334)
      	at com.zaxxer.hikari.pool.PoolBase.<init>(PoolBase.java:109)
      	at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:108)
      	at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:81)
      	at org.jenkinsci.plugins.pipeline.maven.GlobalPipelineMavenConfig.getDao(GlobalPipelineMavenConfig.java:246)
      	at org.jenkinsci.plugins.pipeline.maven.listeners.DatabaseSyncRunListener.onCompleted(DatabaseSyncRunListener.java:56)
      	at org.jenkinsci.plugins.pipeline.maven.listeners.DatabaseSyncRunListener.onCompleted(DatabaseSyncRunListener.java:17)
      	at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:211)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.finish(WorkflowRun.java:807)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:336)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
      

        Attachments

          Activity

          Show
          cleclerc Cyrille Le Clerc added a comment - Fixed in https://github.com/jenkinsci/pipeline-maven-plugin/releases/tag/pipeline-maven-3.6.0-beta-2

            People

            Assignee:
            cleclerc Cyrille Le Clerc
            Reporter:
            cleclerc Cyrille Le Clerc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: