Actions
Defect #2973
closedMonitoring: monitoring is initialized before flyway migrations (application doesn't start)
Start date:
10/06/2021
Due date:
% Done:
100%
Estimated time:
Description
Monitoring can be initialized before flyway scripts are applied and application start ends with exception:
czechidm | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'monitoringManager': Invocation of init method failed; nested exception is org.springframework.dao.InvalidDataAccessResourceUsageException: could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet ... czechidm | Caused by: org.hibernate.exception.SQLGrammarException: could not extract ResultSet czechidm | at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:106) czechidm | at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42) ... czechidm | Caused by: org.postgresql.util.PSQLException: ERROR: relation "idm_monitoring" does not exist czechidm | Position: 943 czechidm | at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2578)
Actions