<?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 CommandLine - Unauthorized user error with command executeJobOnServer in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/CommandLine-Unauthorized-user-error-with-command/m-p/2303693#M146182</link>
    <description>Hi, 
&lt;BR /&gt; I got a problem with the commandLine feature "executeJobOnServer". 
&lt;BR /&gt; I have two job server, on one of them, everything works fine, on the other one, when i try to execute a job with the command executeJobOnServer &amp;lt;JobName&amp;gt; -es &amp;lt;JobServerName&amp;gt;, i have this exception : 
&lt;BR /&gt;--------------------------------------------------------------------------------------------------------------------------------- 
&lt;BR /&gt;talend&amp;gt; getCommandStatus 8 
&lt;BR /&gt;FAILED at Wed Jan 11 15:44:17 CET 2012 
&lt;BR /&gt;exception : org.talend.commandline.client.command.CommandStatusWrapException: org.talend.remote.comm 
&lt;BR /&gt;ons.exception.ClientServerException: Unauthorized user 
&lt;BR /&gt; at org.talend.remote.client.AbstractObjectClient.sendCommand(Unknown Source) 
&lt;BR /&gt; at org.talend.remote.jobserver.client.CommandClient.requestDeployJob(Unknown Source) 
&lt;BR /&gt; at org.talend.commandline.util.ExecutionServerHelper.deploy(Unknown Source) 
&lt;BR /&gt; at org.talend.commandline.util.ExecutionServerHelper.deployAndRun(Unknown Source) 
&lt;BR /&gt; at org.talend.commandline.util.ExecutionServerHelper.deployAndRun(Unknown Source) 
&lt;BR /&gt; at org.talend.commandline.command.CommandProcessor.executeJobOnServer(Unknown Source) 
&lt;BR /&gt; at org.talend.commandline.command.ExtensionCommandSwitch.caseExecuteJobOnServerCommand(Unkno 
&lt;BR /&gt;wn Source) 
&lt;BR /&gt; at org.talend.commandline.client.command.extension.AbstractExtensionCommandSwitch.doSwitch(U 
&lt;BR /&gt;nknown Source) 
&lt;BR /&gt; at org.talend.commandline.command.CommandProcessorSwitch.caseExtensionCommand(Unknown Source 
&lt;BR /&gt;) 
&lt;BR /&gt; at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(Unknown Source) 
&lt;BR /&gt; at org.talend.commandline.command.CommandConsumer.executeCommand(Unknown Source) 
&lt;BR /&gt; at org.talend.commandline.command.CommandConsumer.execute(Unknown Source) 
&lt;BR /&gt; at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(Unknown Source 
&lt;BR /&gt;) 
&lt;BR /&gt; at java.lang.Thread.run(Unknown Source) 
&lt;BR /&gt;--------------------------------------------------------------------------------------------------------------------------------- 
&lt;BR /&gt;I don't understand why. When i execute the job from the Studio, it works fine, but i can define user and password for my jobServer information (in Windows --&amp;gt; preferences --&amp;gt; Talend --&amp;gt; Run/Debug --&amp;gt; Remote). 
&lt;BR /&gt;Any help will be welcome.</description>
    <pubDate>Sat, 16 Nov 2024 12:27:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T12:27:54Z</dc:date>
    <item>
      <title>CommandLine - Unauthorized user error with command executeJobOnServer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CommandLine-Unauthorized-user-error-with-command/m-p/2303693#M146182</link>
      <description>Hi, 
&lt;BR /&gt; I got a problem with the commandLine feature "executeJobOnServer". 
&lt;BR /&gt; I have two job server, on one of them, everything works fine, on the other one, when i try to execute a job with the command executeJobOnServer &amp;lt;JobName&amp;gt; -es &amp;lt;JobServerName&amp;gt;, i have this exception : 
&lt;BR /&gt;--------------------------------------------------------------------------------------------------------------------------------- 
&lt;BR /&gt;talend&amp;gt; getCommandStatus 8 
&lt;BR /&gt;FAILED at Wed Jan 11 15:44:17 CET 2012 
&lt;BR /&gt;exception : org.talend.commandline.client.command.CommandStatusWrapException: org.talend.remote.comm 
&lt;BR /&gt;ons.exception.ClientServerException: Unauthorized user 
&lt;BR /&gt; at org.talend.remote.client.AbstractObjectClient.sendCommand(Unknown Source) 
&lt;BR /&gt; at org.talend.remote.jobserver.client.CommandClient.requestDeployJob(Unknown Source) 
&lt;BR /&gt; at org.talend.commandline.util.ExecutionServerHelper.deploy(Unknown Source) 
&lt;BR /&gt; at org.talend.commandline.util.ExecutionServerHelper.deployAndRun(Unknown Source) 
&lt;BR /&gt; at org.talend.commandline.util.ExecutionServerHelper.deployAndRun(Unknown Source) 
&lt;BR /&gt; at org.talend.commandline.command.CommandProcessor.executeJobOnServer(Unknown Source) 
&lt;BR /&gt; at org.talend.commandline.command.ExtensionCommandSwitch.caseExecuteJobOnServerCommand(Unkno 
&lt;BR /&gt;wn Source) 
&lt;BR /&gt; at org.talend.commandline.client.command.extension.AbstractExtensionCommandSwitch.doSwitch(U 
&lt;BR /&gt;nknown Source) 
&lt;BR /&gt; at org.talend.commandline.command.CommandProcessorSwitch.caseExtensionCommand(Unknown Source 
&lt;BR /&gt;) 
&lt;BR /&gt; at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(Unknown Source) 
&lt;BR /&gt; at org.talend.commandline.command.CommandConsumer.executeCommand(Unknown Source) 
&lt;BR /&gt; at org.talend.commandline.command.CommandConsumer.execute(Unknown Source) 
&lt;BR /&gt; at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(Unknown Source 
&lt;BR /&gt;) 
&lt;BR /&gt; at java.lang.Thread.run(Unknown Source) 
&lt;BR /&gt;--------------------------------------------------------------------------------------------------------------------------------- 
&lt;BR /&gt;I don't understand why. When i execute the job from the Studio, it works fine, but i can define user and password for my jobServer information (in Windows --&amp;gt; preferences --&amp;gt; Talend --&amp;gt; Run/Debug --&amp;gt; Remote). 
&lt;BR /&gt;Any help will be welcome.</description>
      <pubDate>Sat, 16 Nov 2024 12:27:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CommandLine-Unauthorized-user-error-with-command/m-p/2303693#M146182</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: CommandLine - Unauthorized user error with command executeJobOnServer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CommandLine-Unauthorized-user-error-with-command/m-p/2303694#M146183</link>
      <description>Hi&lt;BR /&gt;I didn't encounter this issue.&lt;BR /&gt;But I think the error tip is clear "Unauthorized user".&lt;BR /&gt;Could you show me the command which you type.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Thu, 12 Jan 2012 05:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CommandLine-Unauthorized-user-error-with-command/m-p/2303694#M146183</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-12T05:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: CommandLine - Unauthorized user error with command executeJobOnServer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CommandLine-Unauthorized-user-error-with-command/m-p/2303695#M146184</link>
      <description>Hi pedro, 
&lt;BR /&gt; Thank you for your reply. 
&lt;BR /&gt; So, i will list you every command i type : 
&lt;BR /&gt; initRemote "http://serverAddress:8080/org.talend.administrator" 
&lt;BR /&gt; logonProject -pn projectName -ul login@company.com -up password 
&lt;BR /&gt; executeJobOnServer JobName -es serverName 
&lt;BR /&gt; 
&lt;BR /&gt; serverName is the name of my job server as it is register in my Administration Console. 
&lt;BR /&gt; I know that "Unauthorized user" is clear. And, if i don't write any user,password in the jobServer file user.csv (in conf repertory), everythings work fine. But, i don't understand why, on my second JobServer, it works (when i define one or more user in user.csv) and not on this one. Is there any possibility for login on a jobServer with commandLine? 
&lt;BR /&gt; Regards,</description>
      <pubDate>Thu, 12 Jan 2012 09:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CommandLine-Unauthorized-user-error-with-command/m-p/2303695#M146184</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-12T09:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: CommandLine - Unauthorized user error with command executeJobOnServer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CommandLine-Unauthorized-user-error-with-command/m-p/2303696#M146185</link>
      <description>Hi&lt;BR /&gt;Sorry for that i can't reproduce this issue.&lt;BR /&gt;Does anybody know this?&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Mon, 16 Jan 2012 02:58:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CommandLine-Unauthorized-user-error-with-command/m-p/2303696#M146185</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-16T02:58:32Z</dc:date>
    </item>
  </channel>
</rss>

