[jboss-svn-commits] JBL Code SVN: r30327 - in labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources: properties/jdbc-resource/xa and 1 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Nov 24 13:49:10 EST 2009


Author: whitingjr
Date: 2009-11-24 13:49:10 -0500 (Tue, 24 Nov 2009)
New Revision: 30327

Modified:
   labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/shared-database.properties
   labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/jdbc-resource/xa/datasource.properties
   labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/xsl/database/postgresql/postgresql.xsl
Log:
Added connection pooling configuration.

Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/shared-database.properties
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/shared-database.properties	2009-11-24 18:47:52 UTC (rev 30326)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/shared-database.properties	2009-11-24 18:49:10 UTC (rev 30327)
@@ -12,3 +12,6 @@
 db-pool-max.size=10
 db-connection-blocking.timeout=1000
 db-connection-idle.timeout=100000
+
+# pooling configuration
+db-connection.caching=true
\ No newline at end of file

Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/jdbc-resource/xa/datasource.properties
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/jdbc-resource/xa/datasource.properties	2009-11-24 18:47:52 UTC (rev 30326)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/jdbc-resource/xa/datasource.properties	2009-11-24 18:49:10 UTC (rev 30327)
@@ -1 +1 @@
-datasoure.xml=<!-- place some datasource xml here  --><bean name="VendorXADataSource" class="${db-vendor-jdbc-xa.driverClass}"><property name="user">${db-vendor-jdbc-userName}</property><property name="password">${db-vendor-jdbc-password}</property><property name="url">${db-vendor-jdbc-connectionURL}</property><property name="serverName">${db-vendor-jdbc-serverName}</property><property name="databaseName">${db-vendor-jdbc-database}</property><property name="minSize">${db-pool-min.size}</property><property name="maxSize">${db-pool-max.size}</property><property name="blockingTimeout">${db-connection-blocking.timeout}</property><property name="idleTimeout">${db-connection-idle.timeout}</property></bean><bean name="DatasourceWrapper" class="org.jboss.jbossts.performance.MCXaDataSourceWrapper"><constructor><parameter class="java.lang.String">java:/caveatemptorTestingDatasource</parameter><parameter class="javax.sql.XADataSource"><inject bean="VendorXADataSource" /></parameter><p!
 arameter class="java.lang.String">${db-vendor-jdbc-userName}</parameter><parameter class="java.lang.String">${db-vendor-jdbc-password}</parameter></constructor><property name="initialContextProperties"><inject bean="InitialContextProperties"/></property></bean><bean name="TransactionalResourceFactory" class="org.jboss.jbossts.performance.TransactionXADataSourceFactory"><constructor><parameter class="java.lang.String">java:/caveatemptorTestingDatasource</parameter><parameter class="org.jboss.jbossts.tomcat.XADataSourceWrapper"><inject bean="DatasourceWrapper"/></parameter></constructor></bean><bean name="caveatemptorTestingDatasource" class="java.lang.Object"><constructor factoryMethod="getDatasource"><factory bean="TransactionalResourceFactory" /></constructor></bean>
\ No newline at end of file
+datasoure.xml=<!-- place some datasource xml here  --><bean name="VendorXADataSource" class="${db-vendor-jdbc-xa.driverClass}"><property name="user">${db-vendor-jdbc-userName}</property><property name="password">${db-vendor-jdbc-password}</property><property name="url">${db-vendor-jdbc-connectionURL}</property><property name="serverName">${db-vendor-jdbc-serverName}</property><property name="databaseName">${db-vendor-jdbc-database}</property><property name="minSize">${db-pool-min.size}</property><property name="maxSize">${db-pool-max.size}</property><property name="blockingTimeout">${db-connection-blocking.timeout}</property><property name="idleTimeout">${db-connection-idle.timeout}</property><property name="connectionCachingEnabled">${db-connection.caching}</property></bean><bean name="DatasourceWrapper" class="org.jboss.jbossts.performance.MCXaDataSourceWrapper"><constructor><parameter class="java.lang.String">java:/caveatemptorTestingDatasource</parameter><parameter clas!
 s="javax.sql.XADataSource"><inject bean="VendorXADataSource" /></parameter><parameter class="java.lang.String">${db-vendor-jdbc-userName}</parameter><parameter class="java.lang.String">${db-vendor-jdbc-password}</parameter></constructor><property name="initialContextProperties"><inject bean="InitialContextProperties"/></property></bean><bean name="TransactionalResourceFactory" class="org.jboss.jbossts.performance.TransactionXADataSourceFactory"><constructor><parameter class="java.lang.String">java:/caveatemptorTestingDatasource</parameter><parameter class="org.jboss.jbossts.tomcat.XADataSourceWrapper"><inject bean="DatasourceWrapper"/></parameter></constructor></bean><bean name="caveatemptorTestingDatasource" class="java.lang.Object"><constructor factoryMethod="getDatasource"><factory bean="TransactionalResourceFactory" /></constructor></bean>
\ No newline at end of file

Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/xsl/database/postgresql/postgresql.xsl
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/xsl/database/postgresql/postgresql.xsl	2009-11-24 18:47:52 UTC (rev 30326)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/xsl/database/postgresql/postgresql.xsl	2009-11-24 18:49:10 UTC (rev 30327)
@@ -18,6 +18,8 @@
          </xsl:when>
          <xsl:when test="@name='idleTimeout'">
          </xsl:when>
+         <xsl:when test="@name='connectionCachingEnabled'">
+         </xsl:when>
       
          <xsl:when test="@name='url'">
             <!-- Found the one attribute that needs filtering -->



More information about the jboss-svn-commits mailing list