First off this is really great open source project. Many thanks to the authors.
I’ve integrated the Liquibase ServletListener into our development environment which works fine on Tomcat, but fails when deployed on Weblogic 10.
Below is the relevant stackTrace:
liquibase.exception.UnexpectedLiquibaseException: Cannot read plugin classes from protocol zip
I’ve noticed a similar post couple of days ago for JBoss 5. I think WebLogic also has a funky abstraction of the file system.
For our needs we only target SQL Server so I wonder if I could work around the issue as follows:
- Copy LiquibaseServletListener into our project
- Change the Database lookup logic as follows:
// Database database = DatabaseFactory.getInstance().findCorrectDatabaseImplementation(new JdbcConnection(connection));
MSSQLDatabase database = new MSSQLDatabase();
Are there any issues with this? I guess I’ll find out soon enough when we redeploy