Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Job is failing after deploying talend esb web service into remote server

Hello All, I am trying to deploy a web service created in Talend ESB studio. I exported the service as a .kar file. The talend job attached to this service is running fine in my laptop after copying the file into esb run time container. But when I move the same .kar file into my server I am able to access the WSDL but when I try testing the web service using SOAP UI I am getting "Talend job execution error:" error. I don't see proper error message in the log. I just see "Caused by: java.lang.RuntimeException: Talend job execution error:" 

Please help.

Labels (4)
5 Replies
Anonymous
Not applicable
Author

Hi,

How did you deploy your kar file on your server? Did you have the same java version for your local machine and server?

Best regards

Sabrina

Anonymous
Not applicable
Author

I exported my webservice from studio which created the .kar file and then moved the file under deploy folder in "Runtime_ESBSE". Yes I do have the same java versions. 

Anonymous
Not applicable
Author

This sounds like it could just be down to a slight change in the endpoint. Assuming your Karaf (runtime) is configured on your local machine, try calling the following URL from a web browser (http://localhost:8040/services).....if the runtime is not on your local machine change "localhost" to whatever machine name the runtime is on. This will show if your service is actually running. I suspect that the addition of "services" to the endpoint has thrown you. If the service is there with a different URL, point your Studio job to it.

Also you have to consider that when testing your services with jobs on your Studio, you will likely be using localhost in your URL. This will change when the job is on a different machine to the service. The other thing that this could be (more likely now as I think about it) is the port number used. I think Studio uses something like 8090 for testing, however the Karaf defaults to 8040. 

 

This is not very well documented unfortunately. I hope this helps

 

 

Anonymous
Not applicable
Author

Thanks for responding to my post. I changed the host name and port endpoint before export the service from localhost to the server which I am copying the .kar file. After deploying the .kar file into the server I am able to access the WSDL from my laptop. But when I test the service using the SOAP UI I see "Talend job execution error". 

I see following error in the log file:

 

15:16:56,506 | WARN | tp1211844409-102 | ache.cxf.common.logging.LogUtils 449 | 90 - org.apache.cxf.cxf-core - 3.1.7 | Application {http://www.talend.org/service/}TestWSDLimport#{http://www.talend.org/service/}TestWSDLimportOperatio... has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Talend job execution error:
at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)[90



To see the whole post, download it here
OriginalPost.pdf
Anonymous
Not applicable
Author

Was this issue resolved?

 

I am having the same issue. The job works when running on Studio but fails when it is deployed on Karaf as a .kar file.

 

Another thing I noticed was that it was the SOAP services that had a tRunJob component in it where the ones that failed, others work successfully.

 

Talend version I am using is v7.1.1.

 

Please help.