Re: Tomcat, Connection Pooling, and MySQL

2003-10-04 Thread Adam Hardy
you need to put mysql-connector-javax in tomcat/common/lib and then 
specify

  parameter
namedriverClassName/name
valuecom.mysql.jdbc.Driver/value
  /parameter
in your server.xml

Adam

On 10/03/2003 04:35 PM Dan Greene wrote:
I got it working... unfournately it's on my laptop at home, not here at work with me I think that the issues was that the class names given in the documentation for the jdbc driver for MySQL were wrong look at the listing of the contents of the jar file, and see if you can find the right one...

Sorry that I'm being incredibly vague I set it up months ago

Dan Greene


-Original Message-
From: Steven Nakhla [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 9:42 AM
To: MySQL
Subject: Tomcat, Connection Pooling, and MySQL
Has anyone managed to setup Tomcat to use MySQL for database 
connection pooling?  I've found this document which gives 
information on it:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasourc
e-examples-howto.html
 
However, when I try and run it I get messages about not being able to find the hsql driver class.  From searching on Google, it seems that this is a common error, but there are no solutions posted.
 
Has anyone managed to get it up and running successfully?  I'd really appreciate any advice!  Thanks!
 

Steve Nakhla
 
 

-
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
--
Running mySQL 4.1.0 on Linux 2.4.20 RH9
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Tomcat, Connection Pooling, and MySQL

2003-10-03 Thread Steven Nakhla
Has anyone managed to setup Tomcat to use MySQL for database connection pooling?  I've 
found this document which gives information on it:
 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
 
However, when I try and run it I get messages about not being able to find the hsql 
driver class.  From searching on Google, it seems that this is a common error, but 
there are no solutions posted.
 
Has anyone managed to get it up and running successfully?  I'd really appreciate any 
advice!  Thanks!
 

Steve Nakhla
 
 


-
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search

RE: Tomcat, Connection Pooling, and MySQL

2003-10-03 Thread Dan Greene
I got it working... unfournately it's on my laptop at home, not here at work with 
me I think that the issues was that the class names given in the documentation for 
the jdbc driver for MySQL were wrong look at the listing of the contents of the 
jar file, and see if you can find the right one...

Sorry that I'm being incredibly vague I set it up months ago

Dan Greene

 -Original Message-
 From: Steven Nakhla [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 03, 2003 9:42 AM
 To: MySQL
 Subject: Tomcat, Connection Pooling, and MySQL
 
 
 Has anyone managed to setup Tomcat to use MySQL for database 
 connection pooling?  I've found this document which gives 
 information on it:
  
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasourc
e-examples-howto.html
 
However, when I try and run it I get messages about not being able to find the hsql 
driver class.  From searching on Google, it seems that this is a common error, but 
there are no solutions posted.
 
Has anyone managed to get it up and running successfully?  I'd really appreciate any 
advice!  Thanks!
 

Steve Nakhla
 
 


-
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]