You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ow...@apache.org on 2014/10/02 19:19:20 UTC

git commit: Add JNDI Datasource definition but disabled

Repository: cxf-fediz
Updated Branches:
  refs/heads/master 3b9d837b8 -> 308c39f5a


Add JNDI Datasource definition but disabled


Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/308c39f5
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/308c39f5
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/308c39f5

Branch: refs/heads/master
Commit: 308c39f5a2a1d3a2b385dfff0a3c1d32bbd1393b
Parents: 3b9d837
Author: Oliver Wulff <ow...@talend.com>
Authored: Thu Oct 2 19:19:04 2014 +0200
Committer: Oliver Wulff <ow...@talend.com>
Committed: Thu Oct 2 19:19:04 2014 +0200

----------------------------------------------------------------------
 services/idp/src/main/webapp/WEB-INF/web.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/308c39f5/services/idp/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/services/idp/src/main/webapp/WEB-INF/web.xml b/services/idp/src/main/webapp/WEB-INF/web.xml
index d0163ac..2849a6b 100644
--- a/services/idp/src/main/webapp/WEB-INF/web.xml
+++ b/services/idp/src/main/webapp/WEB-INF/web.xml
@@ -89,4 +89,14 @@ under the License.
         <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
     </listener>
 
+    <!-- Uncomment this when using JNDI DataSource -->
+    <!-- The property jpa.platform must be updated in persistence.properties even you use JNDI Datasource -->
+    <!-- 
+    <resource-ref>
+        <res-ref-name>jdbc/fedizDataSource</res-ref-name>
+        <res-type>javax.sql.DataSource</res-type>
+        <res-auth>Container</res-auth>
+    </resource-ref>
+    -->
+
 </web-app>