OK, my bad,

Can you create a Jira about that ?

The workaround is to use <configfile/> instead of <config/> (or provision the cfg file).

Sorry about that. It will be fixed for 4.0.5.

Regards
JB

On 03/23/2016 05:20 PM, mdo wrote:
config:list shows:

----------------------------------------------------------------
Pid:            org.ops4j.datasource
BundleLocation: null
Properties:
    dataSourceName = test
    felix.fileinstall.filename =
file:/tmp/apache-karaf-4.0.4/etc/org.ops4j.datasource.cfg
    osgi.jdbc.driver.name = oracle-pool-xa
    password = test
    service.pid = org.ops4j.datasource
    url = jdbc:oracle:thin:@192.168.1.2:1521:orcl
    user = test
----------------------------------------------------------------
Pid:            org.ops4j.datasource.c04fc6b7-7b4f-49f7-9181-334487539adc
FactoryPid:     org.ops4j.datasource
BundleLocation: null
Properties:
    dataSourceName = test
    org.apache.karaf.features.configKey = org.ops4j.datasource-myds
    osgi.jdbc.driver.name = oracle-pool-xa
    password = test
    service.factoryPid = org.ops4j.datasource
    service.pid = org.ops4j.datasource.c04fc6b7-7b4f-49f7-9181-334487539adc
    url = jdbc:oracle:thin:@192.168.1.2:1521:orcl
    user = test
----------------------------------------------------------------


The values are in the config file:

mdo:/tmp/apache-karaf-4.0.4$ cat etc/org.ops4j.datasource.cfg
user = test
password = test
url = jdbc:oracle:thin:@192.168.1.2:1521:orcl
dataSourceName = test
osgi.jdbc.driver.name = oracle-pool-xa




Regards,
mdo






--
View this message in context: 
http://karaf.922171.n3.nabble.com/Deploy-datasource-config-with-feature-xml-tp4045941p4045948.html
Sent from the Karaf - User mailing list archive at Nabble.com.


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

Reply via email to