MDM-V6.3.0M1 - NoClassDefFoundError when executing MDM_Load_All

One Star

MDM-V6.3.0M1 - NoClassDefFoundError when executing MDM_Load_All

Hi,
I am a first time Talend MDM user and 'trying' to prepare a POC. 
Using:
eclipse.buildId=unknown
java.version=1.8.0_77
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86_64
C:\T-MDM-Server-V6.3.0M1\apache-tomcat
Having imported the MDM product demo project, installed some missing jar files from www.java2s.com/Code/Jar. Followed the steps from AA_README_FIRST 0.1. Got an exception:
Starte Job MDM_LoadAll am 09:31 12/08/2016.
connecting to socket on port 3368
connected
Aug 12, 2016 9:31:22 AM org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
INFORMATION: Creating Service {}TMDMService from class org.talend.mdm.webservice.TMDMService
Exception in thread "main" java.lang.NoClassDefFoundError: javax/wsdl/extensions/ElementExtensible
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Unknown Source)
at java.lang.Class.getField0(Unknown Source)
at java.lang.Class.getField(Unknown Source)
at org.apache.cxf.bus.managers.BindingFactoryManagerImpl$3.loadBean(BindingFactoryManagerImpl.java:188)
at org.apache.cxf.bus.extension.ExtensionManagerImpl.loadBeansOfType(ExtensionManagerImpl.java:366)
at org.apache.cxf.bus.managers.BindingFactoryManagerImpl.loadActivationNamespace(BindingFactoryManagerImpl.java:196)
at org.apache.cxf.bus.managers.BindingFactoryManagerImpl.getBindingFactory(BindingFactoryManagerImpl.java:83)
at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo(AbstractWSDLBasedEndpointFactory.java:339)
at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpointInfo(AbstractWSDLBasedEndpointFactory.java:259)
at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:144)
disconnected
disconnected
at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91)
at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:157)
at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142)
at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:493)
at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:359)
at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:350)
at javax.xml.ws.Service.getPort(Unknown Source)
at org.talend.mdm.webservice.TMDMService_Service.getTMDMPort(TMDMService_Service.java:61)
at local_project.loadproducts_0_1.LoadProducts.tMDMInput_1_InProcess(LoadProducts.java:3802)
at local_project.loadproducts_0_1.LoadProducts.tFixedFlowInput_2Process(LoadProducts.java:1279)
at local_project.loadproducts_0_1.LoadProducts.tMDMConnection_1Process(LoadProducts.java:603)
at local_project.loadproducts_0_1.LoadProducts.runJobInTOS(LoadProducts.java:4534)
at local_project.loadproducts_0_1.LoadProducts.runJob(LoadProducts.java:4378)
at local_project.mdm_loadall_0_1.MDM_LoadAll.tRunJob_3Process(MDM_LoadAll.java:701)
at local_project.mdm_loadall_0_1.MDM_LoadAll.tRunJob_4Process(MDM_LoadAll.java:537)
at local_project.mdm_loadall_0_1.MDM_LoadAll.runJobInTOS(MDM_LoadAll.java:1201)
at local_project.mdm_loadall_0_1.MDM_LoadAll.main(MDM_LoadAll.java:1042)
Caused by: java.lang.ClassNotFoundException: javax.wsdl.extensions.ElementExtensible
        at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
... 28 more
Job MDM_LoadAll endet am 09:31 12/08/2016.
Trying to define a MDM Connection with standard parameters 
Version=Server 6.0, user=administrator ; pw=administrator; url=
results in an error message:
Failed to connect to MDM, please change MDM settings.
Messages in the Log are:
!ENTRY org.talend.platform.logging 4 0 2016-08-12 10:22:09.484
!MESSAGE 2016-08-12 10:22:09,482 ERROR org.talend.commons.exception.CommonExceptionHandler  - 
!STACK 0
java.lang.reflect.InvocationTargetException
...
Caused by: javax.xml.ws.WebServiceException: Method workflowGetProcessDefinitions is exposed as WebMethod, but there is no corresponding wsdl operation with name {}workflowGetProcessDefinitions in the wsdlSmiley TongueortType{}TMDMService
I've attached the complete log.
Thank you for your support
Peter
.log.log
Moderator

Re: MDM-V6.3.0M1 - NoClassDefFoundError when executing MDM_Load_All

Hi,
Is your MDM UI server running well on your local machine when deploy your datamodel. 
Have you tried to repro this issue on released version 6.2.1?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: MDM-V6.3.0M1 - NoClassDefFoundError when executing MDM_Load_All

I have created a sample MDM data model and data container ,mapping was done perfectly however i am getting the below error.Anyone faced similar kind of issue .In any case you faced the same issue and been rectified kindly reply me on this post
connecting to socket on port 3458 connectedJan 06, 2017 6:12:05 PM org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean buildServiceFromClassINFO: Creating Service {}TMDMService from class org.talend.mdm.webservice.TMDMServiceException in thread "Thread-1" java.lang.NoClassDefFoundError: javax/wsdl/extensions/ElementExtensible at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Unknown Source) at java.lang.Class.getField0(Unknown Source) at java.lang.Class.getField(Unknown Source) at org.apache.cxf.bus.managers.BindingFactoryManagerImpl$3.loadBean(BindingFactoryManagerImpl.java:188) at org.apache.cxf.bus.extension.ExtensionManagerImpl.loadBeansOfType(ExtensionManagerImpl.java:366) at org.apache.cxf.bus.managers.BindingFactoryManagerImpl.loadActivationNamespace(BindingFactoryManagerImpl.java:196) at org.apache.cxf.bus.managers.BindingFactoryManagerImpl.getBindingFactory(BindingFactoryManagerImpl.java:83) at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo(AbstractWSDLBasedEndpointFactory.java:339) at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpointInfo(AbstractWSDLBasedEndpointFactory.java:259) at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:144) disconnected at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91) at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:157) at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142) at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:493) at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:359) at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:350) at javax.xml.ws.Service.getPort(Unknown Source) at org.talend.mdm.webservice.TMDMService_Service.getTMDMPort(TMDMService_Service.java:61) at sample_project.samplemdm_0_1.SampleMDM.tMDMOutput_1_InProcess(SampleMDM.java:1091) at sample_project.samplemdm_0_1.SampleMDM$1ThreadXMLField_tMDMOutput_1_Out.run(SampleMDM.java:543)Caused by: java.lang.ClassNotFoundException: javax.wsdl.extensions.ElementExtensible at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 21 more disconnectedJob SampleMDM ended at 18:12 06/01/2017.  ]
One Star

Re: MDM-V6.3.0M1 - NoClassDefFoundError when executing MDM_Load_All

i have similar/same issue also waiting on talend to assist (6.3.1); have you been able to move past this?
org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
INFO: Creating Service {http://www.talend.com/mdm}TMDMService from class org.talend.mdm.webservice.TMDMService
Mar 24, 2017 10:08:50 AM org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
WARNING: Interceptor for {http://www.talend.com/mdm}TMDMService#{http://www.talend.com/mdm}putItemArray has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send Message.
Moderator

Re: MDM-V6.3.0M1 - NoClassDefFoundError when executing MDM_Load_All

Hi andrew.vanosch,
We have replied to your another topic:https://www.talendforge.org/forum/viewtopic.php?id=56271. Could you please take a look at it?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.