Error Message
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [file:////home/edelivery/domibusf1/conf/domibus/domibus-datasources.xml]: Cannot resolve reference to bean 'domibusJDBC-XADataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'domibusJDBC-XADataSource' defined in URL [file:////home/edelivery/domibusf1/conf/domibus/domibus-datasources.xml]: Invocation of init method failed; nested exception is com.atomikos.jdbc.AtomikosSQLException: The class 'com.mysql.jdbc.jdbc2.optional.MysqlXADataSource' specified by property 'xaDataSourceClassName' could not be found in the classpath. Please make sure the spelling is correct, and that the required jar(s) are in the classpath.
Cause
MySQL connector is missing in domibus/lib folder.
Workaround/Fix
Add MySQL connector in domibus/lib folder.