Start and Stop features in ESBConductor are not working

Symptoms

You can deploy services to the Runtime server from TAC, but you can't stop them. TAC shows that the bundle is stopped, but on Karaf the bundle will still be active.

 

Diagnosis

You can verify this issue using the following steps:

  1. Go to the ESB Conductor, choose the deployed task, and click Stop.

  2. The status displayed in TAC will be stopped, but the status displayed in Karaf will be Active.

  3. Click Start on TAC. The following error appears even after you have deployed the task successfully:

    Operation failed: Before Start task deploy it – For more information see your log file.

Observations:

No errors will be written in the ESB log, however the following stack trace was captured in the TAC technical log.

Stack Trace:
2017-08-21 12:55:30 ERROR TalendRemoteServiceServlet - executionTask.esb.message.start.error.notDeployed
org.talend.exception.BusinessException: executionTask.esb.message.start.error.notDeployed
at org.talend.administrator.esbconductor.business.command.ConductorEsbTaskStarter.executeMainProcess(ConductorEsbTaskStarter.java:62)
at org.talend.administrator.esbconductor.business.command.AbstractEsbConductorTemplateMethod.executeOnAloneRuntime(AbstractEsbConductorTemplateMethod.java:273)
at org.talend.administrator.esbconductor.business.command.AbstractEsbConductorTemplateMethod.execute(AbstractEsbConductorTemplateMethod.java:127)
at org.talend.administrator.esbconductor.business.command.AbstractEsbConductorTemplateMethod.execute(AbstractEsbConductorTemplateMethod.java:87
at org.talend.gwtadministrator.server.scheduler.services.ExecutionTaskServiceImpl.requestRun(ExecutionTaskServiceImpl.java:355)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
at org.talend.gwttoolkit.server.TalendRemoteServiceServlet.processCall(TalendRemoteServiceServlet.java:104)
at org.talend.gwtadministrator.server.LoggedAndLicenseCheckRemoteServiceServlet.processCall(LoggedAndLicenseCheckRemoteServiceServlet.java:36)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.talend.gwttoolkit.server.common.http.HeadersFilter.doFilter(HeadersFilter.java:55)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1533)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1489)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

 

Solution

The preceding behavior captured in the stack trace is a bug in the product, and TESB-18872 was submitted.

For Talend 6.3.1, Patch TPS-1828 is available to resolve the issue. Request this patch from Talend Support.

Version history
Revision #:
2 of 2
Last update:
‎10-30-2017 06:14 PM
Updated by:
 
Contributors