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
.
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
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
@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
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
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
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
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
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
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
:
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
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
--- 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
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
14 matches
Mail list logo