LB on GF3 via ServletListener: table already exists


i’m keep getting the same error when using lb servlet listener on my glassfish 3 server.

It fails at the very first changeSet, stating the table already exists.

But all the changeLogs from the xml are marked “executed” in the databasechangelog table.

I did generateChangeLog -> changeLogSync -> update.

Even if i erase all the tables in db and run the server, lb creates everything as the changelog requests … and then complains about the first changeSet table already existing in the db.


If you do a “select * from databasechangelog” and look at the “filename” column, does that match the way you are referencing the changelog from glassfish? 

The filename and path is part of the unique identifier of the changeSets.