New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in connection Pool #976
Comments
The error is either with your connection pool configuration or you DB (max allowed connection?). Flyway doesn't do anything special here. |
I have verified DB, it looks good. issue is reproduce-able if you run 2 projects on same machine at same time and target DB's are different. I am invoking maven through a shell script. also how do I define connection pool configuration ? |
Please post a small github repository to reproduce the issue. |
Here is sample error for you to look , again to reiterate - we are running 2 instances of flyway ( both for different target DB's) at same time through mvn like -window1 mvn clean compile flyway:migratewindow 2 mvn clean compile flyway:migrate[ERROR] Failed to execute goal org.flywaydb:flyway-maven-plugin:3.1:migrate (default-cli) on project AutomatedDBDeploy: org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:oracle:thin:/cps@//:1521/) for user '': IO Error: Connection reset -> [Help 1] |
always get following error, if I try to execute multiple migrations in parallel ( to different target Oracle DB's)
Failed to execute goal org.flywaydb:flyway-maven-plugin:3.1:migrate (default-cli) on project AutomatedDBDeploy: org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource. to recreate run 2 Different projects at same time
The text was updated successfully, but these errors were encountered: