JasperServer Deployment on Tomcat and Oracle DB (Solaris)
I follow the steps of this thread :
when I try to start the domain (jasperserver) I got this error in Tomcat Manager :
FAIL - Applica开发者_运维技巧tion at context path /jasperserver could not be started
hereunder the Catalina.out log
2010-11-29 12:39:12,842 ERROR [/jasperserver],http-8080-Processor22:3767 - Exception sending context initialized event to listener instance of class com.jaspersoft.jasperserver.war.util.SpringBeanServletContextPlublisher org.springframework.beans.factory.BeanCreationException org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver' [See nested exception: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver']]
You need to add JDBC driver in your classpath .
It can't load your JDBC driver, make suer that the JAR file representing your driver (mySQL in this case) is on your CLASSPATH (probably in the lib directory of the web/application server you are running)
Resolved :
I must reconfigure jasperserver.xml file found in apache-tomcat-5.5.20/conf/Catalina/localhost folder the same way I reconfigure context.xml file in jasperserver META-INF folder
精彩评论