Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-19202

Spring creates wrong JDBC URL syntax for postgresql on RH Fuse on karaf

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • None
    • fuse-7.11-GA
    • Fuse Standalone
    • None
    • False
    • None
    • False
    • % %
    • Todo
    • Hide
      Show
      1. clone https://gitlab.cee.redhat.com/jboss-fuse-qe/jenkins-jobs (master) 2. cp src/main/resources/env.properties_template src/main/resources/env.properties 3. update env. properties to something like this env.properties 4. clone https://gitlab.cee.redhat.com/jboss-fuse-qe/jbossqe-camel-it.git project to 'workspace' defined in env.properties 5. run mvn clean install exec:java -Dexec.arguments=database-camel-karaf -DuseAlias -Dconfig=jobs -Djob.db=postgres125 if you want to test against postgres125, all options you can find in /src/main/resources/databases.yaml

    Description

      trying to obtain JDBC connection for PostgreSQL fails with an error

      org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: No suitable driver found for jdbc:postgresql:... 
      

      error in test

       

      Some background:

      • the problem was found while testing build 7.11.0 AR11 on karaf see testing results (i.e problem not observed on the previous build)
      • the problem occurs only on karaf (EAP + SB2 are OK).
      • installation of the driver on karaf looks OK.
      • other DBs are OK.  

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            sveres@redhat.com Stefan Veres
            Stefan Veres Stefan Veres
            Federico Mariani, Grzegorz Grzybek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: