Six Stars

[resolved] Talend Job execution error

Hello,
I have deployed a service on Talend ESB. It works fine for months. Suddenly I get this message client side : "Talend job execution error".
NB: I can access the wsdl of the service.
I use Talend Runtime v5.6.1
Any help please.
If you need more information please advise.
1 ACCEPTED SOLUTION

Accepted Solutions
Six Stars

Re: [resolved] Talend Job execution error

Zied
You're right the logs are telling only there's a fault / exception occurred during the service execution, still a suggestion - please place a combo tLogCatcher -> tLogRow into your service (https://www.talendforge.org/tutorials/screenshot.php?language=english&idTuto=31&step=377 ) it should give you the root reason behind the exception / fault. 
g.

Hi Gusto,
Thank you, your suggestion was helpful.
The root reason behind the exception was a database user expired password.
Thanks
Zied
8 REPLIES
Employee

Re: [resolved] Talend Job execution error

Hello Zimil
Are you invoking any Talend job from your service? Does your container running as OS service then in wrapper.log you should see at which component its failing. 
Thanks,
Aniket
Six Stars

Re: [resolved] Talend Job execution error

Hello Zimil
Are you invoking any Talend job from your service? Does your container running as OS service then in wrapper.log you should see at which component its failing. 
Thanks,
Aniket

Hello Aband,
Yes I'm invoking a Talend job from my service.
I checked all my windows services, I don't find a service related to my ESB container.
I suppose that my contaner is not running as OS service.
Thank you for the help
One Star

Re: [resolved] Talend Job execution error

Zimil,
Then you may want to have a look into the container/logs/tesb.log to fetch more details..
g.
Six Stars

Re: [resolved] Talend Job execution error

Zimil,
Then you may want to have a look into the container/logs/tesb.log to fetch more details..

Gusto, 
I did but I couldn't find the origin of the problem.
This is an extraction of the log.
Please advise
Thanks
08:34:36,151 | INFO  | qtp5270829-105   | t.jmx.InstrumentationManagerImpl  329 | 123 - org.apache.cxf.cxf-rt-management - 2.7.12 | registering MBean org.apache.cxf:bus.id=netlineOpsService-control-bundle-cxf25074574,type=Performance.Counter.Server,service="{http://www.talend.org/service/}netlineOpsService",port="netlineOpsServicePort",operation="netlineOpsServiceOperation": org.apache.cxf.management.counters.ResponseTimeCounter@1955a00
08:34:36,151 | WARN  | qtp5270829-105   | ache.cxf.common.logging.LogUtils  452 | 121 - org.apache.cxf.cxf-api - 2.7.12 | Application {http://www.talend.org/service/}netlineOpsService#{http://www.talend.org/service/}netlineOpsServiceOperation has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Talend job execution error: 
at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:170)
at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:272)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:136)
at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:237)
at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:69)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:107)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:241)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:248)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:222)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:153)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:206)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445)
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:556)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044)
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:124)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:81)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:367)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:647)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Talend job execution error: 
at tempproject.netlineopsextractor_1_0.netlineOpsExtractor$ESBProviderCallbackTalendJobWrapper_tESBProviderRequest_1.sendFault(netlineOpsExtractor.java:1192)
at tempproject.netlineopsextractor_1_0.netlineOpsExtractor$ESBProviderCallbackTalendJobWrapper_tESBProviderRequest_1.sendFaultByDefault(netlineOpsExtractor.java:1201)
at tempproject.netlineopsextractor_1_0.netlineOpsExtractor.tESBProviderRequest_1_LoopProcess(netlineOpsExtractor.java:9356)
at tempproject.netlineopsextractor_1_0.netlineOpsExtractor.runJobInTOS(netlineOpsExtractor.java:9848)
at org.talend.esb.job.controller.internal.RuntimeESBProviderCallback.run(RuntimeESBProviderCallback.java:120)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
... 1 more
Caused by: tempproject.netlineopsextractor_1_0.netlineOpsExtractor$TalendException
at tempproject.netlineopsextractor_1_0.netlineOpsExtractor.tCreateTemporaryFile_1Process(netlineOpsExtractor.java:1426)
at tempproject.netlineopsextractor_1_0.netlineOpsExtractor.tESBProviderRequest_1_LoopProcess(netlineOpsExtractor.java:9336)
... 5 more
08:34:36,197 | INFO  | qtp5270829-105   | eptor.AbstractLoggingInterceptor  249 | 121 - org.apache.cxf.cxf-api - 2.7.12 | Outbound Message
---------------------------
Moderator

Re: [resolved] Talend Job execution error

Hi,
Did you install any external libs in your container? Have you tried to deploy your service without invoking any job to see if it works as expected?
Any error message in wrapper.log?
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.
Six Stars

Re: [resolved] Talend Job execution error

Hi,
Did you install any external libs in your container? Have you tried to deploy your service without invoking any job to see if it works as expected?
Any error message in wrapper.log?
Best regards
Sabrina

Hi,
Yes I use ojdbc6 as external lib in my container.
The service has worked fine for servral moths without any problem.
I can invoke  WSDL of the service and when I list all the endpoints in the ESB It shows my service as started.
Thanks for help
Zied
One Star

Re: [resolved] Talend Job execution error

Zied
You're right the logs are telling only there's a fault / exception occurred during the service execution, still a suggestion - please place a combo tLogCatcher -> tLogRow into your service (https://www.talendforge.org/tutorials/screenshot.php?language=english&idTuto=31&step=377 ) it should give you the root reason behind the exception / fault. 
g.
Six Stars

Re: [resolved] Talend Job execution error

Zied
You're right the logs are telling only there's a fault / exception occurred during the service execution, still a suggestion - please place a combo tLogCatcher -> tLogRow into your service (https://www.talendforge.org/tutorials/screenshot.php?language=english&idTuto=31&step=377 ) it should give you the root reason behind the exception / fault. 
g.

Hi Gusto,
Thank you, your suggestion was helpful.
The root reason behind the exception was a database user expired password.
Thanks
Zied