You are not logged in.

Unanswered posts



Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at https://community.talend.com/. We look forward to hearing from you there!



#1 2016-10-26 09:37:00

Martin Fabry
Guest

Martin Fabry said:

Could not start MDM server

Hello,
I was courious about your MDM solution and I downloaded latest TOS MDM to try it.
I managed to succesfully install TOS MDM Server ( version TOS_MDM-Server-20160704_1411-V6.2.1) on port 8380 with integrated H2 database. But when I try to run the server using apache-tomcat/bin/startup.bat application ends with following exception.
My OS is Windows 10 with Java 1.8.0_101.

10:13:36,971 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultXmlServer' defined in URL [jar:file:/C:/Users/Martin%20Fßbry/servers/TOSMDM/apache-tomcat/webapps/talendmdm/WEB-INF/lib/org.talend.mdm.core-6.2.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)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1038)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4728)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5162)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581)
        at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1683)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: 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.BeanUtils.instantiateClass(BeanUtils.java:163)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1086)
        ... 26 more
Caused by: java.lang.ExceptionInInitializerError
        at com.amalto.core.server.DefaultXmlServer.<init>(Unknown Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
        ... 28 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Could not prepare '__SYSTEM'.
        at com.amalto.core.storage.StorageLogger.handlePrepareError(Unknown Source)
        at com.amalto.core.storage.StorageLogger.prepare(Unknown Source)
        at com.amalto.core.server.StorageAdminImpl.internalCreateSystemStorage(Unknown Source)
        at com.amalto.core.server.StorageAdminImpl.create(Unknown Source)
        at com.amalto.core.storage.SystemStorageWrapper.<init>(Unknown Source)
        at com.amalto.core.storage.SQLWrapper.<clinit>(Unknown Source)
        ... 34 more
Caused by: java.lang.RuntimeException: Could not prepare '__SYSTEM'.
        at com.amalto.core.storage.hibernate.HibernateStorage.prepare(Unknown Source)
        at com.amalto.core.storage.SecuredStorage.prepare(Unknown Source)
        at com.amalto.core.storage.CacheStorage.prepare(Unknown Source)
        ... 39 more
Caused by: java.lang.RuntimeException: Exception occurred during dynamic classes creation.
        ... 42 more
Caused by: java.lang.RuntimeException: Error during processing of type 'User'
        at com.amalto.core.storage.hibernate.ClassCreator.visit(Unknown Source)
        at com.amalto.core.storage.hibernate.ClassCreator.visit(Unknown Source)
        at org.talend.mdm.commmon.metadata.ComplexTypeMetadataImpl.accept(Unknown Source)
        at com.amalto.core.storage.hibernate.ClassCreator.visit(Unknown Source)
        at com.amalto.core.storage.hibernate.ClassCreator.visit(Unknown Source)
        at org.talend.mdm.commmon.metadata.MetadataRepository.accept(Unknown Source)
        ... 42 more
Caused by: java.lang.RuntimeException: java.lang.UnsupportedOperationException: No support for field typed as 'YESNO'
        at com.amalto.core.storage.hibernate.ClassCreator.handleFieldMetadata(Unknown Source)
        at com.amalto.core.storage.hibernate.ClassCreator.visit(Unknown Source)
        at com.amalto.core.storage.hibernate.ClassCreator.visit(Unknown Source)
        at org.talend.mdm.commmon.metadata.SimpleTypeFieldMetadata.accept(Unknown Source)
        at org.talend.mdm.commmon.metadata.DefaultMetadataVisitor.visit(Unknown Source)
        ... 48 more
Caused by: java.lang.UnsupportedOperationException: No support for field typed as 'YESNO'
        at com.amalto.core.storage.HibernateMetadataUtils.getJavaType(Unknown Source)
        ... 53 more

Do you have any suggestion how to fix this issue?

Thank you
Best Regards
Martin Fabry

#2 2016-10-27 08:58:06

xdshi
Talend Team


xdshi said:

Re: Could not start MDM server

Hi,
Could you please take a look at this related forum:https://www.talendforge.org/forum/viewt … p?id=53506 to see if this solution is OK with you?
Best regards
Sabrina


What we can do is to make sure that Talend will be your best choice!

Offline

#3 2017-01-11 16:09:08

harivartha
Member
4 posts

harivartha said:

Re: Could not start MDM server

We have the exact same exception.  Using MS SQLServer for database.  And Talend DataFabric 6.2.1  The solution in  does not work.  The exception is exactly the same.  The database TALEND_MDM_SYSTEM has been created.  The exception comes after that.  The database user has admin (sysadmin server role) permissions on the database.  We are using the jtds driver 1.3.1
mdm.log.log

Offline

#4 2017-01-11 16:12:30

harivartha
Member
4 posts

harivartha said:

Re: Could not start MDM server

Log file attached.
mdm.log_20170111-0712.log

Offline

#5 2017-01-11 16:28:16

harivartha
Member
4 posts

harivartha said:

Re: Could not start MDM server

2017-01-11 09:38:16,727 INFO  [net.sf.ehcache.pool.sizeof.AgentLoader] Extracted agent jar to temporary file D:\Talend\6.2.1\mdm\apache-tomcat\temp\ehcache-sizeof-agent477092133637043914.jar
2017-01-11 09:38:16,727 INFO  [net.sf.ehcache.pool.sizeof.AgentLoader] Trying to load agent @ D:\Talend\6.2.1\mdm\apache-tomcat\temp\ehcache-sizeof-agent477092133637043914.jar
2017-01-11 09:38:16,727 INFO  [net.sf.ehcache.pool.impl.DefaultSizeOfEngine] using Agent sizeof engine
2017-01-11 09:38:16,821 INFO  [net.sf.ehcache.pool.impl.DefaultSizeOfEngine] using Agent sizeof engine
2017-01-11 09:38:18,946 INFO  [com.amalto.core.storage.datasource.DataSourceFactory] Reading from datasource file at 'D:\Talend\6.2.1\mdm\conf\datasources.xml'.
2017-01-11 09:38:19,149 WARN  [com.amalto.core.storage.hibernate.HibernateStorage] Storage '__SYSTEM' (SYSTEM) is not configured to support full text queries.
2017-01-11 09:38:19,368 WARN  [com.amalto.core.storage.hibernate.HibernateStorage] Storage '__SYSTEM' (SYSTEM) is not configured to support full text queries.
2017-01-11 09:38:19,415 INFO  [com.amalto.core.storage.hibernate.HibernateStorage] *NOT* cleaning existing database content.
2017-01-11 09:38:19,415 INFO  [com.amalto.core.storage.hibernate.HibernateStorage] Preparing database before schema generation.
2017-01-11 09:38:19,571 INFO  [com.amalto.core.storage.hibernate.HibernateStorage] Database is already prepared.
2017-01-11 09:38:20,024 WARN  [com.amalto.core.storage.hibernate.MappingGenerator] Field 'x_name' is mandatory and a collection. Constraint can not be expressed in database schema.
2017-01-11 09:38:20,024 WARN  [com.amalto.core.storage.hibernate.MappingGenerator] Field 'x_role' is mandatory and a collection. Constraint can not be expressed in database schema.
2017-01-11 09:38:20,024 WARN  [com.amalto.core.storage.hibernate.MappingGenerator] Field 'x_labelxpath' is mandatory and a collection. Constraint can not be expressed in database schema.
2017-01-11 09:38:20,321 INFO  [com.amalto.core.storage.hibernate.HibernateStorage] Closing storage '__SYSTEM' (SYSTEM).
2017-01-11 09:38:20,321 INFO  [com.amalto.core.storage.hibernate.HibernateStorage] Storage '__SYSTEM' (SYSTEM) closed.
2017-01-11 09:38:20,321 ERROR [com.amalto.core.storage.StorageLogger] ##### Error during storage preparation (force = false) #####
java.lang.RuntimeException: Could not prepare '__SYSTEM'.
    at com.amalto.core.storage.hibernate.HibernateStorage.prepare(Unknown Source)
    at com.amalto.core.storage.SecuredStorage.prepare(Unknown Source)
    at com.amalto.core.storage.CacheStorage.prepare(Unknown Source)
    at com.amalto.core.storage.StorageLogger.prepare(Unknown Source)
    at com.amalto.core.server.StorageAdminImpl.internalCreateSystemStorage(Unknown Source)
    at com.amalto.core.server.StorageAdminImpl.create(Unknown Source)
    at com.amalto.core.storage.SystemStorageWrapper.<init>(Unknown Source)
    at com.amalto.core.storage.SQLWrapper.<clinit>(Unknown Source)
    at com.amalto.core.server.DefaultXmlServer.<init>(Unknown Source)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1086)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1038)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
    at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4728)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5162)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581)
    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1683)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.AbstractMethodError
    at net.sourceforge.jtds.jdbc.JtdsConnection.isValid(JtdsConnection.java:2833)
    at org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
    at org.apache.commons.dbcp2.PoolableConnection.validate(PoolableConnection.java:283)
    at org.apache.commons.dbcp2.PoolableConnectionFactory.validateConnection(PoolableConnectionFactory.java:357)
    at org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2304)
    at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2287)
    at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2038)
    at org.apache.commons.dbcp2.BasicDataSource.getLogWriter(BasicDataSource.java:1588)
    at org.apache.commons.dbcp2.BasicDataSourceFactory.createDataSource(BasicDataSourceFactory.java:588)
    at com.amalto.core.storage.DBCPConnectionProvider.configure(Unknown Source)
    at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206)
    at org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.prepare(ManagedProviderConnectionHelper.java:55)
    at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:219)
    at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:203)
    ... 42 more
