<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Running Job From Talend Studio on Job Server via Commandline in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Running-Job-From-Talend-Studio-on-Job-Server-via-Commandline/m-p/2292736#M146993</link>
    <description>Hi Krishna 
&lt;BR /&gt;Have a try to uncheck 'enable commandline server' box in Windows--&amp;gt;Preferences--&amp;gt;Talend--&amp;gt;Run/debug--&amp;gt;Remote Panel, it will export the job script from studio and deploy it to Job Server. Let me know if it is able to connecte to Job server without commandline? 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
    <pubDate>Tue, 17 Jan 2017 01:36:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-01-17T01:36:37Z</dc:date>
    <item>
      <title>Running Job From Talend Studio on Job Server via Commandline</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-Job-From-Talend-Studio-on-Job-Server-via-Commandline/m-p/2292733#M146990</link>
      <description>Hello Talend Users, 
&lt;BR /&gt;I have a problem with running a job using Talend Studio executing on a Job Server. It uses Talend Command Line to do this. Any guidance on what I can check or do in order to troubleshoot this problem would be appreciated. 
&lt;BR /&gt;Environment/Facts: 
&lt;BR /&gt; 
&lt;BR /&gt;Project created on TAC, project name INSTALL_VALIDATION 
&lt;BR /&gt;Project uses SVN as the storage mechanism 
&lt;BR /&gt;Job created on Talend Studio, with one component to send an email using tSendMail. 
&lt;BR /&gt;Talend Studio Remote Job Servers and Command Line Server configured with appropriate ports. 
&lt;BR /&gt;Command Line Connectivity checked using "telnet &amp;lt;Command Line Host Name&amp;gt; 8002" 
&lt;BR /&gt;Job Server 1 main connectivity checked using "telnet &amp;lt;Job Server 1 Host Name&amp;gt; 8000" 
&lt;BR /&gt;Job Server 1 file transfer connectivity checked using "telnet &amp;lt;Job Server 1 Host Name&amp;gt; 8001" 
&lt;BR /&gt;Job Server 2 main connectivity checked using "telnet &amp;lt;Job Server 1 Host Name&amp;gt; 8000" 
&lt;BR /&gt;Job Server 2 file transfer&amp;nbsp;connectivity checked using "telnet &amp;lt;Job Server 1 Host Name&amp;gt; 8001" 
&lt;BR /&gt; 
&lt;BR /&gt;When I run the job, Talend Studio is successful in using command line to log on to the project, but fails when deploying the job to the Job Server. 
&lt;BR /&gt;I have attached the exception trace to the post, and pasted it below as well. 
&lt;BR /&gt;Starting job SendEmail at 12:12 15/01/2017. 
&lt;BR /&gt;connect to commandline server: &amp;nbsp;Commandline server &amp;nbsp;(&amp;lt;COMMAND LINE SERVER&amp;gt;:8002) 
&lt;BR /&gt;send command to commandline server... 
&lt;BR /&gt;InitRemoteCommand initRemote 
&lt;BR /&gt;COMPLETED at Sun Jan 15 12:12:25 AEDT 2017 
&lt;BR /&gt;LogonProjectCommand log on INSTALL_VALIDATION(trunk) 
&lt;BR /&gt;COMPLETED at Sun Jan 15 12:12:27 AEDT 2017 
&lt;BR /&gt;deployJobToServer 'SendEmail' -es 'JS1' -jv '0.1' -jc 'Default' -useSSL -un 'User' -pd '********' 
&lt;BR /&gt;FAILED at Sun Jan 15 12:12:39 AEDT 2017 
&lt;BR /&gt;exception : org.talend.commandline.client.command.CommandStatusWrapException: org.talend.designer.runprocess.ProcessorException: org.talend.remote.commons.exception.ClientServerException: java.net.SocketException: Connection reset 
&lt;BR /&gt;at org.talend.commandline.util.ExecutionServerHelper.sendJob(ExecutionServerHelper.java:303) 
&lt;BR /&gt;at org.talend.commandline.util.ExecutionServerHelper.deployAndRun(ExecutionServerHelper.java:184) 
&lt;BR /&gt;at org.talend.commandline.util.ExecutionServerHelper.deploy(ExecutionServerHelper.java:173) 
&lt;BR /&gt;at org.talend.commandline.command.CommandProcessor.deployJobToServer(CommandProcessor.java:477) 
&lt;BR /&gt;at org.talend.commandline.command.ExtensionCommandSwitch.caseDeployJobToServerCommand(ExtensionCommandSwitch.java:180) 
&lt;BR /&gt;at org.talend.commandline.client.command.extension.AbstractExtensionCommandSwitch.doSwitch(AbstractExtensionCommandSwitch.java:49) 
&lt;BR /&gt;at org.talend.commandline.command.CommandProcessorSwitch.caseExtensionCommand(CommandProcessorSwitch.java:161) 
&lt;BR /&gt;at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:70) 
&lt;BR /&gt;at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:57) 
&lt;BR /&gt;at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:35) 
&lt;BR /&gt;at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139) 
&lt;BR /&gt;at java.lang.Thread.run(Thread.java:745) 
&lt;BR /&gt;Caused by: org.talend.remote.commons.exception.ClientServerException: java.net.SocketException: Connection reset 
&lt;BR /&gt;at org.talend.remote.jobserver.client.FileSenderClient.sendData(FileSenderClient.java:292) 
&lt;BR /&gt;at org.talend.remote.jobserver.client.FileSenderClient.sendFileInternal(FileSenderClient.java:243) 
&lt;BR /&gt;at org.talend.remote.jobserver.client.FileSenderClient.doSend(FileSenderClient.java:228) 
&lt;BR /&gt;at org.talend.remote.jobserver.client.FileSenderClient.access$7(FileSenderClient.java:223) 
&lt;BR /&gt;at org.talend.remote.jobserver.client.FileSenderClient$1.run(FileSenderClient.java:196) 
&lt;BR /&gt;Caused by: java.net.SocketException: Connection reset 
&lt;BR /&gt;at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113) 
&lt;BR /&gt;at java.net.SocketOutputStream.write(SocketOutputStream.java:153) 
&lt;BR /&gt;at sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:431) 
&lt;BR /&gt;at sun.security.ssl.OutputRecord.write(OutputRecord.java:417) 
&lt;BR /&gt;at sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:876) 
&lt;BR /&gt;at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:847) 
&lt;BR /&gt;at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123) 
&lt;BR /&gt;at org.talend.remote.jobserver.client.FileSenderClient.sendData(FileSenderClient.java:275) 
&lt;BR /&gt;... 4 more 
&lt;BR /&gt;Job SendEmail ended at 12:12 15/01/2017. 
&lt;BR /&gt;job_run.txt.txt</description>
      <pubDate>Sat, 16 Nov 2024 10:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-Job-From-Talend-Studio-on-Job-Server-via-Commandline/m-p/2292733#M146990</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T10:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Running Job From Talend Studio on Job Server via Commandline</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-Job-From-Talend-Studio-on-Job-Server-via-Commandline/m-p/2292734#M146991</link>
      <description>&lt;PRE&gt;deployJobToServer 'SendEmail' -es 'JS1' -jv '0.1' -jc 'Default' -useSSL -un 'User' -pd '********'&lt;/PRE&gt; 
