Commit Graph

11 Commits

Author SHA1 Message Date
prachi d9af6dadca CS-14743: "Server.InternalError: org.hibernate.exception.JDBCConnectionException: Cannot open connection" exception seen when trying to execute soap api call.
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
2012-05-16 18:15:46 -07:00
prachi e3cf8a6140 CS-14856: upgrade script:schema-2214to30.sql fails while upgrading CS 2.2.14 to Bonita
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.
2012-05-14 15:39:15 -07:00
Likitha Shetty 9228a70913 Changes in CloudBridge to lookup defaultZoneId(marked for an account) from CloudStack DB.
reviewed by: Prachi
2012-05-08 13:10:29 +05:30
prachi 43f0d0df35 Logging related Changes overwritten by S3 Merger
Also did changes to not log the hibernate SQL
2012-05-07 11:40:01 -07:00
JohnZ bc5ea30dfc Revert 07e3632b59 removing change to awsapi-lib 2012-05-06 18:49:43 +01:00
prachi 01fdcd5d00 Changes overwritten by S3 Merge 2012-05-03 16:45:19 -07:00
JohnZ b89841ee4a S3AccessControlList, SHost, SAcl updates and fixes 2012-05-02 22:28:00 +01:00
Salvatore Orlando 6257af95ed Now really adding the renamed files! 2012-05-01 13:59:16 +01:00
prachi 7140bab73c Files missing after cloudbridge-ec2-integration branch merge 2012-04-30 17:08:38 -07:00
prachi 74a152df8d - Changes to Configuring hibernate to connect to multiple databases: cloudbridge and cloudstack
- This avoids making multiple API calls just to list ServiceOfferings
2012-04-30 17:08:29 -07:00
prachi 0f33c7c056 Cs-14524 - Change hardcode DB properties in hibernate cfg file of CloudBridge to dynamical reading from db.properties
Changes to read from DB host, user credentials from cloudStack's db.properties file instead of ec2-service.properties
2012-04-30 17:08:11 -07:00