liquibase launch on Openshift

  • There's a web application that needs to be sealed on Openshift. The project is going to gradle, building.gradle has created a target for liquibase launch. In a local car, all tasks are correctly designed and the server is launched tomcat. In an attempt to launch a gradle liquibase, the log is issued

    :restservice:liquibaseUpdateUnexpected error running Liquibase:
    liquibase.exception.DatabaseException: Connection could not be created to
    with driver org.postgresql.Driver.  Possibly the wrong driver for the given database URL

    The project uses such dependence


    Starting the target :restservice:liquibaseUpdate comes from action_hook deploy.

    Used postgresql versions from 9.2 to 9.4 in combination with liquibase 3.4.1 and 3.4.2. Openshift postgresql 9.2. Also tried the method from:

    How do you get to work?

  • You know what a mistake is that the tower doesn't replace the variables. Does everything work if in the violin of the deck the characteristics of the OBD connection through Systev.getenv('some_property')

Suggested Topics