2017-01-11 09:38:20,337 WARN  [org.springframework.web.context.support.XmlWebApplicationContext] Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultXmlServer' defined in URL [jar:file:/D:/Talend/6.2.1/mdm/apache-tomcat/webapps/talendmdm/WEB-INF/lib/org.talend.mdm.core-6.2.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)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1038)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
    at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4728)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5162)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581)
    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1683)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: 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.BeanUtils.instantiateClass(BeanUtils.java:163)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1086)
    ... 26 more
Caused by: java.lang.ExceptionInInitializerError
    at com.amalto.core.server.DefaultXmlServer.<init>(Unknown Source)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
    ... 28 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Could not prepare '__SYSTEM'.
    at com.amalto.core.storage.StorageLogger.handlePrepareError(Unknown Source)
    at com.amalto.core.storage.StorageLogger.prepare(Unknown Source)
    at com.amalto.core.server.StorageAdminImpl.internalCreateSystemStorage(Unknown Source)
    at com.amalto.core.server.StorageAdminImpl.create(Unknown Source)
    at com.amalto.core.storage.SystemStorageWrapper.<init>(Unknown Source)
    at com.amalto.core.storage.SQLWrapper.<clinit>(Unknown Source)
    ... 34 more
Caused by: java.lang.RuntimeException: Could not prepare '__SYSTEM'.
    at com.amalto.core.storage.hibernate.HibernateStorage.prepare(Unknown Source)
    at com.amalto.core.storage.SecuredStorage.prepare(Unknown Source)
    at com.amalto.core.storage.CacheStorage.prepare(Unknown Source)
    ... 39 more
