Details
-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
JBoss A-MQ 6.0
-
None
Description
Running an ActiveMQ broker in a Fabric managed env (in its own container) that is configured for JDBC persistence.
If the underlying database is not active while that broker starts up, it correctly raises an appropriate exception.
However after 1-2 retries, the broker gives up trying to connect to the database and never re-attempts again.
As a result the broker never starts up although the underlying db becomes available.
The relevant broker config reads
<ioExceptionHandler> <jDBCIOExceptionHandler stopStartConnectors="true"/> </ioExceptionHandler> <persistenceAdapter> <jdbcPersistenceAdapter dataSource="#mysql-ds" lockKeepAlivePeriod="1000"> <locker> <lease-database-locker lockAcquireSleepInterval="2000"/> </locker> </jdbcPersistenceAdapter> </persistenceAdapter>