<?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: [resolved] Issue while using tSalesforceInput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245268#M31163</link>
    <description>Finally, 
&lt;BR /&gt;i found a workaround, not a solution. 
&lt;BR /&gt;Salesforce.com uses a token (Session ID), so when Talend wants to communicate with Salesforce.com it needs a token from Salesforce to perform an operation. 
&lt;BR /&gt;I found that in Salesforce tokens generated are not generated for a single use, each token expires after an amount of time you can specify on Salesforce and i think each time a scheduled job starts and wants to communicate with Salesforce, the job uses the same token if it's not expired yet. 
&lt;BR /&gt;My situation: In my salesforce organization, my token was expiring each 2 hours, and my Talend job was starting each 2 hours. 
&lt;BR /&gt;Reading the logs from Talend and from Salesforce i found that each 2 hours Talend was trying to perform a call on Salesforce at the same time Salesforce was expiring that token. (In a range of about 200 milliseconds). 
&lt;BR /&gt;So, sometimes Salesforce was faster than Talend and expired the token before Talend was able to perform the call (and here come the exception i had), sometimes not, and Talend could perform the operation some milliseconds before Salesforce expired its token. 
&lt;BR /&gt;And this would explain also why i was receiving this exception randomly. 
&lt;BR /&gt;My solution: I changed the Salesforce token expiration time and the Talend job schedule time in a way that the situation above should never repeat. 
&lt;BR /&gt;After this change i had no more problems. 
&lt;BR /&gt;I think this is not the best solution but maybe this can help someone with the same problem.</description>
    <pubDate>Fri, 24 Jan 2014 11:13:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-01-24T11:13:51Z</dc:date>
    <item>
      <title>[resolved] Issue while using tSalesforceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245260#M31155</link>
      <description>Hi all, 
&lt;BR /&gt;i'm using a tSalesforceInput in a job developed few months ago. 
&lt;BR /&gt;This job has been working perfectly until now. 
&lt;BR /&gt;Now sometimes i receive this error on that component. 
&lt;BR /&gt;com.salesforce.soap.partner.UnexpectedErrorFault:INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Session timed out 
&lt;BR /&gt;The point is, why? 
&lt;BR /&gt;My job is very simple, i open a tSalesforceConecction and the component can open a salesforce connection, then i use the tSalesforceInput and i get this error. 
&lt;BR /&gt;My question is: Is talend failing something? 
&lt;BR /&gt;I opened this topic to understand if i have to open a ticket on talend for a bug or you think could be a problem from Salesforce or the connection bandwith on the server in which i deployed my job. 
&lt;BR /&gt;I developed the job with TOS 5.3.1 and linking with Salesforce api version 28.0 
&lt;BR /&gt;Thank you!</description>
      <pubDate>Sat, 16 Nov 2024 11:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245260#M31155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Issue while using tSalesforceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245261#M31156</link>
      <description>Hi Luca.venanzetti, &lt;BR /&gt;It seems that you have got the solution for your issue quickly, could you please share it with us?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 17 Jan 2014 09:48:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245261#M31156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-17T09:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Issue while using tSalesforceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245262#M31157</link>
      <description>No it's not true, i'm really sorry i opened a lot of times this topic a short while ago and i tried to remove them setting them as resolved but them didn't gone. 
&lt;BR /&gt;So, this topic would not be solved 
&lt;BR /&gt;Sorry again.</description>
      <pubDate>Fri, 17 Jan 2014 11:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245262#M31157</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-17T11:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Issue while using tSalesforceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245263#M31158</link>
      <description>Hi,&lt;BR /&gt;The issue is random? Is it probably caused by your firewall? Is the Salesforce installed in local or server?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 20 Jan 2014 04:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245263#M31158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-20T04:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Issue while using tSalesforceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245264#M31159</link>
      <description>Thank you for your answer, the issue is related to a job which has been in a production server for months whitout having problem. Last week the job started firing this exception. The job is scheduled and runs every 2 hours. Sometimes i receive this error (during the day), sometimes not. So if the job runs 8 times in a day, i would receive 3 times this exception.</description>
      <pubDate>Mon, 20 Jan 2014 08:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245264#M31159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-20T08:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Issue while using tSalesforceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245265#M31160</link>
      <description>Hi, 
&lt;BR /&gt;Could you give us more description about your job so that we can address your issue quickly. What scheduler are you using? Is the net working fine? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 20 Jan 2014 09:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245265#M31160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-20T09:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Issue while using tSalesforceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245266#M31161</link>
      <description>Sure. 
&lt;BR /&gt;I put a data integration job exported as .bat in a windows server. 
&lt;BR /&gt;The job runs every two hours using the windows scheduler. 
&lt;BR /&gt;The net yeah i think is working fine, i mean, i checked the connection as first reaction to this problem. 
&lt;BR /&gt;When i received this kind of error i tried immediately to run again (manually) the job double clicking the .bat and job run well. 
&lt;BR /&gt;My job starts a tSalesforceConnection and then i have the tSalesforceInput using this connection and in that component i get this exception. 
&lt;BR /&gt;Since i don't know what other info i can give you i put beneath this the statistics that i'm logging on a database table with the tStatCathcer, maybe this can help you. 
&lt;BR /&gt;moment pid father_pid root_pid system_pid project job job_repository_id job_version context origin message_type message duration 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default NULL end success 52171 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default tLogCatcher_1 begin NULL NULL 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default tLogCatcher_1 end success 0 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default tFileOutputDelimited_2 end success 16 
&lt;BR /&gt;20/01/2014 10:00 RFHZC0 QM6xRZ QM6xRZ 2984 PARAH_LUCA ZipFileManagerLogs _v8g0ACIAEeONPeIa-Sxaww 0.1 Default tSendMail_1 end success 45921 
&lt;BR /&gt;20/01/2014 10:00 RFHZC0 QM6xRZ QM6xRZ 2984 PARAH_LUCA ZipFileManagerLogs _v8g0ACIAEeONPeIa-Sxaww 0.1 Default NULL end success 48265 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default tRunJob_6 end success 48296 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default tFileOutputDelimited_2 begin NULL NULL 
&lt;BR /&gt;20/01/2014 10:00 RFHZC0 QM6xRZ QM6xRZ 2984 PARAH_LUCA ZipFileManagerLogs _v8g0ACIAEeONPeIa-Sxaww 0.1 Default tSendMail_1 begin NULL NULL 
&lt;BR /&gt;20/01/2014 10:00 RFHZC0 QM6xRZ QM6xRZ 2984 PARAH_LUCA ZipFileManagerLogs _v8g0ACIAEeONPeIa-Sxaww 0.1 Default tFileArchive_1 end success 2312 
&lt;BR /&gt;20/01/2014 10:00 RFHZC0 QM6xRZ QM6xRZ 2984 PARAH_LUCA ZipFileManagerLogs _v8g0ACIAEeONPeIa-Sxaww 0.1 Default tFileArchive_1 begin NULL NULL 
&lt;BR /&gt;20/01/2014 10:00 RFHZC0 QM6xRZ QM6xRZ 2984 PARAH_LUCA ZipFileManagerLogs _v8g0ACIAEeONPeIa-Sxaww 0.1 Default NULL begin NULL NULL 
&lt;BR /&gt;20/01/2014 10:00 t8sadE QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_ErrorManager _TiROcD1_EeO3ceA9m5ayNw 0.1 Default NULL end success 47 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default tRunJob_1 end success 94 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default tRunJob_6 begin NULL NULL 
&lt;BR /&gt;20/01/2014 10:00 t8sadE QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_ErrorManager _TiROcD1_EeO3ceA9m5ayNw 0.1 Default tMSSqlRow_1 end success 15 
&lt;BR /&gt;20/01/2014 10:00 t8sadE QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_ErrorManager _TiROcD1_EeO3ceA9m5ayNw 0.1 Default tMSSqlRow_2 end success 15 
&lt;BR /&gt;20/01/2014 10:00 t8sadE QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_ErrorManager _TiROcD1_EeO3ceA9m5ayNw 0.1 Default tMSSqlConnection_1 begin NULL NULL 
&lt;BR /&gt;20/01/2014 10:00 t8sadE QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_ErrorManager _TiROcD1_EeO3ceA9m5ayNw 0.1 Default tMSSqlConnection_1 end success 0 
&lt;BR /&gt;20/01/2014 10:00 t8sadE QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_ErrorManager _TiROcD1_EeO3ceA9m5ayNw 0.1 Default tMSSqlRow_2 begin NULL NULL 
&lt;BR /&gt;20/01/2014 10:00 t8sadE QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_ErrorManager _TiROcD1_EeO3ceA9m5ayNw 0.1 Default tMSSqlRow_1 begin NULL NULL 
&lt;BR /&gt;20/01/2014 10:00 t8sadE QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_ErrorManager _TiROcD1_EeO3ceA9m5ayNw 0.1 Default NULL begin NULL NULL 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default tSalesforceInput_1 end failure 3515 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default tRunJob_1 begin NULL NULL 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default tMSSqlOutput_1 begin NULL NULL 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default tSalesforceInput_1 begin NULL NULL 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default tMSSqlConnection_2 end success 16 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default tMSSqlRow_3 begin NULL NULL 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default tMSSqlRow_2 begin NULL NULL 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default tMSSqlRow_2 end success 0 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default tMSSqlRow_3 end success 0 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default tMSSqlConnection_2 begin NULL NULL 
&lt;BR /&gt;20/01/2014 10:00 QM6xRZ QM6xRZ QM6xRZ 2984 PARAH_LUCA OrEnt_SendOrdersToAS400 _fdDa4D1-EeO3ceA9m5ayNw 0.1 Default NULL begin NULL NULL 
&lt;BR /&gt; 
&lt;BR /&gt;The exception related to that failure is: 
&lt;BR /&gt;com.salesforce.soap.partner.UnexpectedErrorFault:INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Session timed out 
&lt;BR /&gt;Thank you</description>
      <pubDate>Mon, 20 Jan 2014 09:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245266#M31161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-20T09:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Issue while using tSalesforceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245267#M31162</link>
      <description>Maybe i can give you a hint.&lt;BR /&gt;My Salesforce org which i'm trying to connect with the tSalesforceInput, has a Session Time out set to 2 hours. And my Talend job is scheduled to run every two hours. The gmt time is the same both for Salesforce and the server which is running the talend job.&lt;BR /&gt;Last friday my job ran at 8.00, 12.00 and 16.00, but didn't run at 10.00, 14.00 and 18.00.</description>
      <pubDate>Mon, 20 Jan 2014 11:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245267#M31162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-20T11:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Issue while using tSalesforceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245268#M31163</link>
      <description>Finally, 
&lt;BR /&gt;i found a workaround, not a solution. 
&lt;BR /&gt;Salesforce.com uses a token (Session ID), so when Talend wants to communicate with Salesforce.com it needs a token from Salesforce to perform an operation. 
&lt;BR /&gt;I found that in Salesforce tokens generated are not generated for a single use, each token expires after an amount of time you can specify on Salesforce and i think each time a scheduled job starts and wants to communicate with Salesforce, the job uses the same token if it's not expired yet. 
&lt;BR /&gt;My situation: In my salesforce organization, my token was expiring each 2 hours, and my Talend job was starting each 2 hours. 
&lt;BR /&gt;Reading the logs from Talend and from Salesforce i found that each 2 hours Talend was trying to perform a call on Salesforce at the same time Salesforce was expiring that token. (In a range of about 200 milliseconds). 
&lt;BR /&gt;So, sometimes Salesforce was faster than Talend and expired the token before Talend was able to perform the call (and here come the exception i had), sometimes not, and Talend could perform the operation some milliseconds before Salesforce expired its token. 
&lt;BR /&gt;And this would explain also why i was receiving this exception randomly. 
&lt;BR /&gt;My solution: I changed the Salesforce token expiration time and the Talend job schedule time in a way that the situation above should never repeat. 
&lt;BR /&gt;After this change i had no more problems. 
&lt;BR /&gt;I think this is not the best solution but maybe this can help someone with the same problem.</description>
      <pubDate>Fri, 24 Jan 2014 11:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Issue-while-using-tSalesforceInput/m-p/2245268#M31163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-24T11:13:51Z</dc:date>
    </item>
  </channel>
</rss>

