jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r923788 - in /jackrabbit/trunk/jackrabbit-jca: deploy/jboss/jcr-ds.xml deploy/weblogic/weblogic-ra.xml src/main/rar/META-INF/ra.xml src/main/rar10/META-INF/ra.xml
Date Tue, 16 Mar 2010 14:56:54 GMT
Author: jukka
Date: Tue Mar 16 14:56:54 2010
New Revision: 923788

URL: http://svn.apache.org/viewvc?rev=923788&view=rev
Log:
JCR-2555: Improved reusability of the JCA package

Use the repository URI parameter instead of the old repository home and conf paremeters in
JCA.

Modified:
    jackrabbit/trunk/jackrabbit-jca/deploy/jboss/jcr-ds.xml
    jackrabbit/trunk/jackrabbit-jca/deploy/weblogic/weblogic-ra.xml
    jackrabbit/trunk/jackrabbit-jca/src/main/rar/META-INF/ra.xml
    jackrabbit/trunk/jackrabbit-jca/src/main/rar10/META-INF/ra.xml

Modified: jackrabbit/trunk/jackrabbit-jca/deploy/jboss/jcr-ds.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jca/deploy/jboss/jcr-ds.xml?rev=923788&r1=923787&r2=923788&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jca/deploy/jboss/jcr-ds.xml (original)
+++ jackrabbit/trunk/jackrabbit-jca/deploy/jboss/jcr-ds.xml Tue Mar 16 14:56:54 2010
@@ -21,8 +21,7 @@
     <xa-transaction/>
     <rar-name>jackrabbit-jca.rar</rar-name>
     <connection-definition>javax.jcr.Repository</connection-definition>
-    <config-property name="homeDir" type="java.lang.String">./jackrabbit</config-property>
-    <config-property name="configFile" type="java.lang.String">classpath:org/apache/jackrabbit/core/repository.xml</config-property>
+    <config-property name="repositoryURI" type="java.lang.String">jcr-jackrabbit://jackrabbit</config-property>
     <config-property name="bindSessionToTransaction" type="java.lang.Boolean">true</config-property>
   </tx-connection-factory>
 </connection-factories>

Modified: jackrabbit/trunk/jackrabbit-jca/deploy/weblogic/weblogic-ra.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jca/deploy/weblogic/weblogic-ra.xml?rev=923788&r1=923787&r2=923788&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jca/deploy/weblogic/weblogic-ra.xml (original)
+++ jackrabbit/trunk/jackrabbit-jca/deploy/weblogic/weblogic-ra.xml Tue Mar 16 14:56:54 2010
@@ -40,12 +40,8 @@
           </pool-params>
           <properties>
             <property>
-              <name>HomeDir</name>
-              <value>./jackrabbit</value>
-            </property>
-            <property>
-              <name>ConfigFile</name>
-              <value>classpath:org/apache/jackrabbit/core/repository.xml</value>
+              <name>RepositoryURI</name>
+              <value>jcr-jackrabbit://jackrabbit</value>
             </property>
           </properties>
         </connection-properties>

Modified: jackrabbit/trunk/jackrabbit-jca/src/main/rar/META-INF/ra.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jca/src/main/rar/META-INF/ra.xml?rev=923788&r1=923787&r2=923788&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jca/src/main/rar/META-INF/ra.xml (original)
+++ jackrabbit/trunk/jackrabbit-jca/src/main/rar/META-INF/ra.xml Tue Mar 16 14:56:54 2010
@@ -37,6 +37,10 @@
         </managedconnectionfactory-class>
 
         <config-property>
+          <config-property-name>RepositoryURI</config-property-name>
+          <config-property-type>java.lang.String</config-property-type>
+        </config-property>
+        <config-property>
           <config-property-name>HomeDir</config-property-name>
           <config-property-type>java.lang.String</config-property-type>
         </config-property>

Modified: jackrabbit/trunk/jackrabbit-jca/src/main/rar10/META-INF/ra.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jca/src/main/rar10/META-INF/ra.xml?rev=923788&r1=923787&r2=923788&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jca/src/main/rar10/META-INF/ra.xml (original)
+++ jackrabbit/trunk/jackrabbit-jca/src/main/rar10/META-INF/ra.xml Tue Mar 16 14:56:54 2010
@@ -52,6 +52,10 @@
     <transaction-support>XATransaction</transaction-support>
 
     <config-property>
+      <config-property-name>RepositoryURI</config-property-name>
+      <config-property-type>java.lang.String</config-property-type>
+    </config-property>
+    <config-property>
       <config-property-name>HomeDir</config-property-name>
       <config-property-type>java.lang.String</config-property-type>
     </config-property>



Mime
View raw message