Came across the following error in our logs when we've used PageMetaFactory to get meta information on a page:
Cannot release connection
From some digging this seems to be caused by an application trying to use a connection from the connection pool that's been idle beyond the timeout?
This got me thinking about the section in the storage config:
<Storage Type="persistence" Id="defaultdb" dialect="MSSQL" Class="com.tridion.storage.persistence.JPADAOFactory">
<Pool Type="jdbc" Size="5" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120" />
<DataSource Class="com.microsoft.sqlserver.jdbc.SQLServerDataSource">
<Property Name="serverName" Value="COAIPDELIVDBP01" />
<Property Name="portNumber" Value="xxx" />
<Property Name="databaseName" Value="Tridion_Broker" />
<Property Name="user" Value="xxxx" />
<Property Name="password" Value="xxx" />
</DataSource>
</Storage>
I've never had cause to change these beyond the defaults and wondered if these setting played a part in the error?
EDIT
Added complete storage node. We're running:
- SQL Server 2008 R2 64bit
- Windows Server 2008 R2
- 64bit JRE 1.6.0 64bit
Cheers