Linkage error - Using Job Launcher Connector in BPM

1
+1
-1

Hi,

I am working on Talend Data Integration job and calling the job in BPM process.

Job is like --- tStewardshipInput component ------> tMdmOutput Component.


I created BPM process and calling the Job using Job Launcher connector and configured the Project Name, Job Name and Job Version. Add required jar files related to DI job under dependencies --> My Lib.

When I test connector , it was working good. But, When I deploy and run the process -

I was getting following erxception:

Caused by: java.lang.LinkageError: loader constraint violation: when resolving method "javax.xml.ws.Service.(Ljava/net/URL;Ljavax/xml/namespace/QName;)V" the class loader (instance of org/ow2/bonita/runtime/ProcessClassLoader) of the current class, org/talend/datastewardship/server/ws/TDSCWS_Service, and the class loader (instance of ) for resolved class, javax/xml/ws/Service, have different Class objects for the type used in the signature
at org.talend.datastewardship.server.ws.TDSCWS_Service.(TDSCWS_Service.java:44)
at talend_mdm.aftermodification_0_1.aftermodification.tStewardshipTaskInput_1Process(aftermodification.java:1605)
at talend_mdm.aftermodification_0_1.aftermodification.runJobInTOS(aftermodification.java:2543)
at talend_mdm.aftermodification_0_1.aftermodification.runJob(aftermodification.java:2439)
... 78 more

Similar kind of issue I got for the Data Integration job, calling the job in BPM process using Job Launher Connector.

job -> tRestClient component --> tLogrow component

Exception I got :

Caused by: java.lang.LinkageError: ClassCastException: attempting to castbundleresource://1134.fwk437975700:20/javax/ws/rs/ext/RuntimeDelegate.class to bundleresource://1134.fwk437975700:20/javax/ws/rs/ext/RuntimeDelegate.class
at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:145)
at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:119)
at javax.ws.rs.core.UriBuilder.newInstance(UriBuilder.java:95)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:106)
at org.apache.cxf.jaxrs.client.LocalClientState.(LocalClientState.java:50)
at org.apache.cxf.jaxrs.client.WebClient.(WebClient.java:86)
at org.apache.cxf.jaxrs.client.WebClient.(WebClient.java:82)
at org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean.createWebClient(JAXRSClientFactoryBean.java:209)
at talend_mdm.runvalidation_0_1.runvalidation.tRESTClient_5Process(runvalidation.java:546)
at talend_mdm.runvalidation_0_1.runvalidation.runJobInTOS(runvalidation.java:860)
at talend_mdm.runvalidation_0_1.runvalidation.runJob(runvalidation.java:755)
... 78 more

Can any one give solution for this issue?

Thanks, Shilpa

No answers yet.
Notifications