This content has been marked as final.
Show 2 replies
-
1. Re: Idle Timeout Default
vickyk Feb 5, 2008 1:44 PM (in response to greenthumb)"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.xslIs 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 . -
2. Re: Idle Timeout Default
vickyk Feb 5, 2008 1:46 PM (in response to greenthumb)Also note that the xsl stuff is going off in Jboss5 . The default value is set in the the code.