Caused by: java.lang.AbstractMethodError
    at net.sourceforge.jtds.jdbc.JtdsConnection.isValid(JtdsConnection.java:2833)
    at org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
    at org.apache.commons.dbcp2.PoolableConnection.validate(PoolableConnection.java:283)
    at org.apache.commons.dbcp2.PoolableConnectionFactory.validateConnection(PoolableConnectionFactory.java:357)
    at org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2304)
    at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2287)
    at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2038)
    at org.apache.commons.dbcp2.BasicDataSource.getLogWriter(BasicDataSource.java:1588)
    at org.apache.commons.dbcp2.BasicDataSourceFactory.createDataSource(BasicDataSourceFactory.java:588)
    at com.amalto.core.storage.DBCPConnectionProvider.configure(Unknown Source)
    at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206)
    at org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.prepare(ManagedProviderConnectionHelper.java:55)
    at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:219)
    at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:203)
    ... 42 more
2017-01-11 09:38:20,352 INFO  [com.amalto.core.server.Initialization] Shutdown in progress...
2017-01-11 09:38:20,352 INFO  [com.amalto.core.server.ServerImpl] Closing metadata management...
2017-01-11 09:38:20,352 INFO  [com.amalto.core.server.ServerImpl] Closing user storages...
2017-01-11 09:38:20,352 INFO  [com.amalto.core.server.ServerImpl] Closing remaining storages...
2017-01-11 09:38:20,352 INFO  [com.amalto.core.server.ServerImpl] Closing transaction manager...
2017-01-11 09:38:20,352 INFO  [com.amalto.core.server.Initialization] Shutdown done.
2017-01-11 09:38:20,352 INFO  [org.springframework.cache.ehcache.EhCacheManagerFactoryBean] Shutting down EhCache CacheManager
2017-01-11 09:38:20,352 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultXmlServer' defined in URL [jar:file:/D:/Talend/6.2.1/mdm/apache-tomcat/webapps/talendmdm/WEB-INF/lib/org.talend.mdm.core-6.2.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)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1038)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
    at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4728)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5162)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581)
    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1683)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: 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.BeanUtils.instantiateClass(BeanUtils.java:163)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1086)
    ... 26 more
