<?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 Issue using datasources in Talend ESB Runtime (TOS v7.3.1 20200219_1130) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Issue-using-datasources-in-Talend-ESB-Runtime-TOS-v7-3-1/m-p/2495952#M141600</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm facing an issue in a TESB route I'm working on, this route have to retrieve data from two databases (one oracle and one postgresql).&lt;/P&gt;
&lt;P&gt;I've created the necessary datasources in the TESB Runtime they work (I also try to query them directly within karaf and it also works).&lt;/P&gt;
&lt;P&gt;In another route (in TOS ESB v8.0.1), you could communicate with the datasource using a cMessagingEndpoint configured like this :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edadou_0-1733310625903.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175183i764888F70FC39DB6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edadou_0-1733310625903.png" alt="edadou_0-1733310625903.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I tried to do the same in v7.3.1 but I have the following error :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;12:20:09.548 ERROR [Blueprint Event Dispatcher: 1] Error occurred during starting CamelContext: interfaces.r_test_sql_0_1.R_TEST_SQL&lt;BR /&gt;org.apache.camel.FailedToCreateRouteException: Failed to create route R_TEST_SQL_cTimer_1 at: &amp;gt;&amp;gt;&amp;gt; To[sql:select now()?dataSource=jdbc/postgresqlds] &amp;lt;&amp;lt;&amp;lt; in route: Route(R_TEST_SQL_cTimer_1)[[From[timer:cTimer_1?delay=1000]]... because of Failed to resolve endpoint: sql://select%20now()?dataSource=jdbc%2Fpostgresqlds due to: No bean could be found in the registry for: jdbc/postgresqlds of type: javax.sql.DataSource&lt;BR /&gt;at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1352) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:212) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:1139) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:3736) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3439) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext$4.call(DefaultCamelContext.java:3247) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext$4.call(DefaultCamelContext.java:3243) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:3266) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:3243) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:72) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:3159) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.blueprint.BlueprintCamelContext.start(BlueprintCamelContext.java:255) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:297) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.blueprint.BlueprintCamelContext.blueprintEvent(BlueprintCamelContext.java:188) [bundleFile:2.24.2]&lt;BR /&gt;at org.apache.aries.blueprint.container.BlueprintEventDispatcher$3.call(BlueprintEventDispatcher.java:190) [bundleFile:1.10.2]&lt;BR /&gt;at org.apache.aries.blueprint.container.BlueprintEventDispatcher$3.call(BlueprintEventDispatcher.java:188) [bundleFile:1.10.2]&lt;BR /&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]&lt;BR /&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]&lt;BR /&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]&lt;BR /&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]&lt;BR /&gt;at java.lang.Thread.run(Thread.java:829) [?:?]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a configuration that I have to add to the route or other actions to make ?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2024 11:23:11 GMT</pubDate>
    <dc:creator>edadou</dc:creator>
    <dc:date>2024-12-04T11:23:11Z</dc:date>
    <item>
      <title>Issue using datasources in Talend ESB Runtime (TOS v7.3.1 20200219_1130)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-using-datasources-in-Talend-ESB-Runtime-TOS-v7-3-1/m-p/2495952#M141600</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm facing an issue in a TESB route I'm working on, this route have to retrieve data from two databases (one oracle and one postgresql).&lt;/P&gt;
&lt;P&gt;I've created the necessary datasources in the TESB Runtime they work (I also try to query them directly within karaf and it also works).&lt;/P&gt;
&lt;P&gt;In another route (in TOS ESB v8.0.1), you could communicate with the datasource using a cMessagingEndpoint configured like this :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edadou_0-1733310625903.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175183i764888F70FC39DB6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edadou_0-1733310625903.png" alt="edadou_0-1733310625903.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I tried to do the same in v7.3.1 but I have the following error :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;12:20:09.548 ERROR [Blueprint Event Dispatcher: 1] Error occurred during starting CamelContext: interfaces.r_test_sql_0_1.R_TEST_SQL&lt;BR /&gt;org.apache.camel.FailedToCreateRouteException: Failed to create route R_TEST_SQL_cTimer_1 at: &amp;gt;&amp;gt;&amp;gt; To[sql:select now()?dataSource=jdbc/postgresqlds] &amp;lt;&amp;lt;&amp;lt; in route: Route(R_TEST_SQL_cTimer_1)[[From[timer:cTimer_1?delay=1000]]... because of Failed to resolve endpoint: sql://select%20now()?dataSource=jdbc%2Fpostgresqlds due to: No bean could be found in the registry for: jdbc/postgresqlds of type: javax.sql.DataSource&lt;BR /&gt;at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1352) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:212) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:1139) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:3736) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3439) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext$4.call(DefaultCamelContext.java:3247) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext$4.call(DefaultCamelContext.java:3243) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:3266) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:3243) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:72) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:3159) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.blueprint.BlueprintCamelContext.start(BlueprintCamelContext.java:255) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:297) ~[bundleFile:2.24.2]&lt;BR /&gt;at org.apache.camel.blueprint.BlueprintCamelContext.blueprintEvent(BlueprintCamelContext.java:188) [bundleFile:2.24.2]&lt;BR /&gt;at org.apache.aries.blueprint.container.BlueprintEventDispatcher$3.call(BlueprintEventDispatcher.java:190) [bundleFile:1.10.2]&lt;BR /&gt;at org.apache.aries.blueprint.container.BlueprintEventDispatcher$3.call(BlueprintEventDispatcher.java:188) [bundleFile:1.10.2]&lt;BR /&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]&lt;BR /&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]&lt;BR /&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]&lt;BR /&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]&lt;BR /&gt;at java.lang.Thread.run(Thread.java:829) [?:?]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a configuration that I have to add to the route or other actions to make ?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 11:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-using-datasources-in-Talend-ESB-Runtime-TOS-v7-3-1/m-p/2495952#M141600</guid>
      <dc:creator>edadou</dc:creator>
      <dc:date>2024-12-04T11:23:11Z</dc:date>
    </item>
  </channel>
</rss>

