One Star

[resolved] Connection to Generator failed (Command Line)

Hi,
i have following problem:
We have just installed TIS and want to start a second job from the TAC. But everytime we got an "Connection to Generator failed (Command Line)". I have checked every SVN connetion. Everything is "OK".
One strange thing is, that the first job is valid and is runing. But if we "generate" this job again we got the same error as the "new" second job.

	at org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:197)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:341)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler$1.run(ExecutionTaskHandler.java:294)
Caused by: org.talend.administrator.common.exception.SystemException: Failed to login to CommandLine : org.talend.commons.exception.PersistenceException: Cannot connect to project with url 'http://localhost:8080/svn/TEST'
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(Unknown Source)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(Unknown Source)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(Unknown Source)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(Unknown Source)
at org.talend.commandline.util.RepositoryHandler.logonProject(Unknown Source)
at org.talend.commandline.command.CommandProcessor.logonProject(Unknown Source)
at org.talend.commandline.command.CommandProcessorSwitch.caseLogonProjectCommand(Unknown Source)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(Unknown Source)
at org.talend.commandline.command.CommandConsumer.executeCommand(Unknown Source)
at org.talend.commandline.command.CommandConsumer.execute(Unknown Source)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.NullPointerException
at org.talend.repository.remoteprovider.ImplementationHelper.getConfigurationElement(Unknown Source)
at org.talend.repository.remoteprovider.ImplementationHelper.getInstance(Unknown Source)
at org.talend.repository.remoteprovider.ImplementationHelper.getProjectUrlCheck(Unknown Source)
... 12 more
at org.talend.administrator.commandline.CommandLineBean.executeGroupCommand(CommandLineBean.java:183)
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.executeGroupCommand(JobGenerator.java:264)
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:140)
... 2 more
Caused by: org.talend.commandline.client.command.CommandStatusWrapException: org.talend.commons.exception.PersistenceException: Cannot connect to project with url 'http://localhost:8080/svn/TEST'
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(Unknown Source)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(Unknown Source)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(Unknown Source)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(Unknown Source)
at org.talend.commandline.util.RepositoryHandler.logonProject(Unknown Source)
at org.talend.commandline.command.CommandProcessor.logonProject(Unknown Source)
at org.talend.commandline.command.CommandProcessorSwitch.caseLogonProjectCommand(Unknown Source)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(Unknown Source)
at org.talend.commandline.command.CommandConsumer.executeCommand(Unknown Source)
at org.talend.commandline.command.CommandConsumer.execute(Unknown Source)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.NullPointerException
at org.talend.repository.remoteprovider.ImplementationHelper.getConfigurationElement(Unknown Source)
at org.talend.repository.remoteprovider.ImplementationHelper.getInstance(Unknown Source)
at org.talend.repository.remoteprovider.ImplementationHelper.getProjectUrlCheck(Unknown Source)
... 12 more

Thanks in Advance,
Markus
1 ACCEPTED SOLUTION

Accepted Solutions
Community Manager

Re: [resolved] Connection to Generator failed (Command Line)

Hi
Try to do:
1. Stop the commandline.
2. Delete the commandline-woskspace.
3. Restart commandline and generate the task again.
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
17 REPLIES
Community Manager

Re: [resolved] Connection to Generator failed (Command Line)

Hi
Try to do:
1. Stop the commandline.
2. Delete the commandline-woskspace.
3. Restart commandline and generate the task again.
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] Connection to Generator failed (Command Line)

Many Thanks!
It works now!
Two Stars

Re: [resolved] Connection to Generator failed (Command Line)

I have the same problem. Should I delete every item in the commandline-worksapce (\\drw-sql01\c$\Program Files\Talend-4.2.3\cmdline\studio\commandline-workspace) folder or just the project folder ?.
Thanks,
One Star

Re: [resolved] Connection to Generator failed (Command Line)

Hi Ar7368
Delete the commandline-workspace directory.
Then it will be recreated when you start up TOS next time.
Regards,
Pedro
Two Stars

Re: [resolved] Connection to Generator failed (Command Line)

Hi Pedro,
The command line is still down. The client log in TAC says "Error at grid loading: Fail to connect to CommandLine: Unknown.hZ(Unknown source:0)". What does it mean?
Thanks,
Two Stars

Re: [resolved] Connection to Generator failed (Command Line)

2012-04-10 11:15:00 ERROR CommandLineFactory  - could not connect to commandline
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at org.talend.commandline.client.CommandLineAbstractClient.connect(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.command(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.access$0(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient$1.run(Unknown Source)
2012-04-10 11:15:06 WARN CommandLineFactory - could not connect to commandline
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at org.talend.commandline.client.CommandLineAbstractClient.connect(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.command(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.access$0(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient$1.run(Unknown Source)
2012-04-10 11:15:11 ERROR CommandLineFactory - could not connect to commandline
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at org.talend.commandline.client.CommandLineAbstractClient.connect(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.command(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.access$0(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient$1.run(Unknown Source)
2012-04-10 11:15:33 WARN UserMapping - Cannot get additionnal data from bean ({})
2012-04-10 11:16:13 WARN UserMapping - Cannot get additionnal data from bean ({})
2012-04-10 11:16:18 WARN CommandLineFactory - could not connect to commandline
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at org.talend.commandline.client.CommandLineAbstractClient.connect(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.command(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.access$0(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient$1.run(Unknown Source)
2012-04-10 11:16:23 ERROR CommandLineFactory - could not connect to commandline
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at org.talend.commandline.client.CommandLineAbstractClient.connect(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.command(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.access$0(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient$1.run(Unknown Source)
2012-04-10 11:16:23 ERROR JobGenerator - Failed to connect to CommandLine
org.talend.administrator.common.exception.SystemException: Failed to connect to CommandLine
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.connectCommandLine(JobGenerator.java:220)
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:126)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:341)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler$1.run(ExecutionTaskHandler.java:294)
Caused by: org.talend.commons.exception.BusinessException: commandline.error.connection
at org.talend.administrator.commandline.CommandLineFactory.getCommandLineConf(CommandLineFactory.java:85)
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.connectCommandLine(JobGenerator.java:217)
... 3 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at org.talend.commandline.client.CommandLineAbstractClient.connect(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.command(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.access$0(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient$1.run(Unknown Source)
2012-04-10 11:16:23 ERROR ExecutionTaskHandler - org.talend.administrator.common.exception.SystemException: Failed to connect to CommandLine
org.talend.administrator.common.exception.ProcessedException: org.talend.administrator.common.exception.SystemException: Failed to connect to CommandLine
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:197)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:341)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler$1.run(ExecutionTaskHandler.java:294)
Caused by: org.talend.administrator.common.exception.SystemException: Failed to connect to CommandLine
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.connectCommandLine(JobGenerator.java:220)
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:126)
... 2 more
Caused by: org.talend.commons.exception.BusinessException: commandline.error.connection
at org.talend.administrator.commandline.CommandLineFactory.getCommandLineConf(CommandLineFactory.java:85)
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.connectCommandLine(JobGenerator.java:217)
... 3 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at org.talend.commandline.client.CommandLineAbstractClient.connect(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.command(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.access$0(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient$1.run(Unknown Source)
2012-04-10 11:16:53 WARN UserMapping - Cannot get additionnal data from bean ({})
2012-04-10 11:17:33 WARN UserMapping - Cannot get additionnal data from bean ({})
2012-04-10 11:18:05 WARN CommandLineFactory - could not connect to commandline
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at org.talend.commandline.client.CommandLineAbstractClient.connect(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.command(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.access$0(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient$1.run(Unknown Source)
2012-04-10 11:18:10 ERROR CommandLineFactory - could not connect to commandline
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at org.talend.commandline.client.CommandLineAbstractClient.connect(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.command(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.access$0(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient$1.run(Unknown Source)
2012-04-10 11:18:10 ERROR JobGenerator - Failed to connect to CommandLine
org.talend.administrator.common.exception.SystemException: Failed to connect to CommandLine
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.connectCommandLine(JobGenerator.java:220)
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:126)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:341)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler$1.run(ExecutionTaskHandler.java:294)
Caused by: org.talend.commons.exception.BusinessException: commandline.error.connection
at org.talend.administrator.commandline.CommandLineFactory.getCommandLineConf(CommandLineFactory.java:85)
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.connectCommandLine(JobGenerator.java:217)
... 3 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at org.talend.commandline.client.CommandLineAbstractClient.connect(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.command(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.access$0(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient$1.run(Unknown Source)
2012-04-10 11:18:11 ERROR ExecutionTaskHandler - org.talend.administrator.common.exception.SystemException: Failed to connect to CommandLine
org.talend.administrator.common.exception.ProcessedException: org.talend.administrator.common.exception.SystemException: Failed to connect to CommandLine
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:197)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:341)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler$1.run(ExecutionTaskHandler.java:294)
Caused by: org.talend.administrator.common.exception.SystemException: Failed to connect to CommandLine
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.connectCommandLine(JobGenerator.java:220)
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:126)
... 2 more
Caused by: org.talend.commons.exception.BusinessException: commandline.error.connection
at org.talend.administrator.commandline.CommandLineFactory.getCommandLineConf(CommandLineFactory.java:85)
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.connectCommandLine(JobGenerator.java:217)
... 3 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at org.talend.commandline.client.CommandLineAbstractClient.connect(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.command(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.access$0(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient$1.run(Unknown Source)
2012-04-10 11:18:13 WARN UserMapping - Cannot get additionnal data from bean ({})
2012-04-10 11:18:25 WARN CommandLineFactory - could not connect to commandline
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at org.talend.commandline.client.CommandLineAbstractClient.connect(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.command(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.access$0(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient$1.run(Unknown Source)
2012-04-10 11:18:26 ERROR gwt-log -
2012-04-10 11:18:30 ERROR CommandLineFactory - could not connect to commandline
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at org.talend.commandline.client.CommandLineAbstractClient.connect(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.command(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.access$0(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient$1.run(Unknown Source)
One Star

Re: [resolved] Connection to Generator failed (Command Line)

Hi Ar7368
When you are using TAC->Job Conductor to deploy jobs on JobServer, the commandline needs to be started up(%TIS%\Commandline.bat or %TIS%\commandline-linux.sh).
Besides, you'd better check the parameters about commandline in TAC->Configuration.
Regards,
Pedro
Two Stars

Re: [resolved] Connection to Generator failed (Command Line)

Hi Pedro,
I did restart after I restarted the services on the server where Talend resides. So now the primary commandline is working, but the secondary still errors. This is Ok for now as the jobs are running as scheduled. Any idea why commandline (secondary) still errors?
Thanks,
One Star

Re: [resolved] Connection to Generator failed (Command Line)

Hi
You mean the secondary parameters about commandline in TAC->Configuration still get errors?
It's OK. If you start up commandline using the secondary parameters, the primary one will get errors.
Hope I didn't misunderstand you.
Regards,
Pedro
Two Stars

Re: [resolved] Connection to Generator failed (Command Line)

yes the secondary commandline in tac-->configuration. So what you are saying is that only one commandline will be in use at anytime. Well that's fine as far as the jobs run as scheduled.
Thanks,
One Star

Re: [resolved] Connection to Generator failed (Command Line)

Hello,
I have a same problem with the Commandline
my question is :
How to :
- restart/stop/ start the Commandline
- restart/stop/start the SVN
Thanks for your answer.
NTC
Community Manager

Re: [resolved] Connection to Generator failed (Command Line)

Have you tried to type "help" to get all commands of the commandline?
Or check out https://help.talend.com/search/all?query=Setting+up+the+CommandLines%27+parameters&content-lang=en
The secondary commandline is only used as failover for the first commandline.
For a better follow up, I would suggest that you open a new thread in the Forum.
Elisa

HTH
One Star

Re: [resolved] Connection to Generator failed (Command Line)

Hello,
Can you give me the stape to start/restart/Stop Commandline
and Stop/start/restart SVN
Thanke for your answer.
NTC
One Star

Re: [resolved] Connection to Generator failed (Command Line)

I was facing similar problem after applying new license key to talend.
After trying a lot of things , I tried putting new license file in Talend installation directory/Cmdline folder and restarted Talend Command line service.
After this , issue was resolved.
One Star

Re: [resolved] Connection to Generator failed (Command Line)

Copying the license file to the command_line directory fixed it for me as well.

Re: [resolved] Connection to Generator failed (Command Line)

Hi,
I also faced the same error like "generator failed command" and as stated earlier I have stopped the commandline and deleted the commandline-workspace and restarted the commandline, but still facing the same issue while generating the job conductor.

Re: [resolved] Connection to Generator failed (Command Line)

We are using TAC 6.2.1. with GIT repository. when I try to configure git with TAC, I am giving my GIT id and password and also I have to provide my id in TAC user setting. Is this good for PROD level configuration?

Thanks