Error while closing connection: Duplicate entry '?????' for key 'PRIMARY'

2012-09-08 Thread ericklip
Hi i am using activemq 5.6.0 on amazon EC2, i used activemq jdbc master slave High-availability configuration, aws rds mysql server is the persistence store. aws rds supports auto-failover, if one mysql is died, it will auto-failover to another mysql in few minutes. when failover happens,

activemq 5.7.0 lease-database-locker lockAcquireSleepInterval is fixed on 5000ms

2012-11-13 Thread ericklip
i tried to configure lease-database-locker with a longer lockAcquireSleepInterval, but it always stays on 5000ms (default value) i tried following 2 ways, neither one works.