Project

General

Profile

Actions

Task #1013

closed

Application startup fails due to Flyway bug

Added by Alena Peterová about 6 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Release
Target version:
Start date:
03/06/2018
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Affected version: 7.8.3 when updated from 7.8.2

Tomcat server fails to start with the following exception:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayCore' defined in class path resource [eu/bcvsolutions/idm/core/config/flyway/CoreFlywayConfig.class]: 
Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Comparison method violates its general contract!

As Ondra advised, this is probably a bug in Flyway and can be resolved by adding -Djava.util.Arrays.useLegacyMergeSort=true to JAVA_OPTS.
If there is no other solution, please add this information to the release notes for 7.8.3 and to the guide for installation CzechIdM.


Related issues

Related to IdStory Identity Manager - Task #2167: Remove "useLegacyMergeSort=true" from Tomcat unit configurationClosedLuděk Urban03/31/2020

Actions
Actions

Also available in: Atom PDF