Changes:
- Caused when mysql closes the connection after wait_timeout
- Hibernate connection pooling is not able to handle this
- Solution recommeneded by Hibernate is to use c3p0 connection pooling
- Added c3p0 connection pool properties and thirdparty jar
http://bugs.cloudstack.org/browse/CS-14856
- Problem is with the awsapi webapp being loaded first in tomcat before cloudstack webapp. There is no way this order can be controlled.
- We are not supporting upgrades for awsapi feature
- The solution is awsapi will check if the db exists during initialization. If not, the webapp will fail to load. Error loading the webapp can be seen in the catalina.out output.
- But this should not affect CloudStack db upgrade.