Caused by: java.lang.ExceptionInInitializerError
    at com.amalto.core.server.DefaultXmlServer.<init>(Unknown Source)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
    ... 28 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Could not prepare '__SYSTEM'.
    at com.amalto.core.storage.StorageLogger.handlePrepareError(Unknown Source)
    at com.amalto.core.storage.StorageLogger.prepare(Unknown Source)
    at com.amalto.core.server.StorageAdminImpl.internalCreateSystemStorage(Unknown Source)
    at com.amalto.core.server.StorageAdminImpl.create(Unknown Source)
    at com.amalto.core.storage.SystemStorageWrapper.<init>(Unknown Source)
    at com.amalto.core.storage.SQLWrapper.<clinit>(Unknown Source)
    ... 34 more
Caused by: java.lang.RuntimeException: Could not prepare '__SYSTEM'.
    at com.amalto.core.storage.hibernate.HibernateStorage.prepare(Unknown Source)
    at com.amalto.core.storage.SecuredStorage.prepare(Unknown Source)
    at com.amalto.core.storage.CacheStorage.prepare(Unknown Source)
    ... 39 more
Caused by: java.lang.AbstractMethodError
    at net.sourceforge.jtds.jdbc.JtdsConnection.isValid(JtdsConnection.java:2833)
    at org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
    at org.apache.commons.dbcp2.PoolableConnection.validate(PoolableConnection.java:283)
    at org.apache.commons.dbcp2.PoolableConnectionFactory.validateConnection(PoolableConnectionFactory.java:357)
    at org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2304)
    at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2287)
    at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2038)
    at org.apache.commons.dbcp2.BasicDataSource.getLogWriter(BasicDataSource.java:1588)
    at org.apache.commons.dbcp2.BasicDataSourceFactory.createDataSource(BasicDataSourceFactory.java:588)
    at com.amalto.core.storage.DBCPConnectionProvider.configure(Unknown Source)
    at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206)
    at org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.prepare(ManagedProviderConnectionHelper.java:55)
    at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:219)
    at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:203)
    ... 42 more

Offline

#6 2017-01-11 22:19:48

harivartha
Member
4 posts

harivartha said:

Re: Could not start MDM server

Resolved.  Used MSSQL Server driver v42.  Used the .dll file for Integrated Authentication.  Removed the domain=domainname from the jdbcURL.  Then started the Windows service for MDM as the relevant user.

Offline

#7 2017-01-12 09:50:11

xdshi
Talend Team


xdshi said:

Re: Could not start MDM server

Hi harivartha,

Resolved.  Used MSSQL Server driver v42.  Used the .dll file for Integrated Authentication.  Removed the domain=domainname from the jdbcURL.  Then started the Windows service for MDM as the relevant user.

Thanks for sharing your solution with us.
Best regards
Sabrina


What we can do is to make sure that Talend will be your best choice!

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy