You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@tomee.apache.org by bu...@apache.org on 2012/11/12 12:43:32 UTC

svn commit: r838046 - in /websites/staging/openejb/trunk: cgi-bin/ content/ content/common-datasource-configurations.html

Author: buildbot
Date: Mon Nov 12 11:43:31 2012
New Revision: 838046

Log:
Staging update by buildbot for openejb

Modified:
    websites/staging/openejb/trunk/cgi-bin/   (props changed)
    websites/staging/openejb/trunk/content/   (props changed)
    websites/staging/openejb/trunk/content/common-datasource-configurations.html

Propchange: websites/staging/openejb/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Nov 12 11:43:31 2012
@@ -1 +1 @@
-1408145
+1408253

Propchange: websites/staging/openejb/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Nov 12 11:43:31 2012
@@ -1 +1 @@
-1408145
+1408253

Modified: websites/staging/openejb/trunk/content/common-datasource-configurations.html
==============================================================================
--- websites/staging/openejb/trunk/content/common-datasource-configurations.html (original)
+++ websites/staging/openejb/trunk/content/common-datasource-configurations.html Mon Nov 12 11:43:31 2012
@@ -212,6 +212,22 @@ database.</p>
 &lt;/Resource&gt;
 </code></pre>
 
+<p><a name="CommonDataSourceConfigurations-OracleXA"></a></p>
+
+<h2>OracleXA</h2>
+
+<pre><code>&lt;Resource id="OracleXA Database" type="DataSource"&gt;
+    #  OracleXA example
+    #
+    #  This connector will not work until you download the driver at:
+    #  http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html
+    JdbcDriver  oracle.jdbc.xa.client.OracleXADataSource
+    JdbcUrl jdbc:oracle:thin:@localhost:1521:orcl
+    UserName    scott
+    Password    tiger
+&lt;/Resource&gt;
+</code></pre>
+
 <p><a name="CommonDataSourceConfigurations-PosgreSQL"></a></p>
 
 <h2>PosgreSQL</h2>
@@ -242,10 +258,8 @@ database.</p>
 &lt;/Resource&gt;
 </code></pre>
 
-<p><div class="info">:title=Information}
-Internally, OpenEJB relies on Apache Commons DBCP to manage DataSources. To
-get the full list of available configuration properties, have a look to [Apache Commons DBCP configuration](http://commons.apache.org/dbcp/configuration.html|Apache Commons DBCP configuration)
-.<div class="info">} </p>
+<p>Internally, from TomEE 1.5.0, JDBC pools are managed via Tomcat-pool. You can still switch back to Apache Commons DBCP by adding the following property: DataSourceCreator dbcp.  To
+get the full list of available configuration properties, have a look to <a href="http://commons.apache.org/dbcp/configuration.html">Apache Commons DBCP configuration</a>.</p>