You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2014/01/17 20:37:17 UTC

git commit: [KARAF-2690] Fix JNDI name in the JDBC derby datasource template file

Updated Branches:
  refs/heads/master 39dab21d0 -> fb58c0387


[KARAF-2690] Fix JNDI name in the JDBC derby datasource template file


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/fb58c038
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/fb58c038
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/fb58c038

Branch: refs/heads/master
Commit: fb58c03878adbc0314fd5902406d8037186df5e2
Parents: 39dab21
Author: Jean-Baptiste Onofré <jb...@apache.org>
Authored: Fri Jan 17 20:36:43 2014 +0100
Committer: Jean-Baptiste Onofré <jb...@apache.org>
Committed: Fri Jan 17 20:36:43 2014 +0100

----------------------------------------------------------------------
 .../org/apache/karaf/jdbc/internal/datasource-derby.xml          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/fb58c038/jdbc/core/src/main/resources/org/apache/karaf/jdbc/internal/datasource-derby.xml
----------------------------------------------------------------------
diff --git a/jdbc/core/src/main/resources/org/apache/karaf/jdbc/internal/datasource-derby.xml b/jdbc/core/src/main/resources/org/apache/karaf/jdbc/internal/datasource-derby.xml
index 4b0da1c..cd088dd 100644
--- a/jdbc/core/src/main/resources/org/apache/karaf/jdbc/internal/datasource-derby.xml
+++ b/jdbc/core/src/main/resources/org/apache/karaf/jdbc/internal/datasource-derby.xml
@@ -10,7 +10,7 @@
 
     <service ref="dataSource" interface="javax.sql.DataSource">
         <service-properties>
-            <entry key="osgi.jndi.service.name" value="/jdbc/${name}"/>
+            <entry key="osgi.jndi.service.name" value="jdbc/${name}"/>
         </service-properties>
     </service>
 
@@ -20,4 +20,4 @@
         </service-properties>
     </service>
 
-</blueprint>
\ No newline at end of file
+</blueprint>