karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-2729) DerbyXA datasource (from template) is not visible with jdbc:datasources
Date Tue, 28 Jan 2014 15:03:39 GMT

    [ 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)

Mime
View raw message