tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
Date Thu, 26 Apr 2007 15:04:21 GMT
That article refers to Fedora's use of JPackage distributions.  Could 
you post your system's OS and where you got your tomcat from? (tomcat 
site or os package)

--David

Aurélien Allienne wrote:

> After search with google, i found this :
>
> https://www.pkrinternet.com/taskjitsu/task/3482;jsessionid=89D92BC4AA0598216A90754B8129264E#note7089

>
>
> I change the conf.d/tomcat-5.5 for add :
>
> JAVA_OPTS="-
> Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory 
>
> "
>
> Now I have a new error :
>
>
> DEBUG http-8080-Processor25 org.hibernate.util.JDBCExceptionReporter -
> Cannot open connection [???]
> org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver 
> class '
> com.mysql.jdbc.Driver'
>        at org.apache.commons.dbcp.BasicDataSource.createDataSource(
> BasicDataSource.java:766)
>        at org.apache.commons.dbcp.BasicDataSource.getConnection(
> BasicDataSource.java:540)
>        at
> org.hibernate.connection.DatasourceConnectionProvider.getConnection(
> DatasourceConnectionProvider.java:69)
>        at org.hibernate.jdbc.ConnectionManager.openConnection(
> ConnectionManager.java:360)
>        at org.hibernate.jdbc.ConnectionManager.getConnection(
> ConnectionManager.java:122)
>        at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:125)
>        at org.hibernate.transaction.JDBCTransaction.begin(
> JDBCTransaction.java:57)
>
>
> Why I can open connection? And why I have [???] In the log?
>
> I have jdbc-mysql.jar in common/lib...
>
> Thanks for your help
>
> Allienne Aurélien
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message