You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Grzegorz Grzybek (JIRA)" <ji...@apache.org> on 2018/11/19 14:17:00 UTC

[jira] [Assigned] (KARAF-5703) pax jdbc config 1.2.0 fails to register XA Datasource

     [ https://issues.apache.org/jira/browse/KARAF-5703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grzegorz Grzybek reassigned KARAF-5703:
---------------------------------------

    Assignee: Grzegorz Grzybek

> pax jdbc config 1.2.0 fails to register XA Datasource
> -----------------------------------------------------
>
>                 Key: KARAF-5703
>                 URL: https://issues.apache.org/jira/browse/KARAF-5703
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.0
>         Environment: Karaf 4.2.0, Windows 10&Linux Centos 7/JDK 8 (1.8.0_162)
>            Reporter: Carlos Villegas
>            Assignee: Grzegorz Grzybek
>            Priority: Critical
>              Labels: XA, jdbc, pool
>             Fix For: 4.2.2
>
>
> 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.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)