<?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] DB connection doubt in Mediation route in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-DB-connection-doubt-in-Mediation-route/m-p/2215149#M11700</link>
    <description>1. &lt;A href="http://stackoverflow.com/questions/30363304/how-can-i-install-postgresqljdbc-to-work-in-karaf-osgi" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/30363304/how-can-i-install-postgresqljdbc-to-work-in-karaf-osgi&lt;/A&gt;</description>
    <pubDate>Mon, 15 Feb 2016 06:27:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-02-15T06:27:50Z</dc:date>
    <item>
      <title>[resolved] DB connection doubt in Mediation route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-DB-connection-doubt-in-Mediation-route/m-p/2215146#M11697</link>
      <description>Hi,&lt;BR /&gt;I am implementing a service using cHTTP in Router (TOS 6.0), and my requirements are pretty simple: to store HTTP body into a database table.&lt;BR /&gt;My Route is: cHTTP (Service) --&amp;gt; cTalendJob&lt;BR /&gt;and my job is: tRouteInput --&amp;gt; tPostgresqlConnection --&amp;gt; tPostgresqlOutput --&amp;gt; tPostgresqlCommit / tPostgresqlRollback&lt;BR /&gt;However, my doubt is will it create a new db connection every time when new request is received from HTTP client? How to implement "db connect pool" in this case?</description>
      <pubDate>Sat, 16 Nov 2024 10:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-DB-connection-doubt-in-Mediation-route/m-p/2215146#M11697</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] DB connection doubt in Mediation route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-DB-connection-doubt-in-Mediation-route/m-p/2215147#M11698</link>
      <description>Hi,&lt;BR /&gt;you need to use the:&amp;nbsp;Data source alias field with the tProsgreSQLConnection component and on teh container you need to defined a related PostgreSQL DataSource (an example of a related file is in the ESB Package. \Talend-ESB-V6.1.1\add-ons\datasources\dataservice\datasource-postgres.xml&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="1"&gt;Additional info is in the Studio Guide:&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="1"&gt;Appendix J. Theory into practice: Data&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="1"&gt;service and routing examples --&amp;gt; Chapter:&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="1"&gt;J.3. Route using connection pooling&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="1"&gt;By this you get a Connection Pooling on the Container Level (even&amp;nbsp;across routes)&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="1"&gt;HTH,&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="1"&gt;Dietmar&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Mon, 01 Feb 2016 08:28:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-DB-connection-doubt-in-Mediation-route/m-p/2215147#M11698</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-01T08:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] DB connection doubt in Mediation route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-DB-connection-doubt-in-Mediation-route/m-p/2215148#M11699</link>
      <description>Hi Dietmar, 
&lt;BR /&gt;I went through that Infrastructure CG as well as that "Route using connection pooling", however i still cannot setup a database connection pool.&amp;nbsp; 
&lt;BR /&gt;Basically there are two problems: 
&lt;BR /&gt;1. After installing Postgresql JDBC driver version 9.4 ( 
&lt;FONT size="2"&gt;&lt;FONT face="??"&gt;bundle:install&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="??"&gt;mvn&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.postgresql/postgresql/9.4-1206-jdbc42&lt;/FONT&gt;&lt;/FONT&gt;) for my Java v1.8, there is an warning in tesb log file shows:&amp;nbsp; 
&lt;BR /&gt;23:24:41,741 | WARN &amp;nbsp;| tp1012633657-344 | r.handler.ContextHandler$Context 2062 | 188 - org.eclipse.jetty.util - 9.2.10.v20150310 | %bundles.pluginTitle: Cannot start org.osgi.framework.BundleException: Exception in org.postgresql.osgi.PGBundleActivator.start() of bundle org.postgresql.jdbc42. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/268141/1.gif_20160213-1726.gif" /&gt; 
&lt;BR /&gt;2. I tried to use the JDBC driver which is mentioned in datasource-postgres.xml file with (wrap:mvn 
&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ostgresql/postgresql/9.1-901.jdbc4), it can be started, but I found my job is still using in-build DB setup instead of using DB setup in deployed datasource-postgres.xml. Also I doubt if this JDBC drive could work properly with my database which is postgresql v9.4.</description>
      <pubDate>Sat, 13 Feb 2016 16:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-DB-connection-doubt-in-Mediation-route/m-p/2215148#M11699</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-13T16:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] DB connection doubt in Mediation route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-DB-connection-doubt-in-Mediation-route/m-p/2215149#M11700</link>
      <description>1. &lt;A href="http://stackoverflow.com/questions/30363304/how-can-i-install-postgresqljdbc-to-work-in-karaf-osgi" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/30363304/how-can-i-install-postgresqljdbc-to-work-in-karaf-osgi&lt;/A&gt;</description>
      <pubDate>Mon, 15 Feb 2016 06:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-DB-connection-doubt-in-Mediation-route/m-p/2215149#M11700</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-15T06:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] DB connection doubt in Mediation route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-DB-connection-doubt-in-Mediation-route/m-p/2215150#M11701</link>
      <description>Thank you, aLexx! Now it works fine.&amp;nbsp;</description>
      <pubDate>Tue, 16 Feb 2016 09:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-DB-connection-doubt-in-Mediation-route/m-p/2215150#M11701</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-16T09:45:45Z</dc:date>
    </item>
  </channel>
</rss>

