You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2014/01/28 16:03:39 UTC

[jira] [Commented] (KARAF-2729) DerbyXA datasource (from template) is not visible with jdbc:datasources

    [ https://issues.apache.org/jira/browse/KARAF-2729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13884226#comment-13884226 ] 

Jean-Baptiste Onofré commented on KARAF-2729:
---------------------------------------------

The reasons is that the XA datasource service is exposed using the javax.sql.XADataSource interface and the JDBC service is looking for only javax.sql.DataSource interface.

> DerbyXA datasource (from template) is not visible with jdbc:datasources
> -----------------------------------------------------------------------
>
>                 Key: KARAF-2729
>                 URL: https://issues.apache.org/jira/browse/KARAF-2729
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.4.0, 3.0.1, 2.3.4
>
>
> The JDBC derby template registers two OSGi service: one is a standard datasource, another one is a XA datasource.
> However, using jdbc:datasources, only the standard one is displayed, not the XA one.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)