geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geronimo-...@incubator.apache.org
Subject [Apache Geronimo Wiki] Updated: Deployment
Date Mon, 12 Jul 2004 17:57:54 GMT
   Date: 2004-07-12T10:57:53
   Editor: 141.154.122.5 <>
   Wiki: Apache Geronimo Wiki
   Page: Deployment
   URL: http://wiki.apache.org/geronimo/Deployment

   added a simple JCA 1.5 geronimo-ra.xml

Change Log:

------------------------------------------------------------------------------
@@ -104,7 +104,7 @@
 
   == Configuration ==
 
-  To deploy a Resource adapter into Geronimo, you '''must''' add a `META-INF/geronimo-ra.xml`
file to your rar file (this restriction will be removed in a future release).  An example
openejb-jar.xml file follows:
+  To deploy a Resource adapter into Geronimo, you '''must''' add a `META-INF/geronimo-ra.xml`
file to your rar file (this restriction will be removed in a future release).  An example
JCA 1.0 geronimo-ra.xml file follows:
     {{{
 <?xml version="1.0" encoding="UTF-8"?>
 <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee"
@@ -137,6 +137,23 @@
             </connection-definition>
 
         </outbound-resourceadapter>
+    </resourceadapter>
+</connector>
+}}}
+
+  Here's an example JCA 1.5 geronimo-ra.xml that assumes that your resource adapter has a
string parameter named `testRAStringProperty`.  This file works with Geronimo's CVS HEAD as
of 2004-07-12, but not with older code:
+
+    {{{
+<?xml version="1.0" encoding="UTF-8"?>
+<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee" version="1.5"
+    configId="testRA"
+    parentId="org/apache/geronimo/Server">
+    <resourceadapter>
+        <resourceadapter-instance>
+            <resourceadapter-name>testRA</resourceadapter-name>
+            <config-property-setting name="testRAStringProperty">String value from
geronimo-ra.xml</config-property-setting>
+            <workmanager-name>DefaultWorkManager</workmanager-name>
+        </resourceadapter-instance>
     </resourceadapter>
 </connector>
 }}}

Mime
View raw message