[Jboss-cvs] JBossAS SVN: r55009 - in branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources: ha-local-rar/META-INF ha-xa-rar/META-INF local-rar/META-INF stylesheets xa-rar/META-INF

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Aug 1 20:55:11 EDT 2006


Author: weston.price at jboss.com
Date: 2006-08-01 20:55:07 -0400 (Tue, 01 Aug 2006)
New Revision: 55009

Modified:
   branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/ha-local-rar/META-INF/ra.xml
   branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/ha-xa-rar/META-INF/ra.xml
   branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/local-rar/META-INF/ra.xml
   branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/stylesheets/ConnectionFactoryTemplate.xsl
   branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/xa-rar/META-INF/ra.xml
Log:
[JBAS-3453] StaleConnection checker patch implementation.

Modified: branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/ha-local-rar/META-INF/ra.xml
===================================================================
--- branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/ha-local-rar/META-INF/ra.xml	2006-08-02 00:54:46 UTC (rev 55008)
+++ branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/ha-local-rar/META-INF/ra.xml	2006-08-02 00:55:07 UTC (rev 55009)
@@ -91,6 +91,11 @@
                <config-property-name>ExceptionSorterClassName</config-property-name>
                <config-property-type>java.lang.String</config-property-type>
             </config-property>
+			<config-property>
+               <description>The fully qualified name of a class implementing org.jboss.resource.adapter.jdbc.StaleConnectionChecker that can determine for a particular vender db when a connection is stale.</description>
+               <config-property-name>StaleConnectionCheckerClassName</config-property-name>
+               <config-property-type>java.lang.String</config-property-type>
+            </config-property>			
             <config-property>
                <description>Whether to track unclosed statements - false/true/nowarn</description>
                <config-property-name>TrackStatements</config-property-name>

Modified: branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/ha-xa-rar/META-INF/ra.xml
===================================================================
--- branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/ha-xa-rar/META-INF/ra.xml	2006-08-02 00:54:46 UTC (rev 55008)
+++ branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/ha-xa-rar/META-INF/ra.xml	2006-08-02 00:55:07 UTC (rev 55009)
@@ -86,6 +86,11 @@
                <config-property-name>ExceptionSorterClassName</config-property-name>
                <config-property-type>java.lang.String</config-property-type>
             </config-property>
+			<config-property>
+               <description>The fully qualified name of a class implementing org.jboss.resource.adapter.jdbc.StaleConnectionChecker that can determine for a particular vender db when a connection is stale.</description>
+               <config-property-name>StaleConnectionCheckerClassName</config-property-name>
+               <config-property-type>java.lang.String</config-property-type>
+            </config-property>			
             <config-property>
                <description>Whether to track unclosed statements - false/true/nowarn</description>
                <config-property-name>TrackStatements</config-property-name>

Modified: branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/local-rar/META-INF/ra.xml
===================================================================
--- branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/local-rar/META-INF/ra.xml	2006-08-02 00:54:46 UTC (rev 55008)
+++ branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/local-rar/META-INF/ra.xml	2006-08-02 00:55:07 UTC (rev 55009)
@@ -91,6 +91,11 @@
                <config-property-name>ExceptionSorterClassName</config-property-name>
                <config-property-type>java.lang.String</config-property-type>
             </config-property>
+			<config-property>
+               <description>The fully qualified name of a class implementing org.jboss.resource.adapter.jdbc.StaleConnectionChecker that can determine for a particular vender db when a connection is stale.</description>
+               <config-property-name>StaleConnectionCheckerClassName</config-property-name>
+               <config-property-type>java.lang.String</config-property-type>
+            </config-property>			
             <config-property>
                <description>Whether to track unclosed statements - false/true/nowarn</description>
                <config-property-name>TrackStatements</config-property-name>

Modified: branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/stylesheets/ConnectionFactoryTemplate.xsl
===================================================================
--- branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/stylesheets/ConnectionFactoryTemplate.xsl	2006-08-02 00:54:46 UTC (rev 55008)
+++ branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/stylesheets/ConnectionFactoryTemplate.xsl	2006-08-02 00:55:07 UTC (rev 55009)
@@ -301,6 +301,9 @@
           <xsl:if test="exception-sorter-class-name">
             <config-property name="ExceptionSorterClassName" type="java.lang.String"><xsl:value-of select="normalize-space(exception-sorter-class-name)"/></config-property>
           </xsl:if>
+          <xsl:if test="stale-connection-checker-class-name">
+          <config-property name="StaleConnectionCheckerClassName" type="java.lang.String"><xsl:value-of select="normalize-space(stale-connection-checker-class-name)"/></config-property>
+          </xsl:if>
           <xsl:if test="track-statements">
             <config-property name="TrackStatements" type="java.lang.String"><xsl:value-of select="normalize-space(track-statements)"/></config-property>
           </xsl:if>

Modified: branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/xa-rar/META-INF/ra.xml
===================================================================
--- branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/xa-rar/META-INF/ra.xml	2006-08-02 00:54:46 UTC (rev 55008)
+++ branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/xa-rar/META-INF/ra.xml	2006-08-02 00:55:07 UTC (rev 55009)
@@ -86,6 +86,11 @@
                <config-property-name>ExceptionSorterClassName</config-property-name>
                <config-property-type>java.lang.String</config-property-type>
             </config-property>
+			<config-property>
+               <description>The fully qualified name of a class implementing org.jboss.resource.adapter.jdbc.StaleConnectionChecker that can determine for a particular vender db when a connection is stale.</description>
+               <config-property-name>StaleConnectionCheckerClassName</config-property-name>
+               <config-property-type>java.lang.String</config-property-type>
+            </config-property>			
             <config-property>
                <description>Whether to track unclosed statements - false/true/nowarn</description>
                <config-property-name>TrackStatements</config-property-name>




More information about the jboss-cvs-commits mailing list