<?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: Trouble in setting up proxy in metadata in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335235#M103818</link>
    <description>You're welcome.&lt;BR /&gt;Don't forget to mark the subjectg as solved.</description>
    <pubDate>Tue, 09 Aug 2016 19:59:12 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2016-08-09T19:59:12Z</dc:date>
    <item>
      <title>Trouble in setting up proxy in metadata</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335227#M103810</link>
      <description>I have Talend Open Studio for Data Integration 6.2.1 installed on a Windows desktop.&amp;nbsp;&lt;BR /&gt;I am able to setup and run a project locally to connect my database with SalesForce host. &amp;nbsp;However, to deploy the project to Prod environment, I will need to enable and configure a proxy server to the SalesForce connection component. &amp;nbsp;The proxy server is not accessible from my desktop.&lt;BR /&gt;The problem is that the SalesForce metadata component tests the connection before saving the configuration. Since the connection cannot be made via the proxy server from my desktop, I am not able to save the proxy server information to the project.&lt;BR /&gt;I have tried to use context to save the proxy server but cannot find a way to enable proxy from context.&lt;BR /&gt;Any suggestion on how to resolve this problem?&lt;BR /&gt;Thanks for the help.</description>
      <pubDate>Sat, 16 Nov 2024 10:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335227#M103810</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble in setting up proxy in metadata</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335228#M103811</link>
      <description>Hi, 
&lt;BR /&gt;Add a boolean variable&amp;nbsp;to your context&amp;nbsp;(let say ProxyNeeded) then test the variable when your job starts. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAv1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146115iE16780B5AF6F7100/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAv1.png" alt="0683p000009MAv1.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;If the variable is set to True (for Production), call a tSetProxy component for which all fields are populated using dedicated context variables. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8v8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128262i32F64E127AEFDF06/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8v8.png" alt="0683p000009M8v8.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;That's it! 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;TRF</description>
      <pubDate>Mon, 25 Jul 2016 18:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335228#M103811</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2016-07-25T18:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble in setting up proxy in metadata</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335229#M103812</link>
      <description>Thanks very much for the information. &amp;nbsp;I will try it out and let you know how it works out.</description>
      <pubDate>Tue, 26 Jul 2016 15:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335229#M103812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-26T15:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble in setting up proxy in metadata</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335230#M103813</link>
      <description>Hi TRF, 
&lt;BR /&gt;Sorry for taking me so long for this update since I was sidetracked by other issues. 
&lt;BR /&gt;I am still having trouble to use the tSetProxy component. I added a tSetProxy component in my project and the SalesForce input component can be seen to be enabled to use the proxy (see the image below). &amp;nbsp;However, the project still is not sending the request to the proxy. &amp;nbsp;I must be doing something wrong. &amp;nbsp;Can you advise? 
&lt;BR /&gt;Thanks so much for your help. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB5e.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137543i2663D2FD73473816/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB5e.png" alt="0683p000009MB5e.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 08 Aug 2016 21:01:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335230#M103813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-08T21:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble in setting up proxy in metadata</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335231#M103814</link>
      <description>Hi Kelvinli, 
&lt;BR /&gt;In your job you must ensure the tSetProxy is finished before the tSalesforceInput starts.&amp;nbsp; 
&lt;BR /&gt;If you have to set the proxy for all cases, start with tSetProxy and rely it to Account_Dev by a "On Subjob OK" trigger: 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB3d.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131433iAC2BFBD3CF31CC94/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB3d.png" alt="0683p000009MB3d.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;If you need to be more flexible, depending on your context (home work with no proxy, office with proxy for example), you have to define a boolean context variable (lets say ProxyNeeded) with deferent value depending on the context you choose when launching the job. 
&lt;BR /&gt;As you need a starting component, you have to arrange your job with a tSleep or anything else to go to the tSetProxy depending on the ProxyNeeded value using a "Run if" trigger: 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBAi.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136182i0ED8553457B11FE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBAi.png" alt="0683p000009MBAi.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Here is the story: sleep 0; if ProxyNeeded is set to true, set the proxy; on subjob ok start the next subjob. 
&lt;BR /&gt;Is it clear for you? 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;TRF</description>
      <pubDate>Tue, 09 Aug 2016 08:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335231#M103814</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2016-08-09T08:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble in setting up proxy in metadata</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335232#M103815</link>
      <description>Hi TRF, 
