miaoyf / javamelody

Automatically exported from code.google.com/p/javamelody
0 stars 0 forks source link

DataSource.getValidatorClassName method not found on Tomcat 6 #387

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. add javamelody javamelody-1.49.0.jar as stated in UserGuide as of today to a 
web app
2. add monitoring-spring.xml to contextConfigLocation
3. deploy the app on tcServer 6.0.25.A, which uses Apache Tomcat 
6.0.25.A-RELEASE

What is the expected output? What do you see instead?
Multiple initilization errors, all pointing to: java.lang.NoSuchMethodError: 
org.apache.tomcat.jdbc.pool.DataSource.getValidatorClassName()Ljava/lang/String;
Application doesn't start.

What version of the product are you using? On what application server, JDK,
operating system?
javamelody: 1.49
jdk: 1.6

Please provide any additional information below.

Original issue reported on code.google.com by stan.be...@gmail.com on 13 Mar 2014 at 2:26

GoogleCodeExporter commented 8 years ago
Hi,
I have deleted your comment in the user guide.
The issue is better here than in comments.

Original comment by evernat@free.fr on 15 Mar 2014 at 3:52

GoogleCodeExporter commented 8 years ago
getValidatorClassName() was added in tomcat jdbc pool somewhere near v1.0.9.0.

Do you have different versions of tomcat jdbc pool in your webapp and/or in 
tcServer?
(one before v.1.0.9.0 and one other)

Original comment by evernat@free.fr on 19 Mar 2014 at 10:17

GoogleCodeExporter commented 8 years ago
any news?

Original comment by evernat@free.fr on 6 Apr 2014 at 1:03

GoogleCodeExporter commented 8 years ago
No response from the reporter, so resolving as incomplete/invalid.

Original comment by evernat@free.fr on 20 Apr 2014 at 11:14