&lt;BR /&gt;Is it able to connect to job server from TAC? Are you sure it requires username/password for the connection? By default, username/password is not required. 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 16 Jan 2017 10:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-Job-From-Talend-Studio-on-Job-Server-via-Commandline/m-p/2292734#M146991</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-16T10:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Running Job From Talend Studio on Job Server via Commandline</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-Job-From-Talend-Studio-on-Job-Server-via-Commandline/m-p/2292735#M146992</link>
      <description>Hi Shong, thanks for your reply. 
&lt;BR /&gt;The user name and password was not something that I entered, the command is being issued by Talend Studio. &amp;nbsp;The exception stack I copied is from the Talend Studio Run Window. &amp;nbsp;And yes the job server is accessible from the TAC. I can see the Job Servers on the TAC Servers page (all with green ticks). &amp;nbsp;Additionally I can also confirm connectivity of Job Server to the Talend Admin Server on ports 8000 and 8001. 
&lt;BR /&gt;Is there anything else I can try, or logs that I can check out. 
&lt;BR /&gt;Thanks in advance! 
&lt;BR /&gt;Krishna</description>
      <pubDate>Mon, 16 Jan 2017 11:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-Job-From-Talend-Studio-on-Job-Server-via-Commandline/m-p/2292735#M146992</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2017-01-16T11:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Running Job From Talend Studio on Job Server via Commandline</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-Job-From-Talend-Studio-on-Job-Server-via-Commandline/m-p/2292736#M146993</link>
      <description>Hi Krishna 
&lt;BR /&gt;Have a try to uncheck 'enable commandline server' box in Windows--&amp;gt;Preferences--&amp;gt;Talend--&amp;gt;Run/debug--&amp;gt;Remote Panel, it will export the job script from studio and deploy it to Job Server. Let me know if it is able to connecte to Job server without commandline? 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 17 Jan 2017 01:36:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-Job-From-Talend-Studio-on-Job-Server-via-Commandline/m-p/2292736#M146993</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-17T01:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Running Job From Talend Studio on Job Server via Commandline</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-Job-From-Talend-Studio-on-Job-Server-via-Commandline/m-p/2292737#M146994</link>
      <description>Hi Shong, 
&lt;BR /&gt;Thanks for your reply, I tried without the commandline as well. Got an IOException error message. 
&lt;BR /&gt;The thing is our Non Production environment is working well and our Production environment is where it was not working. &amp;nbsp;We did a side by side comparison of the install folders in the Job Server. &amp;nbsp;What we found was the permissions on some Production job server files were owned by the root user. &amp;nbsp; Whereas in the NonProduction environment everything job server related was owned by talenduser. 
&lt;BR /&gt;So changing the ownership and restarting the job server fixed the issue! 
&lt;BR /&gt;Thanks again for your time! 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Krishna</description>
      <pubDate>Tue, 17 Jan 2017 23:53:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-Job-From-Talend-Studio-on-Job-Server-via-Commandline/m-p/2292737#M146994</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2017-01-17T23:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Running Job From Talend Studio on Job Server via Commandline</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-Job-From-Talend-Studio-on-Job-Server-via-Commandline/m-p/2292738#M146995</link>
      <description>Great, thanks for your feedback and sharing the solution.</description>
      <pubDate>Wed, 18 Jan 2017 01:46:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-Job-From-Talend-Studio-on-Job-Server-via-Commandline/m-p/2292738#M146995</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-18T01:46:33Z</dc:date>
    </item>
  </channel>
</rss>

