karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-2968) Existing Datasource can not be found using aries jndi
Date Sat, 10 May 2014 22:06:18 GMT

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

Christian Schneider resolved KARAF-2968.
----------------------------------------

    Resolution: Fixed

Looks like the problem was an old aries jndi url artifact. After I loaded the aries source
and compiled it on my machine it worked fine.

> Existing Datasource can not be found using aries jndi
> -----------------------------------------------------
>
>                 Key: KARAF-2968
>                 URL: https://issues.apache.org/jira/browse/KARAF-2968
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 4.0.0
>
>
> When testing the examplejpa (https://github.com/cschneider/Karaf-Tutorial/tree/master/db/examplejpa)
in karaf 3 and 4 I found that the data source can not be found in karaf 4. In both cases I
followed the Readme for the karaf 3 case.
> Caused by: javax.naming.NameNotFoundException: osgi:service/javax.sql.DataSource/"(osgi.jndi.service.name=jdbc/derbyds)"
> The "" around the filter look a bit suspiscious but I am not sure they are the problem.
> The same example works fine for karaf 3.
> Stacktrace:
> https://gist.github.com/cschneider/7038573486188422e307



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message