Created
January 31, 2013 20:11
-
-
Save kitzy/4685989 to your computer and use it in GitHub Desktop.
This can be added to my jssdeploy script to accomodate for the JSS database connections dropping due to Rackspace's 120 second timeout on their Cloud Databases product.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Modify database connection time from 300 to 100 to accommodate for Rackspace's Cloud Databases default timeout of 120 seconds | |
sed "s@<IdleConnectionTestPeriod>.*@<IdleConnectionTestPeriod>100</IdleConnectionTestPeriod>@" -i /var/lib/tomcat7/webapps/$instanceName/WEB-INF/xml/DataBase.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment