You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Error Message

2017-03-30 16:10:21,670  WARN XmlWebApplicationContext:544 - Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [<CEF EDELIVERY>/domibus/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 ... /domibus/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. ... 

Cause

MySQL JDBC driver (.jar file available on MySQL official web site: ) is missing in the folder <CEF-eDelivery path>/domibus/lib. The version of the JDBC driver has to be mysql-connector-java-5.1.40.jar or higher.


Workaround/Fix

  • Make sure that this mysql-connector-java-X.X.X.jar is present in the <CEF-eDelivery path>/domibus/lib folder 
  • Add MySQL JDBC driver (.jar file available on MySQL official web site) in the folder <CEF-eDelivery path>/domibus/lib

Error rendering macro 'contentbylabel'

parameters should not be empty

  • No labels