org.apache.maven.lifecycle.LifecycleExecutionException: org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:oracle:thin:<user>/<pwd>@//<host>:1521/<DB>) for user '<user>': IO Error: Connection reset

GitHub | subodhchhabra | 2 months ago
  1. 0

    intermittent failure with Maven

    GitHub | 2 months ago | subodhchhabra
    org.apache.maven.lifecycle.LifecycleExecutionException: org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:oracle:thin:<user>/<pwd>@//<host>:1521/<DB>) for user '<user>': IO Error: Connection reset
  2. 0

    Error in connection Pool

    GitHub | 2 years ago | subodhchhabra
    org.apache.maven.lifecycle.LifecycleExecutionException: 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:<SCHEMA>/cps@//<HOST>:1521/<DB>) for user '<SCHEMA>': IO Error: Connection reset
  3. 0

    Connection reset error while starting the weblogic service...

    Oracle Community | 4 years ago | Anand Krishnan
    java.net.SocketException: Connection reset
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Connection reset error while starting the weblogic service...

    Oracle Community | 4 years ago | Anand Krishnan
    java.net.SocketException: Connection reset
  6. 0

    Spring Data MongoDB - java.net.SocketException: Connection reset

    Stack Overflow | 3 years ago | talha06
    com.mongodb.MongoException$Network: Write operation to server dbserver/xxx.xx.xx.xx:27017 failed on database detective

  1. linxiaolong 1 times, last 4 weeks ago
  2. Tahir 11 times, last 1 month ago
  3. serious2monkeys 6 times, last 1 month ago
  4. linxiaolong 1 times, last 4 months ago
  5. regisso 1 times, last 5 months ago
5 more registered users
90 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketException

    Connection reset

    at java.net.SocketOutputStream.socketWrite()
  2. Java RT
    SocketOutputStream.write
    1. java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
    2. java.net.SocketOutputStream.write(SocketOutputStream.java:153)
    2 frames
  3. Oracle jdbc
    OracleDriver.connect
    1. oracle.net.ns.DataPacket.send(DataPacket.java:210)
    2. oracle.net.ns.NetOutputStream.flush(NetOutputStream.java:230)
    3. oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:312)
    4. oracle.net.ns.NetInputStream.read(NetInputStream.java:260)
    5. oracle.net.ns.NetInputStream.read(NetInputStream.java:185)
    6. oracle.net.ns.NetInputStream.read(NetInputStream.java:102)
    7. oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:124)
    8. oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:80)
    9. oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1137)
    10. oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:290)
    11. oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
    12. oracle.jdbc.driver.T4CTTIoauthenticate.doOSESSKEY(T4CTTIoauthenticate.java:404)
    13. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:385)
    14. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:546)
    15. oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:236)
    16. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    17. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
    17 frames
  4. ${project.artifactId}
    Flyway.migrate
    1. org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:409)
    2. org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnection(DriverDataSource.java:370)
    3. org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:50)
    4. org.flywaydb.core.Flyway.execute(Flyway.java:1326)
    5. org.flywaydb.core.Flyway.migrate(Flyway.java:917)
    5 frames
  5. org.flywaydb.maven
    AbstractFlywayMojo.execute
    1. org.flywaydb.maven.MigrateMojo.doExecute(MigrateMojo.java:30)
    2. org.flywaydb.maven.AbstractFlywayMojo.execute(AbstractFlywayMojo.java:539)
    2 frames
  6. Maven Plugin
    DefaultPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
    1 frame
  7. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
    2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
    3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
    4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
    5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
    6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
    7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    8 frames
  8. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    1 frame
  9. org.apache.maven
    CompatibleMain.main
    1. org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    1 frame
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  11. Plexus
    Launcher.main
    1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)
    4 frames