cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From miguelaferreira <...@git.apache.org>
Subject [GitHub] cloudstack pull request: Load mysql driver before connecting to db
Date Tue, 03 Nov 2015 15:35:03 GMT
Github user miguelaferreira commented on the pull request:

    https://github.com/apache/cloudstack/pull/950#issuecomment-153390623
  
    @remibergsma @borisroman I'm closing this PR since I've been able to figure out how the
mysql driver is being loaded in the RPM install. It happens that it's not enough to add the
jar to tomcat's common class loader, nor the webapp class loader. For it to work the jar must
be in the class path of tomcat itself. That is, the `CLASSPATH` variable in the environment
that starts tomcat. In tomcat terminology that is the `System` loader (https://tomcat.apache.org/tomcat-7.0-doc/class-loader-howto.html)



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message