Details
Description
Under Karaf 4.1.x I was able to define a XA DataSource by setting the following:
feature:install transaction jndi pax-jdbc-config pax-jdbc-pool-dbcp2 jdbc
bundle:install -s mvn:org.postgresql/postgresql/42.2.2
config:edit org.ops4j.datasource-TestDS
config:property-set osgi.jdbc.driver.class org.postgresql.Driver
config:property-set pool dbcp2
config:property-set xa true
config:property-set serverName localhost
config:property-set databaseName test
config:property-set portNumber 5432
config:property-set user test
config:property-set password test
config:property-set dataSourceName TestDS
config:property-set jdbc.pool.maxTotal 16
config:update
This doesn't work anymore in 4.2.0, the DataSource doesn't get registered. pax-jdbc-config doesn't seem to be scanning the configuration anymore. I see no messages in the logs, not even errors.