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 2017-01-25 13:45:36

Gabra
Member
38 posts

Gabra said:

Cannot generate jobs in TAC job conductor

Hello,

Trying to generate any job with the job conductor fails. The top level error is:


java.lang.RuntimeException: org.talend.designer.runprocess.ProcessorException: java.lang.Exception: Job was not built successfully, please check the logs for more details

the error in the logging section looks like:





[table][tr][td][/td]
[td]org.talend.administrator.remoterepositorymgt.project.GitProjectManager[/td]
[/tr]
[tr][td]priority[/td]
[td]  [/td]
[td]ERROR[/td]
[/tr]
[tr][td]stack_trace[/td]
[td]  [/td]
[td]java.lang.NullPointerException[/td]
[/tr]
[tr][td]thread[/td]
[td]  [/td]
[td]SocketAppenderWithEmergencyLocalAppender_pool-8-thread-1[/td]
[/tr]
[tr][td]type[/td]
[td]  [/td]
[td]TAC
[/td]
[/tr]
[/table]
the error in the Apache Tomcat logs:

ERROR SocketAppenderWithEmergencyLocalAppender - Timeout when sending log event(s) to Logstash (localhost:8050) : null
java.util.concurrent.TimeoutException
	at java.util.concurrent.FutureTask.get(Unknown Source)
	at org.talend.administrator.common.log4j.SocketAppenderWithEmergencyLocalAppender.append(SocketAppenderWithEmergencyLocalAppender.java:108)
	at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
	at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
	at org.apache.log4j.Category.callAppenders(Category.java:206)
	at org.apache.log4j.Category.forcedLog(Category.java:391)
	at org.apache.log4j.Category.error(Category.java:322)
	at org.talend.gwttoolkit.server.TalendRemoteServiceServlet.processException(TalendRemoteServiceServlet.java:61)
	at org.talend.gwtadministrator.server.softwareupdate.services.SoftwareServiceImpl.getCurrentState(SoftwareServiceImpl.java:128)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	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:644)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.talend.gwttoolkit.server.common.http.HeadersFilter.doFilter(HeadersFilter.java:55)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)
	at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Unknown Source)

Could anyone help me with that?

Thank you!

Offline

#2 2017-01-26 17:58:56

Gabra
Member
38 posts

Gabra said:

Re: Cannot generate jobs in TAC job conductor

Update: Apparently this error is causing the failure:

2017-01-26 15:14:20 WARN  RepoCheckoutHelper  - Timeout when waiting unlocked SVN path '/opt/Talend-6.2.1/tac/apache-tomcat/temp/org.talend.administrator_git/wfs-esb-jobs/master': 
java.lang.InterruptedException
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Unknown Source)
	at org.talend.commons.utils.threading.Locker.waitForLock(Locker.java:730)
	at org.talend.administrator.remoterepositorymgt.persistence.helper.RepoCheckoutHelper.getItems(RepoCheckoutHelper.java:707)
	at org.talend.administrator.remoterepositorymgt.persistence.helper.RepoCheckoutHelper.addItems(RepoCheckoutHelper.java:574)
	at org.talend.administrator.remoterepositorymgt.persistence.helper.RepoCheckoutHelper.getProcessItems(RepoCheckoutHelper.java:552)
	at org.talend.administrator.remoterepositorymgt.persistence.helper.RepoCheckoutHelper.getProcessItems(RepoCheckoutHelper.java:545)
	at org.talend.administrator.remoterepositorymgt.persistence.helper.RepoCheckoutHelper.getProcessItems(RepoCheckoutHelper.java:540)
	at org.talend.administrator.remoterepositorymgt.project.GitProjectManager.getProcessItems(GitProjectManager.java:126)
	at org.talend.administrator.remoterepositorymgt.persistence.helper.ProcessItemHelper.retrieveProcessItems(ProcessItemHelper.java:220)
	at org.talend.administrator.scheduler.business.ExecutionTaskHandler.getProcessItems(ExecutionTaskHandler.java:253)
	at org.talend.administrator.scheduler.business.ExecutionTaskHandler.getTalendJobs(ExecutionTaskHandler.java:2553)
	at org.talend.gwtadministrator.server.scheduler.view.ExecutionTaskViewAdapter.getTalendJobBeans(ExecutionTaskViewAdapter.java:776)
	at org.talend.gwtadministrator.server.scheduler.services.ExecutionTaskServiceImpl.getTalendJobNames(ExecutionTaskServiceImpl.java:248)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	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:644)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.talend.gwttoolkit.server.common.http.HeadersFilter.doFilter(HeadersFilter.java:55)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)
	at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Unknown Source)
2017-01-26 15:15:24 ERROR GitProjectManager  - 
java.lang.NullPointerException
2017-01-26 15:17:45 ERROR JobGenerator  - java.lang.RuntimeException: org.talend.designer.runprocess.ProcessorException: java.lang.Exception: Job was not built successfully, please check the logs for more details
	at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:197)
	at org.talend.commandline.client.command.extension.AbstractExtensionCommandSwitch.doSwitch(AbstractExtensionCommandSwitch.java:31)
	at org.talend.commandline.command.CommandProcessorSwitch.caseExtensionCommand(CommandProcessorSwitch.java:161)
	at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:70)
	at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:57)
	at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:35)
	at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139)
	at java.lang.Thread.run(Unknown Source)
Caused by: org.talend.designer.runprocess.ProcessorException: java.lang.Exception: Job was not built successfully, please check the logs for more details
	at org.talend.commandline.util.JobHandler.export(JobHandler.java:234)
	at org.talend.commandline.command.execute.BuildJobExecuteCommand.execute(BuildJobExecuteCommand.java:143)
	at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:195)
	... 7 more
Caused by: java.lang.Exception: Job was not built successfully, please check the logs for more details
	at org.talend.repository.ui.wizards.exportjob.scriptsmanager.BuildJobManager.buildJob(BuildJobManager.java:252)
	at org.talend.repository.ui.wizards.exportjob.scriptsmanager.BuildJobManager.buildJob(BuildJobManager.java:162)
	at org.talend.commandline.util.JobHandler.export(JobHandler.java:223)
	... 9 more

It says that timeout, but the files are there in the folder. Also, I don't really get why there is SVN mention although we're using git?

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy