<?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: ci_builder fails to logon with logonProject in Installing and Upgrading</title>
    <link>https://community.qlik.com/t5/Installing-and-Upgrading/ci-builder-fails-to-logon-with-logonProject/m-p/2399740#M9307</link>
    <description>&lt;P&gt;With help from Talend support, got this one resolved.&amp;nbsp; The problem originated when we ran commandline as the root user.&amp;nbsp; It needs to be run as the same user that Jenkins is building&amp;nbsp; the job as -- in our case, the same user that Jenkins is running as.&amp;nbsp; Running as root, commandline left a number of files and folders scattered around owned by root.&amp;nbsp; Later, running as the Jenkins user, it couldn't access those files and folders.&amp;nbsp; All the files and folders in the commandline workspace need to be owned by the same user that is building the jobs.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Oh, and commanline.user is a dummy parameter.&amp;nbsp; Doesn't do anything.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Oct 2018 22:12:53 GMT</pubDate>
    <dc:creator>holtryfc</dc:creator>
    <dc:date>2018-10-09T22:12:53Z</dc:date>
    <item>
      <title>ci_builder fails to logon with logonProject</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/ci-builder-fails-to-logon-with-logonProject/m-p/2399739#M9306</link>
      <description>&lt;P&gt;We recently installed&amp;nbsp;Talend-CI-Builder-20180411_1414-V7.0.1 with Maven 3.5.3, Jenkins 2.101 and Java&amp;nbsp;&amp;nbsp;jdk1.8.0_144.&amp;nbsp; Talend 7.0.1 cmdline (and studio) is owned by a local user and runs in daemon mode as that user.&amp;nbsp; Jenkins also runs as that user. Our system is Linux 2.6.32-696.10.2.el6.x86_64.&amp;nbsp; We used&amp;nbsp;&lt;A href="https://community.qlik.com/s/article/ka03p0000006EuRAAU#CI%20Builder" target="_blank"&gt;https://community.talend.com/t5/Architecture-Best-Practices-and/Continuous-Integration-with-Talend-CI-Builder-6-3/ta-p/33033#CI%20Builder&lt;/A&gt; to do the install.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;We&amp;nbsp;have configured the maven option commandline.user with dummy@talend.com and various local users but still get the following error:&lt;/P&gt; 
&lt;PRE&gt;&lt;SPAN class="error-inline"&gt;[ERROR] Failed to execute goal org.talend:ci.builder:7.0.1:generate (default-cli) on project code.Master: Fail to execute command: LogonProjectCommand log on CBMS_TRANSFORMATION_DEV: Have exceptions when execute the command: LogonProjectCommand log on CBMS_TRANSFORMATION_DEV: java.lang.NullPointerException&lt;/SPAN&gt;&lt;SPAN class="error-inline"&gt;[ERROR] at org.talend.librariesmanager.model.service.LocalLibraryManager.isInitialized(LocalLibraryManager.java:123)&lt;/SPAN&gt;&lt;SPAN class="error-inline"&gt;[ERROR] at org.talend.librariesmanager.model.service.LocalLibraryManager.clearCache(LocalLibraryManager.java:702)&lt;/SPAN&gt;&lt;SPAN class="error-inline"&gt;[ERROR] at org.talend.core.model.components.ComponentManager.saveResource(ComponentManager.java:62)&lt;/SPAN&gt;&lt;SPAN class="error-inline"&gt;[ERROR] at org.talend.designer.codegen.components.model.ComponentsFactory.init(ComponentsFactory.java:190)&lt;/SPAN&gt;&lt;SPAN class="error-inline"&gt;[ERROR] at org.talend.designer.codegen.components.model.ComponentsFactory.getComponents(ComponentsFactory.java:827)&lt;/SPAN&gt;&lt;SPAN class="error-inline"&gt;[ERROR] at org.talend.designer.joblet.utils.JobletComponentsUtils.loadComponentsFromJoblets(JobletComponentsUtils.java:140)&lt;/SPAN&gt;&lt;SPAN class="error-inline"&gt;[ERROR] at org.talend.designer.joblet.ui.process.JobletProcessProvider.loadComponentsFromExtensionPoint(JobletProcessProvider.java:190)&lt;/SPAN&gt;&lt;SPAN class="error-inline"&gt;[ERROR] at org.talend.designer.core.model.process.AbstractProcessProvider.loadComponentsFromProviders(AbstractProcessProvider.java:128)&lt;/SPAN&gt;&lt;SPAN class="error-inline"&gt;[ERROR] at org.talend.designer.joblet.JobletProviderService.loadComponentsFromProviders(JobletProviderService.java:408)&lt;/SPAN&gt;&lt;SPAN class="error-inline"&gt;[ERROR] at org.talend.core.model.repository.RepositoryManager.syncRoutineAndJoblet(RepositoryManager.java:109)&lt;/SPAN&gt;&lt;SPAN class="error-inline"&gt;[ERROR] at org.talend.commandline.command.CommandProcessor.logonProject(CommandProcessor.java:160)&lt;/SPAN&gt;&lt;SPAN class="error-inline"&gt;[ERROR] at org.talend.commandline.command.CommandProcessorSwitch.caseLogonProjectCommand(CommandProcessorSwitch.java:146)&lt;/SPAN&gt;&lt;SPAN class="error-inline"&gt;[ERROR] at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:54)&lt;/SPAN&gt;&lt;SPAN class="error-inline"&gt;[ERROR] at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:57)&lt;/SPAN&gt;&lt;SPAN class="error-inline"&gt;[ERROR] at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:35)&lt;/SPAN&gt;&lt;SPAN class="error-inline"&gt;[ERROR] at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139)&lt;/SPAN&gt;&lt;SPAN class="error-inline"&gt;[ERROR] at java.lang.Thread.run(Thread.java:748)&lt;/SPAN&gt;&lt;SPAN class="error-inline"&gt;[ERROR] -&amp;gt; [Help 1]&lt;/SPAN&gt;&lt;/PRE&gt; 
&lt;P&gt;How does cmdline authenticate the user?&amp;nbsp; Does it do a lookup on /etc/passwd?&amp;nbsp; What do we need to do to fix this error?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:30:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/ci-builder-fails-to-logon-with-logonProject/m-p/2399739#M9306</guid>
      <dc:creator>holtryfc</dc:creator>
      <dc:date>2024-11-16T07:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: ci_builder fails to logon with logonProject</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/ci-builder-fails-to-logon-with-logonProject/m-p/2399740#M9307</link>
      <description>&lt;P&gt;With help from Talend support, got this one resolved.&amp;nbsp; The problem originated when we ran commandline as the root user.&amp;nbsp; It needs to be run as the same user that Jenkins is building&amp;nbsp; the job as -- in our case, the same user that Jenkins is running as.&amp;nbsp; Running as root, commandline left a number of files and folders scattered around owned by root.&amp;nbsp; Later, running as the Jenkins user, it couldn't access those files and folders.&amp;nbsp; All the files and folders in the commandline workspace need to be owned by the same user that is building the jobs.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Oh, and commanline.user is a dummy parameter.&amp;nbsp; Doesn't do anything.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 22:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/ci-builder-fails-to-logon-with-logonProject/m-p/2399740#M9307</guid>
      <dc:creator>holtryfc</dc:creator>
      <dc:date>2018-10-09T22:12:53Z</dc:date>
    </item>
  </channel>
</rss>

