You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by ju...@apache.org on 2013/07/10 11:52:50 UTC

svn commit: r1501697 - in /jackrabbit/trunk/jackrabbit-jca/deploy/geronimo: ./ geronimo-ra.xml

Author: jukka
Date: Wed Jul 10 09:52:50 2013
New Revision: 1501697

URL: http://svn.apache.org/r1501697
Log:
JCR-3620: JCA deployment descriptor for Apache Geronimo

Added:
    jackrabbit/trunk/jackrabbit-jca/deploy/geronimo/
    jackrabbit/trunk/jackrabbit-jca/deploy/geronimo/geronimo-ra.xml   (with props)

Added: jackrabbit/trunk/jackrabbit-jca/deploy/geronimo/geronimo-ra.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jca/deploy/geronimo/geronimo-ra.xml?rev=1501697&view=auto
==============================================================================
--- jackrabbit/trunk/jackrabbit-jca/deploy/geronimo/geronimo-ra.xml (added)
+++ jackrabbit/trunk/jackrabbit-jca/deploy/geronimo/geronimo-ra.xml Wed Jul 10 09:52:50 2013
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+  -->
+<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2">
+
+  <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
+    <dep:moduleId>
+      <dep:groupId>org.apache.jackrabbit</dep:groupId>
+      <dep:artifactId>jackrabbit-jca</dep:artifactId>
+      <dep:version>1.0</dep:version>
+      <dep:type>rar</dep:type>
+    </dep:moduleId>
+     <dep:dependencies>
+      <dep:dependency>
+        <dep:groupId>javax.jcr</dep:groupId>
+        <dep:artifactId>jcr</dep:artifactId>
+        <dep:version>2.0</dep:version>
+        <dep:type>jar</dep:type>
+      </dep:dependency>
+    </dep:dependencies>
+  </dep:environment>
+
+  <resourceadapter>
+    <outbound-resourceadapter>
+      <connection-definition>
+        <connectionfactory-interface>javax.jcr.Repository</connectionfactory-interface>
+        <connectiondefinition-instance>
+          <name>crx</name>
+          <config-property-setting name="RepositoryURI">jndi:///?org.apache.jackrabbit.repository.jndi.name=crx&amp;java.naming.factory.initial=com.day.util.jndi.provider.MemoryInitialContextFactory&amp;java.naming.provider.url=http://jcr.day.com</config-property-setting>
+          <connectionmanager>
+            <local-transaction/>
+            <single-pool>
+              <max-size>10</max-size>
+              <min-size>2</min-size>
+              <match-one/>
+            </single-pool>
+          </connectionmanager>
+        </connectiondefinition-instance>
+      </connection-definition>
+    </outbound-resourceadapter>
+  </resourceadapter>
+
+</connector>

Propchange: jackrabbit/trunk/jackrabbit-jca/deploy/geronimo/geronimo-ra.xml
------------------------------------------------------------------------------
    svn:eol-style = native