We had the problem before that reconnects to the Axon server failed if the Axon server was restarted. This seems to be solved with axon framework 4.3.2.
Now we had a reconnect problem with the database itself. Our mysql database was down for a couple of minutes on prod and on qa it was down for 4 hours.
The following error can be seen when you go to the tracking processors:
Processor in error state: org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is org.hibernate.TransactionException: JDBC begin transaction failed:
Restarting the tracking processors in the deshboard make the system working again. We are using the standard version and there it does not happen automatically.
- Is there a configuration to fix this behavior - like that there is a endless retry? It does not help e.g. if after 10 retries it is marked as failed.
- Is the Enterprise version monitoring this and restarting the tracking processors automatically?