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.

Reply via email to