GitHub user miguelaferreira opened a pull request: https://github.com/apache/cloudstack/pull/946
Load-mysql-driver-before-creating-datasource When deploying ACS as a WAR file in a vanilla tomcat installation, I always get an error reporting that the JDBC driver for MySQL can't be found. This PR loads said driver before establishing a connection. I tried to figure out how this is done in the ACS rpm but I couldn't. Therefore I open this PR to enable anyone that wants to deploy ACS as a WAR file. I have tested this PR by deploying the resulting WAR several times, and I have to say to reviewers, that the war needs to be rename to client.war, otherwise the UI will not work. You can merge this pull request into a Git repository by running: $ git pull https://github.com/miguelaferreira/cloudstack load-mysql-driver Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/946.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #946 ---- commit ca8d350bf12d4e9f2e977096c8b04c49b4f3d188 Author: Miguel Ferreira <miguelferre...@me.com> Date: 2015-10-18T13:42:19Z Load-mysql-driver-before-creating-datasource ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---