[jboss-user] [JCA/JBoss] - Re: Idle Timeout Default
vickyk
do-not-reply at jboss.com
Tue Feb 5 13:44:51 EST 2008
"greenThumb" wrote :
| If the idle-timeout-minutes attribute is not set for a database connection datasource, is there a default?
|
| What happens to idle connections?
|
| Thanks in advance.
| Michelle
Yes there is default set to 15 minutes , it is set here
<xsl:choose>
| <xsl:when test="idle-timeout-minutes">
| <attribute name="IdleTimeoutMinutes"><xsl:value-of select="idle-timeout-minutes"/></attribute>
| </xsl:when>
| <xsl:otherwise>
| <attribute name="IdleTimeoutMinutes">15</attribute>
| </xsl:otherwise>
| </xsl:choose>
It is from here
http://anonsvn.jboss.org/repos/jbossas/trunk/connector/src/resources/stylesheets/ConnectionFactoryTemplate.xsl
anonymous wrote : Is there a JBoss global setting for idle connections that would span across all datasources if the value is not set?
It is explained above , you can make the changes in value in xsl and build the required jar which is jboss-jca.jar .
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126695#4126695
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126695
More information about the jboss-user
mailing list