&lt;BR /&gt;Thanks so much for your valuable advice. &amp;nbsp;After adding the trigger, the job works! 
&lt;BR /&gt;There is one issue that is kind of puzzling. &amp;nbsp;In the example above, when I set all three SalesForce components to use the proxy, the job would fail to connect database (see the error message below). However, when I disable using proxy in any of the component, the job would succeed. So I end up creating a fake fourth component that is not using proxy. 
&lt;BR /&gt;This is no longer blocking my work but I would like to know what caused the problem if possible. 
&lt;BR /&gt;Thank you again for your great help. 
&lt;BR /&gt;Kelvin 
&lt;BR /&gt;Error Message 
&lt;BR /&gt;Exception in component tMSSqlOutput_1 
&lt;BR /&gt;java.sql.SQLException: Network error IOException: Malformed reply from SOCKS server 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sourceforge.jtds.jdbc.JtdsConnection.&amp;lt;init&amp;gt;(JtdsConnection.java:436) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.sql.DriverManager.getConnection(DriverManager.java:664) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.sql.DriverManager.getConnection(DriverManager.java:247) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at local_project.sf_to_bars_dev_0_1.SF_To_BARS_Dev.tSalesforceInput_3Process(SF_To_BARS_Dev.java:9433) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at local_project.sf_to_bars_dev_0_1.SF_To_BARS_Dev.tSetProxy_1Process(SF_To_BARS_Dev.java:1615) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at local_project.sf_to_bars_dev_0_1.SF_To_BARS_Dev.runJobInTOS(SF_To_BARS_Dev.java:17977) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at local_project.sf_to_bars_dev_0_1.SF_To_BARS_Dev.main(SF_To_BARS_Dev.java:16454) 
&lt;BR /&gt;Caused by: java.net.SocketException: Malformed reply from SOCKS server 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.net.SocksSocketImpl.readSocksReply(SocksSocketImpl.java:129) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:459) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.net.Socket.connect(Socket.java:589) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sourceforge.jtds.jdbc.SharedSocket.createSocketForJDBC3(SharedSocket.java:288) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sourceforge.jtds.jdbc.SharedSocket.&amp;lt;init&amp;gt;(SharedSocket.java:251) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sourceforge.jtds.jdbc.JtdsConnection.&amp;lt;init&amp;gt;(JtdsConnection.java:331) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 7 more 
&lt;BR /&gt;Function that failed: 
&lt;BR /&gt;conn_tMSSqlOutput_1 = java.sql.DriverManager.getConnection( 
&lt;BR /&gt;url_tMSSqlOutput_1, dbUser_tMSSqlOutput_1, 
&lt;BR /&gt;dbPwd_tMSSqlOutput_1); 
&lt;BR /&gt;All parameters are the same with and without the last component using proxy. &amp;nbsp;But when all are using the proxy, this function would run for a long time and throws exception.</description>
      <pubDate>Tue, 09 Aug 2016 16:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335232#M103815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-09T16:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble in setting up proxy in metadata</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335233#M103816</link>
      <description>Hi, 
&lt;BR /&gt;As you have more than one tSalesforce component, I strongly recommend you to use a tSalesforceConnection and to refere to this connection into the tSalesforceInput components. Notice that if you use tSalesforceOutputBulk (or BulkExec) you need 2 tSalesforceConnection, one for read and another for bulk operation. 
&lt;BR /&gt;However, I see the error comes from the tMSSQLOutput component which need to connect to SQL Server when the job arrives at this stage. Here again I recommend you to use a separate tMSSqlConnection. In this way, you can connect to SQL Server before the proxy has been defined. I think it should solve your problem because you probably do not have to pass the proxy to touch the database server. 
&lt;BR /&gt;Here is how your job should looks like: 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBAn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149714iA1A6E520924CDB70/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBAn.png" alt="0683p000009MBAn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Define some global variables (if needed), connect to SQL Server, select some data (if needed). 
&lt;BR /&gt;Only if ProxyRequired == true, set the proxy parameters, then connect to Salesforce. 
&lt;BR /&gt;Then the job continue and reuse the pre opened connections when needed. 
&lt;BR /&gt;Also, take care how the proxy is configured (refer to the previous capture). 
&lt;BR /&gt;Hope this helps. 
&lt;BR /&gt;TRF</description>
      <pubDate>Tue, 09 Aug 2016 17:46:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335233#M103816</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2016-08-09T17:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble in setting up proxy in metadata</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335234#M103817</link>
      <description>Hi TRF,
&lt;BR /&gt;As you suggested, I used tSalesForceConnection and tMSSqlConnection components and lined them up using triggers. Now it works like a charm.
&lt;BR /&gt;Thank you so much for your time and detailed suggestions. &amp;nbsp;It is greatly appreciated.
&lt;BR /&gt;Kelvin</description>
      <pubDate>Tue, 09 Aug 2016 19:32:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335234#M103817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-09T19:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble in setting up proxy in metadata</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335235#M103818</link>
      <description>You're welcome.&lt;BR /&gt;Don't forget to mark the subjectg as solved.</description>
      <pubDate>Tue, 09 Aug 2016 19:59:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-in-setting-up-proxy-in-metadata/m-p/2335235#M103818</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2016-08-09T19:59:12Z</dc:date>
    </item>
  </channel>
</rss>

