Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[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
Labels (3)
18 Replies
ar7368
Contributor
Contributor

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,
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

Hello,
Can you give me the stape to start/restart/Stop Commandline
and Stop/start/restart SVN
Thanke for your answer.
NTC
Anonymous
Not applicable
Author

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.
Anonymous
Not applicable
Author

Copying the license file to the command_line directory fixed it for me as well.
Anonymous
Not applicable
Author

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.
Anonymous
Not applicable
Author

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
zjing
Contributor III
Contributor III

This solution works well for me.

 

My version of TAC  is v6.1.1