A new topic, 'WebLogic deployment error: Cannot read plugin classes from 
protocol zip', has been made on a board you are watching.

You can see it at
http://liquibase.org/forum/index.php?topic=595.new#new

The text of the topic is shown below:

Hi all,

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
            at 
liquibase.servicelocator.ServiceLocator.findClasses(ServiceLocator.java:195)
            at 
liquibase.servicelocator.ServiceLocator.findClasses(ServiceLocator.java:129)
            at 
liquibase.database.DatabaseFactory.<init>(DatabaseFactory.java:17)
            at 
liquibase.database.DatabaseFactory.getInstance(DatabaseFactory.java:32)


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();
    database.setConnection(new JdbcConnection(connection));

Are there any issues with this? I guess I'll find out soon enough when we 
redeploy ;-)

Kind regards

Bob

Unsubscribe to new topics from this board by clicking here: 
http://liquibase.org/forum/index.php?action=notifyboard;board=1.0

Regards,
The LiquiBase Community Forum Team.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Reply via email to