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

2009-07-23 Thread Bob Marcum
bernate 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: com.mysql.jdbc.Driver PS - I just hack

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

2009-07-21 Thread Martin Gainty
; From: d...@cornell.edu > To: users@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&

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

2009-07-21 Thread David Smith
ets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > > > > > > >> Date: Mon, 20 Jul 2009 19:56:32 -0700 >> From: its_toas...@yahoo.com >> Subject: Re: Seeking the right solution

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

2009-07-21 Thread Martin Gainty
ponsabilité pour le contenu fourni. > 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, Da

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 T

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 wrote: > From: David Smith > Subject: Re: Seeking the right solution to java.lang.ClassNotFoundException: > com.mysql.jdbc.Driver > To: "Tomcat Users List" > Date: Monday, July 20, 2009, 6:16 PM > Caldarale, Charles R wrote: >

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 >> m

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

2009-07-20 Thread Caldarale, Charles R
> 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&#

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

2009-07-20 Thread David Smith
" >maxIdle="4" /> > This configuration is using a tomcat managed database pool. Put your mysql jar file in tomcat's lib folder and you'll see the error go away. --David Bob Marcum wrote: > Thank you all for your help. > > Caldarale, Charles R wro

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 hibernat

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 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

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

2009-07-20 Thread Bob Marcum
our webapp, it should easily see the driver jar file. If it's in another webapp, it won't. The hibernate3.jar is in WEB-INF/lib, so based on the comments by both of you the application should see it, but it doesn't. See below. --David Caldarale, Ch

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 ins

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 as

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

2009-07-20 Thread Bob Marcum
I have been experiencing "java.lang.ClassNotFoundException: com.mysql.jdbc.Driver" when attempting to run my webapp under tomcat 6.0.18. I have run my application successfully before under prior versions of Tomcat. I have found and implemented a solution that works, but I believe it is a "wrong