<?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: commandline.bat not working in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/commandline-bat-not-working/m-p/2271894#M49346</link>
    <description>Hi
&lt;BR /&gt;Is your system a 64bit or 32bit machine? Please see a related 11124.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
    <pubDate>Sun, 18 Jul 2010 15:00:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-07-18T15:00:55Z</dc:date>
    <item>
      <title>commandline.bat not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/commandline-bat-not-working/m-p/2271893#M49345</link>
      <description>Hi, 
&lt;BR /&gt;I'm running TIS 4.0.2 on a Windows 7 machine and I'm trying to drive Talend from the command line. I ran commandline.bat from a DOS prompt but got the attached error message (sorry, I couldn't copy and past it). For the record, commandline.bat contains: 
&lt;BR /&gt; TISEE-win32-x86.exe -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002 
&lt;BR /&gt;The error message states the jvm terminated with an exit code of -1, but there's no obvious "error". Can anybody help? I noticed both my CLASSPATH and JAVA_HOME parameters were empty. Could that explain it? 
&lt;BR /&gt;Any help, greatly appreciated.</description>
      <pubDate>Sat, 16 Nov 2024 13:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/commandline-bat-not-working/m-p/2271893#M49345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: commandline.bat not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/commandline-bat-not-working/m-p/2271894#M49346</link>
      <description>Hi
&lt;BR /&gt;Is your system a 64bit or 32bit machine? Please see a related 11124.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Sun, 18 Jul 2010 15:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/commandline-bat-not-working/m-p/2271894#M49346</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-18T15:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: commandline.bat not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/commandline-bat-not-working/m-p/2271895#M49347</link>
      <description>Hi Shong, 
&lt;BR /&gt;I'm running a 64 bit machine. I took your hint and changed the command to use the 64 bit executable, as follows: 
&lt;BR /&gt;TISEE-win32-x86_64.exe -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002 
&lt;BR /&gt;The good news is I now don't get an error. The bad news is nothing much else happens (see attached). Am I supposed to see something after the command executes (like a TIS prompt, for example)? 
&lt;BR /&gt;Just to be sure, I should point out I'm running this command on my local machine (where I've installed the TIS client), not the Talend server. Is that OK? 
&lt;BR /&gt;Even better, Shong, do you have an example of a "commandline" scripting conversation that runs TIS from the command line? That way, I will know what to aim for. I'm working somewhat blind at the moment. 
&lt;BR /&gt;Many thanks, 
&lt;BR /&gt;Keith</description>
      <pubDate>Mon, 19 Jul 2010 14:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/commandline-bat-not-working/m-p/2271895#M49347</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-19T14:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: commandline.bat not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/commandline-bat-not-working/m-p/2271896#M49348</link>
      <description>Further news: 
&lt;BR /&gt;I found this file ".log" in directory C:\TIS_EE-All-r43696-V4.0.2\TIS_EE-All-r43696-V4.0.2\commandline-workspace\.metadata 
&lt;BR /&gt;I tried to attach it, but the website wouldn't let me, so I've pasted it below. 
&lt;BR /&gt;It may be helpful. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Keith 
&lt;BR /&gt;================================================================= 
&lt;BR /&gt; 
&lt;BR /&gt;!SESSION 2010-07-19 09:12:12.956 ----------------------------------------------- 
&lt;BR /&gt;eclipse.buildId=unknown 
&lt;BR /&gt;java.version=1.6.0_20 
&lt;BR /&gt;java.vendor=Sun Microsystems Inc. 
&lt;BR /&gt;BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en 
&lt;BR /&gt;Framework arguments: -application org.talend.commandline.CommandLine 
&lt;BR /&gt;Command-line arguments: -os win32 -ws win32 -arch x86_64 -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace 
&lt;BR /&gt;!ENTRY org.talend.commandline 1 0 2010-07-19 09:12:13.848 
&lt;BR /&gt;!MESSAGE Starting up Command Line Application 
&lt;BR /&gt;!ENTRY org.talend.commandline 1 0 2010-07-19 09:12:14.485 
&lt;BR /&gt;!MESSAGE Shutting down Command Line Application 
&lt;BR /&gt;!SESSION 2010-07-19 09:13:10.842 ----------------------------------------------- 
&lt;BR /&gt;eclipse.buildId=unknown 
&lt;BR /&gt;java.version=1.6.0_20 
&lt;BR /&gt;java.vendor=Sun Microsystems Inc. 
&lt;BR /&gt;BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en 
&lt;BR /&gt;Framework arguments: -application org.talend.commandline.CommandLine startServer -p 8002 
&lt;BR /&gt;Command-line arguments: -os win32 -ws win32 -arch x86_64 -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002 
&lt;BR /&gt;!ENTRY org.talend.commandline 1 0 2010-07-19 09:13:11.745 
&lt;BR /&gt;!MESSAGE Starting up Command Line Application 
&lt;BR /&gt;!ENTRY org.talend.commandline 1 0 2010-07-19 09:13:12.118 
&lt;BR /&gt;!MESSAGE Server is shutting down : Unrecognized Windows Sockets error: 0: JVM_Bind 
&lt;BR /&gt;!ENTRY org.talend.commandline 1 0 2010-07-19 09:13:12.280 
&lt;BR /&gt;!MESSAGE Shutting down Command Line Application 
&lt;BR /&gt;!SESSION 2010-07-19 10:22:27.742 ----------------------------------------------- 
&lt;BR /&gt;eclipse.buildId=unknown 
&lt;BR /&gt;java.version=1.6.0_20 
&lt;BR /&gt;java.vendor=Sun Microsystems Inc. 
&lt;BR /&gt;BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en 
&lt;BR /&gt;Framework arguments: -application org.talend.commandline.CommandLine 
&lt;BR /&gt;Command-line arguments: -os win32 -ws win32 -arch x86_64 -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace 
&lt;BR /&gt;!ENTRY org.talend.commandline 1 0 2010-07-19 10:22:28.816 
&lt;BR /&gt;!MESSAGE Starting up Command Line Application 
&lt;BR /&gt;!ENTRY org.talend.commandline 1 0 2010-07-19 10:22:29.855 
&lt;BR /&gt;!MESSAGE Shutting down Command Line Application 
&lt;BR /&gt;!SESSION 2010-07-19 10:22:38.885 ----------------------------------------------- 
&lt;BR /&gt;eclipse.buildId=unknown 
&lt;BR /&gt;java.version=1.6.0_20 
&lt;BR /&gt;java.vendor=Sun Microsystems Inc. 
&lt;BR /&gt;BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en 
&lt;BR /&gt;Framework arguments: -application org.talend.commandline.CommandLine shell 
&lt;BR /&gt;Command-line arguments: -os win32 -ws win32 -arch x86_64 -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace shell 
&lt;BR /&gt;!ENTRY org.talend.commandline 1 0 2010-07-19 10:22:39.762 
&lt;BR /&gt;!MESSAGE Starting up Command Line Application 
&lt;BR /&gt;!ENTRY org.talend.commandline 1 0 2010-07-19 10:22:40.337 
&lt;BR /&gt;!MESSAGE Shutting down Command Line Application 
&lt;BR /&gt;!SESSION 2010-07-19 10:31:54.664 ----------------------------------------------- 
&lt;BR /&gt;eclipse.buildId=unknown 
&lt;BR /&gt;java.version=1.6.0_20 
&lt;BR /&gt;java.vendor=Sun Microsystems Inc. 
&lt;BR /&gt;BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en 
&lt;BR /&gt;Framework arguments: -application org.talend.commandline.CommandLine startServer -p 8002 
&lt;BR /&gt;Command-line arguments: -os win32 -ws win32 -arch x86_64 -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002 
&lt;BR /&gt;!ENTRY org.talend.commandline 1 0 2010-07-19 10:31:55.546 
&lt;BR /&gt;!MESSAGE Starting up Command Line Application 
&lt;BR /&gt;!ENTRY org.talend.commandline 1 0 2010-07-19 10:31:55.909 
&lt;BR /&gt;!MESSAGE Server is shutting down : Unrecognized Windows Sockets error: 0: JVM_Bind 
&lt;BR /&gt;!ENTRY org.talend.commandline 1 0 2010-07-19 10:31:56.071 
&lt;BR /&gt;!MESSAGE Shutting down Command Line Application</description>
      <pubDate>Mon, 19 Jul 2010 15:29:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/commandline-bat-not-working/m-p/2271896#M49348</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-19T15:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: commandline.bat not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/commandline-bat-not-working/m-p/2271897#M49349</link>
      <description>OK, got it to work. Here's a cutdown and anonymized version of my bash shell script that I run directly on the Talend server. The pathnames within it will need some tweaking to make it actually run. 
&lt;BR /&gt; 
&lt;BR /&gt;#!/bin/sh 
&lt;BR /&gt;read -s -p "Enter your password to the subversion repository YOUR_REPOSITORY: " repository_password 
&lt;BR /&gt;echo "initRemote http://localhost:8080/org.talend.administrator/" &amp;gt; script.tld # start new file 
&lt;BR /&gt;echo "logonProject -pn YOUR_PROJECT -ul YOUR_REPOSITORY_USERNAME -up $repository_password" &amp;gt;&amp;gt; script.tld 
&lt;BR /&gt;echo "executeJob NAME_OF_TALEND_JOB -i /usr/lib/jvm/java-1.4.2/bin/java -jv 0.1 -jc Prod -jrdd ../results001" &amp;gt;&amp;gt; script.tld 
&lt;BR /&gt;rm -f ../results001/* 
&lt;BR /&gt;....../talend/commandline/TISEE-linux-gtk-x86 -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace scriptFile "script.tld" 
&lt;BR /&gt;rm -f script.tld # because it contains a cleartext password 
&lt;BR /&gt; 
&lt;BR /&gt;I hope this helps.</description>
      <pubDate>Tue, 20 Jul 2010 17:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/commandline-bat-not-working/m-p/2271897#M49349</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-20T17:28:12Z</dc:date>
    </item>
  </channel>
</rss>

