Re: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

2009-07-23 Thread Bob Marcum
tightly coupled to my application, the Hibernate managed approach works best for me. Thank you all for a great job and great help. Caldarale, Charles R wrote: From: its_toas...@yahoo.com [mailto:its_toas...@yahoo.com] Subject: Re: Seeking the right solution to java.lang.ClassNotFoundException

RE: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

2009-07-21 Thread Martin Gainty
. Date: Mon, 20 Jul 2009 19:56:32 -0700 From: its_toas...@yahoo.com Subject: Re: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver To: users@tomcat.apache.org --- On Mon, 7/20/09, David Smith d...@cornell.edu wrote: From: David Smith d

Re: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

2009-07-21 Thread David Smith
to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver To: users@tomcat.apache.org --- On Mon, 7/20/09, David Smith d...@cornell.edu wrote: From: David Smith d...@cornell.edu Subject: Re: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver To: Tomcat

RE: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

2009-07-21 Thread Martin Gainty
@tomcat.apache.org Subject: Re: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver Take a look at http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html. Then consider that tomcat's database pooling is instantiated in tomcat's internal classes which do

Re: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

2009-07-20 Thread David Smith
You are right ... it shouldn't be put there. One thing you didn't seem to mention is how you are using your mysql driver. Are you trying to use the built-in database pooling? If that's the case, the mysql driver should be in tomcat's lib directory because tomcat's internals need access to it

RE: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

2009-07-20 Thread Caldarale, Charles R
From: Bob Marcum [mailto:bmar...@bcscomputers.com] Subject: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver That would mean code directly in my app could see all the jar files in WEB-INF/lib but hibernate code, for instance, could not ?? !! Depends on

Re: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

2009-07-20 Thread Bob Marcum
Responding to both ... Being guided by your judgements I have made a few adjustements and re-tried. 1. I removed the mysql driver jar from my jse/jre/lib/ext 2. I confirmed hibernate3.jar is in myapp/WEB-INF/lib. It has always been there. 3. I put mysql-connector-java-3.1.10-bin.jar back into

RE: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

2009-07-20 Thread Caldarale, Charles R
From: Bob Marcum [mailto:bmar...@bcscomputers.com] Subject: Re: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver I did a find scan of my system, looking for other copies of both hibernate3.jar and mysql-connector-java-3.1.10-bin.jar to confirm

Re: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

2009-07-20 Thread Mark Thomas
Bob Marcum wrote: Suggestions, gents? Showing us the full stack trace would help. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

2009-07-20 Thread Bob Marcum
Thank you all for your help. Caldarale, Charles R wrote: From: Bob Marcum [mailto:bmar...@bcscomputers.com] Subject: Re: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver I did a find scan of my system, looking for other copies of both hibernate3.jar

Re: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

2009-07-20 Thread David Smith
: Thank you all for your help. Caldarale, Charles R wrote: From: Bob Marcum [mailto:bmar...@bcscomputers.com] Subject: Re: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver I did a find scan of my system, looking for other copies of both hibernate3.jar

Re: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

2009-07-20 Thread David Smith
Caldarale, Charles R wrote: From: David Smith [mailto:d...@cornell.edu] Subject: Re: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver This configuration is using a tomcat managed database pool. Put your mysql jar file in tomcat's lib folder and you'll

Re: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

2009-07-20 Thread its_toasted
--- On Mon, 7/20/09, David Smith d...@cornell.edu wrote: From: David Smith d...@cornell.edu Subject: Re: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver To: Tomcat Users List users@tomcat.apache.org Date: Monday, July 20, 2009, 6:16 PM Caldarale

RE: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

2009-07-20 Thread Caldarale, Charles R
From: its_toas...@yahoo.com [mailto:its_toas...@yahoo.com] Subject: Re: Seeking the right solution to java.lang.ClassNotFoundException: com.mysql.jdbc.Driver PS - I just hacked together the Hibernate-controlled database connection / pooling on a freshly installed Tomcat 6.0.20. It works