<?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 [resolved] Oracle DB access via Karaf in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Oracle-DB-access-via-Karaf/m-p/2258932#M40570</link>
    <description>We are trying to configure the oracle database access through karaf. 
&lt;BR /&gt; 
&lt;BR /&gt;Below is the link that we used. 
&lt;BR /&gt; 
&lt;A href="https://github.com/cschneider/Karaf-Tutorial/blob/master/db/datasource/datasource-oracle.xml" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/cschneider/Karaf-Tutorial/blob/master/db/datasource/datasource-oracle.xml&lt;/A&gt; 
&lt;BR /&gt;The blueprint for datasource-oracle.xml for ojdbc6.jar: 
&lt;BR /&gt;&amp;lt;blueprint xmlns=" 
&lt;A href="http://www.osgi.org/xmlns/blueprint/v1.0.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.osgi.org/xmlns/blueprint/v1.0.0&lt;/A&gt;"&amp;gt; 
&lt;BR /&gt; &amp;lt;bean id="dataSource" class="oracle.jdbc.OracleDriver"&amp;gt; 
&lt;BR /&gt; &amp;lt;property name="url" value="jdbc 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA5A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143082iB236712184B767DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA5A.png" alt="0683p000009MA5A.png" /&gt;&lt;/span&gt;racle:thin:@10.75.38.124:1521 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt;20KSTN"/&amp;gt; 
&lt;BR /&gt; &amp;lt;property name="user" value="workflow_app"/&amp;gt; 
&lt;BR /&gt; &amp;lt;property name="password" value="pass_w0rd"/&amp;gt; 
&lt;BR /&gt; &amp;lt;/bean&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt; &amp;lt;service interface="javax.sql.DataSource" ref="dataSource"&amp;gt; 
&lt;BR /&gt; &amp;lt;service-properties&amp;gt; 
&lt;BR /&gt; &amp;lt;entry key="osgi.jndi.service.name" value="jdbc/oracleds"/&amp;gt; 
&lt;BR /&gt; &amp;lt;/service-properties&amp;gt; 
&lt;BR /&gt; &amp;lt;/service&amp;gt; 
&lt;BR /&gt;&amp;lt;/blueprint&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt;However, in karaf list we get the following error. 
&lt;BR /&gt;In Karaf list: 
&lt;BR /&gt; wrap_mvn_ojdbc_ojdbc_11.2.0.2.0 (0) 
&lt;BR /&gt; datasource-oracle.xml (0.0.0) 
&lt;BR /&gt;karaf@trun&amp;gt; display-exception 
&lt;BR /&gt;org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to find property descriptor url on class oracle.jdbc.OracleDriver 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BeanRecipe.getPropertyDescriptor(BeanRecipe.java:820) 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:802) 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:773) 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:754) 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:720) 
&lt;BR /&gt; at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64) 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:219) 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:147) 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:640) 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:331) 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:227) 
&lt;BR /&gt; at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 
&lt;BR /&gt; at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 
&lt;BR /&gt; at java.util.concurrent.FutureTask.run(FutureTask.java:138) 
&lt;BR /&gt; at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) 
&lt;BR /&gt; at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) 
&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 
&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 
&lt;BR /&gt; at java.lang.Thread.run(Thread.java:662)</description>
    <pubDate>Sat, 16 Nov 2024 12:15:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T12:15:57Z</dc:date>
    <item>
      <title>[resolved] Oracle DB access via Karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Oracle-DB-access-via-Karaf/m-p/2258932#M40570</link>
      <description>We are trying to configure the oracle database access through karaf. 
&lt;BR /&gt; 
&lt;BR /&gt;Below is the link that we used. 
&lt;BR /&gt; 
&lt;A href="https://github.com/cschneider/Karaf-Tutorial/blob/master/db/datasource/datasource-oracle.xml" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/cschneider/Karaf-Tutorial/blob/master/db/datasource/datasource-oracle.xml&lt;/A&gt; 
&lt;BR /&gt;The blueprint for datasource-oracle.xml for ojdbc6.jar: 
&lt;BR /&gt;&amp;lt;blueprint xmlns=" 
&lt;A href="http://www.osgi.org/xmlns/blueprint/v1.0.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.osgi.org/xmlns/blueprint/v1.0.0&lt;/A&gt;"&amp;gt; 
&lt;BR /&gt; &amp;lt;bean id="dataSource" class="oracle.jdbc.OracleDriver"&amp;gt; 
&lt;BR /&gt; &amp;lt;property name="url" value="jdbc 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA5A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143082iB236712184B767DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA5A.png" alt="0683p000009MA5A.png" /&gt;&lt;/span&gt;racle:thin:@10.75.38.124:1521 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt;20KSTN"/&amp;gt; 
&lt;BR /&gt; &amp;lt;property name="user" value="workflow_app"/&amp;gt; 
&lt;BR /&gt; &amp;lt;property name="password" value="pass_w0rd"/&amp;gt; 
&lt;BR /&gt; &amp;lt;/bean&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt; &amp;lt;service interface="javax.sql.DataSource" ref="dataSource"&amp;gt; 
&lt;BR /&gt; &amp;lt;service-properties&amp;gt; 
&lt;BR /&gt; &amp;lt;entry key="osgi.jndi.service.name" value="jdbc/oracleds"/&amp;gt; 
&lt;BR /&gt; &amp;lt;/service-properties&amp;gt; 
&lt;BR /&gt; &amp;lt;/service&amp;gt; 
&lt;BR /&gt;&amp;lt;/blueprint&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt;However, in karaf list we get the following error. 
&lt;BR /&gt;In Karaf list: 
&lt;BR /&gt; wrap_mvn_ojdbc_ojdbc_11.2.0.2.0 (0) 
&lt;BR /&gt; datasource-oracle.xml (0.0.0) 
&lt;BR /&gt;karaf@trun&amp;gt; display-exception 
&lt;BR /&gt;org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to find property descriptor url on class oracle.jdbc.OracleDriver 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BeanRecipe.getPropertyDescriptor(BeanRecipe.java:820) 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:802) 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:773) 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:754) 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:720) 
&lt;BR /&gt; at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64) 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:219) 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:147) 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:640) 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:331) 
&lt;BR /&gt; at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:227) 
&lt;BR /&gt; at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 
&lt;BR /&gt; at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 
&lt;BR /&gt; at java.util.concurrent.FutureTask.run(FutureTask.java:138) 
&lt;BR /&gt; at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) 
&lt;BR /&gt; at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) 
&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 
&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 
&lt;BR /&gt; at java.lang.Thread.run(Thread.java:662)</description>
      <pubDate>Sat, 16 Nov 2024 12:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Oracle-DB-access-via-Karaf/m-p/2258932#M40570</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Oracle DB access via Karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Oracle-DB-access-via-Karaf/m-p/2258933#M40571</link>
      <description>You are using the wrong class from Oracle. Try to use oracle.jdbc.pool.OracleDataSource instead of OracleDriver. 
&lt;BR /&gt;Christian</description>
      <pubDate>Wed, 13 Jun 2012 08:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Oracle-DB-access-via-Karaf/m-p/2258933#M40571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-13T08:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Oracle DB access via Karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Oracle-DB-access-via-Karaf/m-p/2258934#M40572</link>
      <description>The result was the same using oracle.jdbc.pool.OracleDataSource.&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 13 Jun 2012 15:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Oracle-DB-access-via-Karaf/m-p/2258934#M40572</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-13T15:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Oracle DB access via Karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Oracle-DB-access-via-Karaf/m-p/2258935#M40573</link>
      <description>I suspect you still inadvertently use the old blueprint file with the wrong class. Bundles (and the blueprint file is seen as bundle by the OSGi container) are cached in the data directory. Make sure to explicitly uninstall the datasource-oracle.xml bunlde before installing the new one. Removing bundles or blueprint configurations from the deploy folder does not lead to uninstallation of the bundle. 
&lt;BR /&gt;oracle.jdbc.pool.OracleDataSource is definetly the way to go. 
&lt;BR /&gt;Zsolt</description>
      <pubDate>Wed, 13 Jun 2012 15:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Oracle-DB-access-via-Karaf/m-p/2258935#M40573</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-13T15:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Oracle DB access via Karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Oracle-DB-access-via-Karaf/m-p/2258936#M40574</link>
      <description>I just checked on my karaf and you are right. The problem is that the URL property has to be in uppercase. I just corrected the git datasource file. The bean should now look like this: 
&lt;BR /&gt; &amp;lt;bean id="dataSource" class="oracle.jdbc.pool.OracleDataSource"&amp;gt; 
&lt;BR /&gt; &amp;lt;property name="URL" value="jdbc 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA5A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143082iB236712184B767DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA5A.png" alt="0683p000009MA5A.png" /&gt;&lt;/span&gt;racle:thin:@localhost:1521 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA5A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143082iB236712184B767DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA5A.png" alt="0683p000009MA5A.png" /&gt;&lt;/span&gt;rcl"/&amp;gt; 
&lt;BR /&gt; &amp;lt;property name="user" value="test"/&amp;gt; 
&lt;BR /&gt; &amp;lt;property name="password" value="test"/&amp;gt; 
&lt;BR /&gt; &amp;lt;/bean&amp;gt; 
&lt;BR /&gt;Does this work for you?</description>
      <pubDate>Wed, 13 Jun 2012 15:42:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Oracle-DB-access-via-Karaf/m-p/2258936#M40574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-13T15:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Oracle DB access via Karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Oracle-DB-access-via-Karaf/m-p/2258937#M40575</link>
      <description>Excellent.... It works. Thanks a lot...</description>
      <pubDate>Wed, 13 Jun 2012 16:19:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Oracle-DB-access-via-Karaf/m-p/2258937#M40575</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-13T16:19:33Z</dc:date>
    </item>
  </channel>
</rss>

