<?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 [resolved] Exception in component talendStats_FILE in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-component-talendStats-FILE/m-p/2326476#M95960</link>
    <description>hi all, 
&lt;BR /&gt;I've created a job on a local machine and exported script on a different one. 
&lt;BR /&gt;Path (absolute) are not the same on both and when i've launched .sh I've encountered this exception : 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;./prod_integration303_run.sh&lt;BR /&gt;Exception in component talendStats_FILE&lt;BR /&gt;java.io.FileNotFoundException: /home/raulier/Bureau/r303/stats_file.txt (No such file or directory)&lt;BR /&gt; at java.io.FileOutputStream.openAppend(Native Method)&lt;BR /&gt; at java.io.FileOutputStream.&amp;lt;init&amp;gt;(FileOutputStream.java:177)&lt;BR /&gt; at java.io.FileOutputStream.&amp;lt;init&amp;gt;(FileOutputStream.java:102)&lt;BR /&gt; at qfth90_prod.deletefilewherenotdatetoday_0_1.deleteFileWhereNotDateToday.talendStats_STATSProcess(deleteFileWhereNotDateToday.java:2719)&lt;BR /&gt;.. etc&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Ok ... but where does "component talendStats_FILE" come from ? 
&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;If i have a look in job's code : 
&lt;BR /&gt; 
&lt;PRE&gt;public void talendLogs_LOGSProcess {&lt;BR /&gt;....&lt;BR /&gt;String fileName_talendLogs_FILE = (new java.io.File(&lt;BR /&gt;					"/home/raulier/Bureau/r303" + "/" + "logs_file.txt"))&lt;BR /&gt;					.getAbsolutePath().replace("\\", "/");&lt;/PRE&gt; 
&lt;BR /&gt;But in my Pro environment it's not same path .... 
&lt;BR /&gt;so it seems that when i've imported item from my Dev env to My prod env , I've also have imported this part of code! 
&lt;BR /&gt;Is it a bug ? 
&lt;BR /&gt;In which source file can I modify directly the code (.item or .properties) if I can ? 
&lt;BR /&gt;Perhaps i 've checked a Stats log option in one of my dev job but I've got a lot in that application ... 
&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;thanks for your help ! 
&lt;BR /&gt;regards 
&lt;BR /&gt;laurent 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;"Talend Open Studio"&lt;BR /&gt;Version: 3.1.4&lt;BR /&gt;Build id: r29781-20090916-0502&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Sat, 16 Nov 2024 13:29:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T13:29:42Z</dc:date>
    <item>
      <title>[resolved] Exception in component talendStats_FILE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-component-talendStats-FILE/m-p/2326476#M95960</link>
      <description>hi all, 
&lt;BR /&gt;I've created a job on a local machine and exported script on a different one. 
&lt;BR /&gt;Path (absolute) are not the same on both and when i've launched .sh I've encountered this exception : 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;./prod_integration303_run.sh&lt;BR /&gt;Exception in component talendStats_FILE&lt;BR /&gt;java.io.FileNotFoundException: /home/raulier/Bureau/r303/stats_file.txt (No such file or directory)&lt;BR /&gt; at java.io.FileOutputStream.openAppend(Native Method)&lt;BR /&gt; at java.io.FileOutputStream.&amp;lt;init&amp;gt;(FileOutputStream.java:177)&lt;BR /&gt; at java.io.FileOutputStream.&amp;lt;init&amp;gt;(FileOutputStream.java:102)&lt;BR /&gt; at qfth90_prod.deletefilewherenotdatetoday_0_1.deleteFileWhereNotDateToday.talendStats_STATSProcess(deleteFileWhereNotDateToday.java:2719)&lt;BR /&gt;.. etc&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Ok ... but where does "component talendStats_FILE" come from ? 
&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;If i have a look in job's code : 
&lt;BR /&gt; 
&lt;PRE&gt;public void talendLogs_LOGSProcess {&lt;BR /&gt;....&lt;BR /&gt;String fileName_talendLogs_FILE = (new java.io.File(&lt;BR /&gt;					"/home/raulier/Bureau/r303" + "/" + "logs_file.txt"))&lt;BR /&gt;					.getAbsolutePath().replace("\\", "/");&lt;/PRE&gt; 
&lt;BR /&gt;But in my Pro environment it's not same path .... 
&lt;BR /&gt;so it seems that when i've imported item from my Dev env to My prod env , I've also have imported this part of code! 
&lt;BR /&gt;Is it a bug ? 
&lt;BR /&gt;In which source file can I modify directly the code (.item or .properties) if I can ? 
&lt;BR /&gt;Perhaps i 've checked a Stats log option in one of my dev job but I've got a lot in that application ... 
&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;thanks for your help ! 
&lt;BR /&gt;regards 
&lt;BR /&gt;laurent 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;"Talend Open Studio"&lt;BR /&gt;Version: 3.1.4&lt;BR /&gt;Build id: r29781-20090916-0502&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Sat, 16 Nov 2024 13:29:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-component-talendStats-FILE/m-p/2326476#M95960</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Exception in component talendStats_FILE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-component-talendStats-FILE/m-p/2326477#M95961</link>
      <description>ok , it's my fault 
&lt;BR /&gt;I had checked 'use project setting' in my dev environment and ... forget it 
&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;When i've imported item from dev to prod I've also imported those parameters ! 
&lt;BR /&gt;laurent 
&lt;BR /&gt;++</description>
      <pubDate>Mon, 22 Mar 2010 11:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-component-talendStats-FILE/m-p/2326477#M95961</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-03-22T11:17:26Z</dc:date>
    </item>
  </channel>
</rss>

