|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
MySql errors under Tomcatusing Sonar 1.11.1
This error occurs often, and the system crashed over the weekend. Begins like this: 2009.10.30 17:17:13 INFO org.sonar.INFO loading pmd profiles... 2009.10.30 17:17:13 INFO org.sonar.INFO loading the profile Sonar way/java fro m pmd Oct 30, 2009 5:17:14 PM org.apache.catalina.loader.WebappClassLoader loadClass INFO: Illegal access: this web application instance has been stopped already. C ould not load com.mysql.jdbc.SQLError. The eventual following stack trace is ca used by an error thrown for debugging purposes as well as to attempt to terminat e the thread which caused the illegal access, and has no functional impact. java.lang.IllegalStateException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1273) and this over the weekend: 2009.11.01 00:37:34 ERROR rails /!\ FAILSAFE /!\ Sun Nov 01 00:37:34 -0400 200 9 Status: 500 Internal Server Error java.lang.NoClassDefFoundError: com/mysql/jdbc/SQLError com/mysql/jdbc/Util.java:430:in `handleNewInstance' com/mysql/jdbc/ConnectionImpl.java:302:in `getInstance' com/mysql/jdbc/NonRegisteringDriver.java:282:in `connect' org/apache/commons/dbcp/DriverConnectionFactory.java:38:in `createConnection ' org/apache/commons/dbcp/PoolableConnectionFactory.java:294:in `makeObject' It's as if Sonar is no longer able to see the mysql connector jar?? Seems similar to this previous bug: http://jira.codehaus.org/browse/SONAR-391 and to this non-sonar issue with mysql/tomcat: http://stackoverflow.com/questions/1562244/mysql-j-connector-unloads-mysteriously-under-tomcat-6-jdk-6 |
|
|
Re: MySql errors under TomcatHello,
Could you first try to download a fresh jdbc driver from the mysql web site and replace the old one. Indeed looks like the jar is slightly corrupted. Thanks Freddy On Mon, Nov 2, 2009 at 3:07 PM, dhowe01 <dhowe01@...> wrote:
|
| Free embeddable forum powered by Nabble | Forum Help |