tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Jacobson <marti...@libero.it>
Subject Re: JDBC Connection pooling
Date Thu, 16 Jan 2003 09:20:25 GMT
Nathan McMinn wrote:
> When trying to get a connection pool set up, tomcat spits this exception
> back out.  Nowhere in the code do I reference this class.  Can anyone point
> me to a good HOWTO on connection pooling in tomcat 4.0.6?
> 
> TyrexDataSourceFactory:  Cannot create DataSource, Exception
> java.lang.ClassNotFoundException: org.hsql.jdbcDriver
> 

I had the same experience: it seemed as though Tyrex had the hypersonic 
db hard-coded, so that any attempt to specifiy a different jdbc driver 
was simply ignored.
The solution was to move to TC 4.1.x, which uses the jakarta-commons 
DBCP stuff in place of Tyrex, and which works fine.

HTH,

Martin



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message