[h2] Unique index or primary key violation in cluster failover test

2013-10-31 Thread Tomáš Remeš
I test HTTP session persistence to db using latest WildFly application server (Beta2 - SNAPSHOT, h2 1.3.173). I use this connection url jdbc:h2:file;AUTO_SERVER=true;DB_CLOSE_ON_EXIT=FALSE, because I want database to survive serve shutdown. Occassionally I am facing following exception:

[h2] Unique index or primary key violation in cluster failover test

2013-10-31 Thread Tomáš Remeš
I test http session persistence to db with latest WildFly application server (Beta2-SNAPSHOT, h2 1.3.173). I have two nodes running in my test, where failover is tested and I use this connection url - jdbc:h2:file;AUTO_SERVER=true. I need to use file storing, because of server shutdown