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-08-12 10:31:44

hpd1959
Member
1 post

hpd1959 said:

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.
[statistics] connecting to socket on port 3368
[statistics] 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)
[statistics] disconnected
[statistics] 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. [exit code=1]
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 wsdl:portType{}TMDMService
I've attached the complete log.

Thank you for your support
Peter
.log.log

Offline

#2 2016-08-22 04:39:20

xdshi
Talend Team


xdshi said:

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


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

Offline

#3 2017-01-06 13:47:22

manerivenu
Member
1 post

manerivenu said:

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

Starting job SampleMDM at 18:12 06/01/2017.[statistics wrote:

connecting to socket on port 3458[statistics] 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)[statistics] 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[statistics] disconnectedJob SampleMDM ended at 18:12 06/01/2017. [exit code=0]  ]

Last edited by manerivenu (2017-01-06 13:49:47)

Offline

#4 2017-03-24 09:12:48

andrew.vanosch
Member
21 posts

andrew.vanosch said:

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.

Offline

#5 2017-03-24 09:39:12

xdshi
Talend Team


xdshi said:

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/viewt … p?id=56271. Could you please take a look at it?
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