<?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: Problem with type password as context variable in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203130#M4575</link>
    <description>Hi, 
&lt;BR /&gt;First of all, do you necessarily need the password to be saved with your job. Decoupling the code &amp;amp; the credentials is almost generally a better practice. 
&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; 
&lt;BR /&gt;Having said that, the same thing worked on my Talend (v5.2.2). So, I don't see any reason for it to not work for your version. 
&lt;BR /&gt;Just a pointer, I hope you have configured the job to specifically pick the values from within the saved values &amp;amp; the job isn't looking for the value in a config file. 
&lt;BR /&gt;Hope this helps. Let me know if it doesn't. 
&lt;BR /&gt;MathurM</description>
    <pubDate>Mon, 24 Nov 2014 07:24:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-24T07:24:11Z</dc:date>
    <item>
      <title>Problem with type password as context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203128#M4573</link>
      <description>Good afternoon, 
&lt;BR /&gt;I've got an issue when I use a context variable which type is password. 
&lt;BR /&gt;When I tried to execute it (without any others components), I get the following error : 
&lt;BR /&gt; 
&lt;PRE&gt;routines.system.JSONException: JSONObject not found.&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at routines.system.JSONObject.get(JSONObject.java:363)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at routines.system.ResumeUtil.convertToJsonText(ResumeUtil.java:339)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at gouvernance_2012.testaaa_0_1.testaaa.runJobInTOS(testaaa.java:429)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at gouvernance_2012.testaaa_0_1.testaaa.main(testaaa.java:304)&lt;BR /&gt;&lt;/PRE&gt; 
&lt;BR /&gt;In attachment the job I tried to execute. 
&lt;BR /&gt;I've just installed the TOS DI 5.6.0, it was not a problem on my last Talend 5.0.1. 
&lt;BR /&gt;How could i fixed that ? 
&lt;BR /&gt;Thanks a lot for your help ! 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBbu.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141144i7E244A81B38511F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBbu.png" alt="0683p000009MBbu.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 21 Nov 2014 14:50:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203128#M4573</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T14:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with type password as context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203129#M4574</link>
      <description>Hi,&lt;BR /&gt;What's your current job? Is it OK without using Context Variable&amp;nbsp;in your job?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 24 Nov 2014 06:57:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203129#M4574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-24T06:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with type password as context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203130#M4575</link>
      <description>Hi, 
&lt;BR /&gt;First of all, do you necessarily need the password to be saved with your job. Decoupling the code &amp;amp; the credentials is almost generally a better practice. 
&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; 
&lt;BR /&gt;Having said that, the same thing worked on my Talend (v5.2.2). So, I don't see any reason for it to not work for your version. 
&lt;BR /&gt;Just a pointer, I hope you have configured the job to specifically pick the values from within the saved values &amp;amp; the job isn't looking for the value in a config file. 
&lt;BR /&gt;Hope this helps. Let me know if it doesn't. 
&lt;BR /&gt;MathurM</description>
      <pubDate>Mon, 24 Nov 2014 07:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203130#M4575</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-24T07:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with type password as context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203131#M4576</link>
      <description>Hi&amp;nbsp;&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;bouga,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;When you use password datatype in context then in older version: You will see the value as db_apssword = "test". But in 5.6: You will see the password value in in binary like db_password = 5e7h1j56271809b5. That is the reason you are getting password as null.&lt;BR /&gt;Can you please change the password datatype in 5.6 from "password" to "String" and try once? Thank you!&lt;BR /&gt;May be this is a bug I guess.&amp;nbsp;&lt;BR /&gt;Regards&lt;BR /&gt;Srikanth&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;</description>
      <pubDate>Mon, 24 Nov 2014 07:42:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203131#M4576</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-24T07:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with type password as context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203132#M4577</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi&amp;nbsp;&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;bouga,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;When you use password datatype in context then in older version: You will see the value as db_apssword = "test". But in 5.6: You will see the password value in in binary like db_password = 5e7h1j56271809b5. That is the reason you are getting password as null.&lt;BR /&gt;Can you please change the password datatype in 5.6 from "password" to "String" and try once? Thank you!&lt;BR /&gt;May be this is a bug I guess.&amp;nbsp;&lt;BR /&gt;Regards&lt;BR /&gt;Srikanth&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Thanks everybody for your answers ! 
&lt;BR /&gt;That's true, when I put my variable in String, now I don't have the error and everything looks good. 
&lt;BR /&gt;Except I have to open manually every jobs using my password variable to apply the modification I have done in my context environnement (you can see in attachment, maybe between 500 and 1000 jobs on my 4 projects 
&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;)) ). Is there a way to do that ? Or do I have to migrate in 5.5.1 (if there is not this problem) ? 
&lt;BR /&gt;Thanks a lot ! 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBen.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129500i7B035F22D35F2A74/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBen.png" alt="0683p000009MBen.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 24 Nov 2014 13:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203132#M4577</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-24T13:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with type password as context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203133#M4578</link>
      <description>&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Hi B&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;ouga,&lt;/FONT&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;You can use tContextLoad component in order to read the password dynamically from the file. You no need to do manually for each Job.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Please refer the "tContextLoad" example. Please let me know if it helps you? Thank you.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Regards&lt;BR /&gt;Srikanth&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Tue, 25 Nov 2014 03:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203133#M4578</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-25T03:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with type password as context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203134#M4579</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Hi B&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;ouga,&lt;/FONT&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;You can use tContextLoad component in order to read the password dynamically from the file. You no need to do manually for each Job.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Please refer the "tContextLoad" example. Please let me know if it helps you? Thank you.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Regards&lt;BR /&gt;Srikanth&lt;/FONT&gt;&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Hi srikantharavapalli, 
&lt;BR /&gt;Thanks a lot for your answer, I'm already using a tContextLoad at the beginning of my jobs but the problem is here. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBes.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155221iB5D914577475F6D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBes.png" alt="0683p000009MBes.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 25 Nov 2014 08:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203134#M4579</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-25T08:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with type password as context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203135#M4580</link>
      <description>Hi All&lt;BR /&gt;I have found what appears to be a workaround. If the Password context begins with the first two letters of another context or "Pa" you get the above error. e.g&lt;BR /&gt;Contexts: Database , Hosts , Login&lt;BR /&gt;Names that fail for the Password context : Da.... , Ho....., Lo.....&lt;BR /&gt;Names that work : all except above. This is case sensitive so da.... and ho.... work&lt;BR /&gt;Cheers&lt;BR /&gt;Ian</description>
      <pubDate>Wed, 10 Dec 2014 15:11:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203135#M4580</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-12-10T15:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with type password as context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203136#M4581</link>
      <description>Hi All.&lt;BR /&gt;I can confirm that renaming the context var from "Mydatabase_Password" to "DBMydatabase_Password" does effectively resolve the problem.&lt;BR /&gt;I hope it'll be fixed soon.</description>
      <pubDate>Fri, 12 Dec 2014 09:40:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2203136#M4581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-12T09:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with type password as context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2465938#M140864</link>
      <description>&lt;P&gt;Live saver! This actually worked.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 05:46:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-type-password-as-context-variable/m-p/2465938#M140864</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2024-06-27T05:46:00Z</dc:date>
    </item>
  </channel>
</rss>

