Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Liquibase and derby gives: Error closing derby cleanly

$
0
0
Hi,

I'm trying to set up derby together with maven and and liquibase. I want to create an embedded derby database and a table and it works but then when it's finished i get a database exception that states that derby couldn't be closed cleanly.
This locks the database so no one can connect to it.

Does anyone know anything about this problem?
What can I do to make sure Derby closes cleanly?

Maven version 4.0.0
Liquibase 5.3.5
Derby 10.13.1.1

<build>
    <plugins>
      <plugin>
        <groupId>org.liquibase</groupId>
        <artifactId>liquibase-maven-plugin</artifactId>
        <version>3.5.3</version>
        <configuration>
            <changeLogFile>src/main/resources/release/changelog/changelog.xml</changeLogFile>
            <driver>org.apache.derby.jdbc.EmbeddedDriver</driver>
            <url>jdbc:derby:target/db/test;create=true</url>
            <defaultSchemaName>test</defaultSchemaName>
            <promptOnNonLocalDatabase>false</promptOnNonLocalDatabase>
        </configuration>
        <executions>
            <execution>
                <phase>process-resources</phase>
                <goals>
                    <goal>updateSQL</goal>
                </goals>
            </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  
  <dependencies>
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
    </dependency>
  </dependencies>

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>