Hi Manfred,

what's your Karaf version ?

Depending of the Karaf version, the cfg file is not created, you have to check with config:list.

Regards
JB

On 03/23/2016 10:14 AM, Manfred Dohmen wrote:
Hello,

I'm trying to deploy a datasource configuration file with a feature
defined in a feature.xml like this:

     <feature name="xxx" version="1.0.0-SNAPSHOT">
         <details>xxx</details>
         <config name="org.ops4j.datasource-myds">
             osgi.jdbc.driver.name=oracle-pool-xa
             url=jdbc:oracle:thin:@192.168.1.2:1521:orcl
             user=test
             password=test
             dataSourceName=test
         </config>
     </feature>

When I issue a feature:install in the shell, the feature gets installed
and a config file "etc/org.ops4j.datasource.cfg" is created, note the
missing instance suffix "myds". In effect the DS is not active.

KARAF-4124 looks like others are trying to use the same method.

Any advise? Thanks.



--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to