Issue: Upgrading to Deploy 22.0.0 fails with Derby driver errors

Issue

Caused by: java.lang.RuntimeException: Failed to load driver class org.apache.derby.jdbc.AutoloadedDriver in either of HikariConfig class loader or Thread context classloader

Affected Products & Versions

Noticed while upgrading to the version 22.0.0 version from 10.2.x, 10.3.x

Cause

We upgraded the Derby libraries to the latest version; you need to change the driver class name while upgrading.

Workaround/Resolution Action

Use the driver org.apache.derby.iapi.jdbc.AutoloadedDriver instead of org.apache.derby.jdbc.AutoloadedDriver.

Considerations

https://docs.xebialabs.com/v.22.0/deploy/how-to/configure-the-xl-deploy-sql-repository/#configuration-keys-available

Important

Derby is not recommended for production use. If you wish to use Derby in production we strongly advise you to reconsider.

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.