Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Connection to generator Failed (CommandLine)

Hi,
We are facing the Following Problem, We are trying to run the Job from TAC, after defining the Job Details when we select the Generate Tab we are getting the following error "Connection to Generator Failed (Commandline)"
I have also tried to shut the Commandline and Restart it, but am getting the Same error.
I have followed the instruction from the Following Post
https://community.talend.com/t5/Design-and-Development/resolved-Connection-to-Generator-failed-Comma.....

Can u guys guide me to make that Work

Below i have attached the Log File.
"Failed to connect to CommandLine
org.talend.administrator.scheduler.business.job.generate.JobGenerator.connectCommandLine(JobGenerator.java:223)
org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:128)
org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:363)
org.talend.administrator.scheduler.business.ExecutionTaskHandler$1.run(ExecutionTaskHandler.java:307)
Caused by: commandline.error.connection
org.talend.administrator.commandline.CommandLineFactory.getCommandLineConf(CommandLineFactory.java:104)
org.talend.administrator.scheduler.business.job.generate.JobGenerator.connectCommandLine(JobGenerator.java:220)
org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:128)
org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:363)
org.talend.administrator.scheduler.business.ExecutionTaskHandler$1.run(ExecutionTaskHandler.java:307)
Caused by: Connection refused
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
java.net.Socket.connect(Socket.java:529)
java.net.Socket.connect(Socket.java:478)
java.net.Socket.<init>(Socket.java:375)
java.net.Socket.<init>(Socket.java:189)
org.talend.commandline.client.CommandLineAbstractClient.connect(Unknown Source)
org.talend.commandline.client.CommandLineJavaClient.command(Unknown Source)
org.talend.commandline.client.CommandLineJavaClient.access$0(Unknown Source)
org.talend.commandline.client.CommandLineJavaClient$1.run(Unknown Source)"

Thanks
Arul
Labels (4)
1 Solution

Accepted Solutions
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.

View solution in original post

5 Replies
Anonymous
Not applicable
Author

Hi,
What the build version you are using? Talend Enterprise Subscription products or Talend Free trial products?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
We are using Talend 5.1.1 and it is Subscription Product not the free Trial.
Thanks
Arul
Anonymous
Not applicable
Author

Hi,
We would suggest you to connect to the Talend Support portal and log your request, so that we can give a remote assistance to you to address your issue quickly.
Best regards
Sabrina
Anonymous
Not applicable
Author

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.