Batch Importer (Bib/Acq) (UXPROD-47)

[LIQUTIL-21] No suitable driver found for jdbc:postgresql Created: 29/Mar/22  Updated: 21/Apr/22  Resolved: 03/Apr/22

Status: Closed
Project: liquibase-util
Components: None
Affects versions: 1.4.1
Fix versions: 1.4.2
Parent: Batch Importer (Bib/Acq)

Type: Bug Priority: P3
Reporter: Julian Ladisch Assignee: Julian Ladisch
Resolution: Done Votes: 0
Labels: data-import, epam-folijet
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Blocks
blocks LIQUTIL-22 Release v1.4.2 (Lotus bugfix) Closed
blocks MODPUBSUB-231 Update dependencies fixing CVE-2022-0... Closed
Defines
defines UXPROD-3262 NFR: Data Import R1 2022 Lotus Techni... Closed
Relates
relates to LIQUTIL-19 Update dependencies fixing CVE-2020-3... Closed
Sprint: Folijet Sprint 136
Story Points: 0
Development Team: Folijet
Release: Lotus (R1 2022) Bug Fix
Epic Link: Batch Importer (Bib/Acq)
RCA Group: Related dependency upgrade

 Description   

RMB no longer ships with org.postgresql:postgresql driver because RMB uses the Vert.x Async PostgreSQL driver.

Liquibase doesn't support the Vert.x driver and fails with this error message:

15:54:34 [] [] [] [] ERROR LiquibaseUtil        Error while initializing schema for the module
java.sql.SQLException: No suitable driver found for jdbc:postgresql://null:null/postgres
        at java.sql.DriverManager.getConnection(Unknown Source) ~[java.sql:?]
        at java.sql.DriverManager.getConnection(Unknown Source) ~[java.sql:?]
        at org.folio.liquibase.SingleConnectionProvider.getConnectionInternal(SingleConnectionProvider.java:65) ~[mod-pubsub-server-fat.jar:?]
        at org.folio.liquibase.SingleConnectionProvider.getConnection(SingleConnectionProvider.java:55) ~[mod-pubsub-server-fat.jar:?]
        at org.folio.liquibase.LiquibaseUtil.initializeSchemaForModule(LiquibaseUtil.java:41) ~[mod-pubsub-server-fat.jar:?]

Therefore folio-liquibase-util needs to ship with the org.postgresql:postgresql driver.



 Comments   
Comment by Ann-Marie Breaux (Inactive) [ 30/Mar/22 ]

Hi Kateryna Senchenko Just found this bug that wasn't assigned to Folijet, but looks like it should have been. Could you review? Does it need to be Lotus Bugfix, or can we push it to Morning Glory?

Comment by Ann-Marie Breaux (Inactive) [ 31/Mar/22 ]

Kateryna Senchenko during planning tomorrow for sprint 137, please decide if this should be added to that sprint and included as a Lotus Bugfix, or pushed out to Morning Glory. Thank you!

Comment by Kateryna Senchenko [ 01/Apr/22 ]

Hi Ann-Marie Breaux, we'll make a Lotus bugfix for this one

Generated at Thu Feb 08 22:13:37 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.