This content has been marked as final. Show 2 replies
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.
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
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 .
Also note that the xsl stuff is going off in Jboss5 . The default value is set in the the code.