<?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: tAS400Input Error : No X11 DISPLAY variable was set in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tAS400Input-Error-No-X11-DISPLAY-variable-was-set/m-p/2213453#M10697</link>
    <description>OK, let me know what happened</description>
    <pubDate>Mon, 30 Jan 2017 14:55:10 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2017-01-30T14:55:10Z</dc:date>
    <item>
      <title>tAS400Input Error : No X11 DISPLAY variable was set</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAS400Input-Error-No-X11-DISPLAY-variable-was-set/m-p/2213450#M10694</link>
      <description>Hello, 
&lt;BR /&gt;I'm having a wierd problem in a tAS400Input component : when I run it in AIX, using a headless server, calling the jar from the shell, I get the following error in the logs : 
&lt;BR /&gt;"Exception in component tAS400Input_1 
&lt;BR /&gt;java.awt.HeadlessException: 
&lt;BR /&gt;No X11 DISPLAY variable was set, but this program performed an operation which requires it." 
&lt;BR /&gt;Inside the component is a simple SQL SELECT, with a java variable outside of the quotes, and simple SQL functions, but I highly doubt the SQL has to do with the error. 
&lt;BR /&gt;In the stacktrace, you can see that at the top, a few function calls after DriverManager, there is a java.awt.GraphicsEnvironment.CheckHeadless(), which is wierd because you shouldn't need GUI for SQL SELECT. 
&lt;BR /&gt;Here's the full stacktrace : 
&lt;BR /&gt; 
&lt;A href="http://pastebin.com/raw/3g7XmDMS" target="_blank" rel="nofollow noopener noreferrer"&gt;http://pastebin.com/raw/3g7XmDMS&lt;/A&gt; 
&lt;BR /&gt;Does anyone know why this is happening and how to fix it ? 
&lt;BR /&gt;Many thanks in advance.</description>
      <pubDate>Mon, 30 Jan 2017 14:31:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAS400Input-Error-No-X11-DISPLAY-variable-was-set/m-p/2213450#M10694</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-30T14:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: tAS400Input Error : No X11 DISPLAY variable was set</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAS400Input-Error-No-X11-DISPLAY-variable-was-set/m-p/2213451#M10695</link>
      <description>Hi,
&lt;BR /&gt;Try to add&amp;nbsp;
&lt;FONT color="#242729"&gt;&lt;FONT face="Consolas, Menlo, Monaco, " lucida="" console=""&gt;-Djava.awt.headless=true&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;on the command line which launch the job or set DISPLAY environment variable to the value ":0.0" in the .sh script file you use to activate th job.
&lt;BR /&gt;Hope this helps,
&lt;BR /&gt;TRF</description>
      <pubDate>Mon, 30 Jan 2017 14:42:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAS400Input-Error-No-X11-DISPLAY-variable-was-set/m-p/2213451#M10695</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-01-30T14:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: tAS400Input Error : No X11 DISPLAY variable was set</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAS400Input-Error-No-X11-DISPLAY-variable-was-set/m-p/2213452#M10696</link>
      <description>Thanks for the quick reply, I'll try both, but I'll probably have to come back in a few days to update this and tell you if it worked because the error only happens in an integration environment and I cannot have the team run it any time I want 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 30 Jan 2017 14:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAS400Input-Error-No-X11-DISPLAY-variable-was-set/m-p/2213452#M10696</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-30T14:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: tAS400Input Error : No X11 DISPLAY variable was set</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAS400Input-Error-No-X11-DISPLAY-variable-was-set/m-p/2213453#M10697</link>
      <description>OK, let me know what happened</description>
      <pubDate>Mon, 30 Jan 2017 14:55:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAS400Input-Error-No-X11-DISPLAY-variable-was-set/m-p/2213453#M10697</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-01-30T14:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: tAS400Input Error : No X11 DISPLAY variable was set</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAS400Input-Error-No-X11-DISPLAY-variable-was-set/m-p/2213454#M10698</link>
      <description>I think I understood why Java called GUI libs, I noticed I had a problem in my context variables : the tAS400Input was in repository mode, and used context variables which were not set anymore. In Talend Open Studio, when you run it with an empty context, a pop-up appears and asks for user/pwd, but this behaviour cannot work in a headless setting. 
&lt;BR /&gt;Here's the pop-up : 
&lt;BR /&gt; 
&lt;A href="https://image.noelshack.com/fichiers/2017/05/1485788439-signondbms.jpg" rel="nofollow noopener noreferrer"&gt;https://image.noelshack.com/fichiers/2017/05/1485788439-signondbms.jpg&lt;/A&gt; 
&lt;BR /&gt;I think my problem is solved, I'll come back again if this doesn't work. 
&lt;BR /&gt;It's amazing how I've struggled to try and find an answer myself for days and I've only just thought of this minutes after posting this topic &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;</description>
      <pubDate>Mon, 30 Jan 2017 14:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAS400Input-Error-No-X11-DISPLAY-variable-was-set/m-p/2213454#M10698</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-30T14:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: tAS400Input Error : No X11 DISPLAY variable was set</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAS400Input-Error-No-X11-DISPLAY-variable-was-set/m-p/2213455#M10699</link>
      <description>In context tab, be carefull to uncheck the checkbox next to the value for each context where you don't want to ask the user to provide a value.&lt;BR /&gt;TRF</description>
      <pubDate>Mon, 30 Jan 2017 15:25:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAS400Input-Error-No-X11-DISPLAY-variable-was-set/m-p/2213455#M10699</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-01-30T15:25:45Z</dc:date>
    </item>
  </channel>
</rss>

