How to configure the timeout settings for a database connection.
26 10月, 2010
Changing the timeout settings for your datasource can be easily done within Yellowfin.
Timeout Settings for a datasource
Go to Administration > Source System & Views : Click on the data source.
(as pictured below)
Timeout Settings for the Yellowfin Database
Changing the timeout settings for the Yellowfin Database is done from the Web.XML file.
The file is found in /appserver/webapps/ROOT/WEB-INF/web.xml.
Add a parameter into the InitConnectionPool section (if you don't already have it):
JDBCTimeout
1800
Example of modified Web.XML with DB Timeout addition
[code]
JDBCPassword
toolkit
JDBCPasswordEncrypted
false
JDBCMaxCount
25
JDBCMinCount
2
JDBCTimeout
1800
4
[/code]