Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
I just installed a new instance of Talend Data Fabric with default option. I can access the Tomcat instance http://localhost:8081/ but I cant access http://localhost:8081/talendmdm/ (I got a 404 error).
Catalina.log etc doesnt show anything in particular.
Any clues?
I was able to fix it myself.
The error in localhost file was :
10-Nov-2017 02:07:57.698 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart 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 'defaultXmlServer' defined in URL [jar:file:/C:/Talend/6.4.1/mdm/apache-tomcat/webapps/talendmdm/WEB-INF/lib/org.talend.mdm.core-6.4.1.jar!/META-INF/mdm-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.amalto.core.server.DefaultXmlServer]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1093) ...
And I was able to fix it by adding the mysql lib (MDM is supported by MySQL Server) into the right folder:
C:\Talend\6.4.1\mdm\apache-tomcat\webapps\talendmdm\WEB-INF\lib
It would be nice if the installer does that automatically (Same for TAC, only MariaDB lib are currently in those Lib folder).
I was able to fix it myself.
The error in localhost file was :
10-Nov-2017 02:07:57.698 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart 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 'defaultXmlServer' defined in URL [jar:file:/C:/Talend/6.4.1/mdm/apache-tomcat/webapps/talendmdm/WEB-INF/lib/org.talend.mdm.core-6.4.1.jar!/META-INF/mdm-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.amalto.core.server.DefaultXmlServer]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1093) ...
And I was able to fix it by adding the mysql lib (MDM is supported by MySQL Server) into the right folder:
C:\Talend\6.4.1\mdm\apache-tomcat\webapps\talendmdm\WEB-INF\lib
It would be nice if the installer does that automatically (Same for TAC, only MariaDB lib are currently in those Lib folder).
Hello,
Thanks for your feedback and sharing you solution with us.
Best regards
Sabrina