Seventeen Stars

[resolved] Exception in component talendStats_FILE

hi all,
I've created a job on a local machine and exported script on a different one.
Path (absolute) are not the same on both and when i've launched .sh I've encountered this exception :
./prod_integration303_run.sh
Exception in component talendStats_FILE
java.io.FileNotFoundException: /home/raulier/Bureau/r303/stats_file.txt (No such file or directory)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at qfth90_prod.deletefilewherenotdatetoday_0_1.deleteFileWhereNotDateToday.talendStats_STATSProcess(deleteFileWhereNotDateToday.java:2719)
.. etc

Ok ... but where does "component talendStats_FILE" come from ? Smiley Happy
If i have a look in job's code :
public void talendLogs_LOGSProcess {
....
String fileName_talendLogs_FILE = (new java.io.File(
"/home/raulier/Bureau/r303" + "/" + "logs_file.txt"))
.getAbsolutePath().replace("\\", "/");

But in my Pro environment it's not same path ....
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!
Is it a bug ?
In which source file can I modify directly the code (.item or .properties) if I can ?
Perhaps i 've checked a Stats log option in one of my dev job but I've got a lot in that application ... Smiley Happy
thanks for your help !
regards
laurent
"Talend Open Studio"
Version: 3.1.4
Build id: r29781-20090916-0502
1 ACCEPTED SOLUTION

Accepted Solutions
Seventeen Stars

Re: [resolved] Exception in component talendStats_FILE

ok , it's my fault
I had checked 'use project setting' in my dev environment and ... forget it Smiley Happy
When i've imported item from dev to prod I've also imported those parameters !
laurent
++
1 REPLY
Seventeen Stars

Re: [resolved] Exception in component talendStats_FILE

ok , it's my fault
I had checked 'use project setting' in my dev environment and ... forget it Smiley Happy
When i've imported item from dev to prod I've also imported those parameters !
laurent
++