On Tue, Apr 02, 2002 at 09:26:59PM +0200, subceero wrote:
> 
> Unfortunately, it still doesn't run. I have no idea where tomcat expects
> those jar file to be ( I have downloaded the JDBC-Driver for mysql, the file
> is named
> mm.mysql-2.0.4-bin.jar) and copied it to $JAKARTA_HOME/common/lib, but still
> the same "Class loading error ". Maybe I need to put it elsewhere? I also do
> not know if JDBC is working at all ! Is there a way to check this? do I have
> to configure this separatlely somwhere in jakarta?

Extract your JDBC logic from your JSP (here's one of the many advantages to
Model 2 architecture, that logic would already be separated and you could
drive it via a main method outside of Tomcat) and run it as a standard Java
app.  I always test my database code in this manner in all the classes I
deploy on Tomcat.

I have been using PostgreSQL and saw a similar message to the one on your
original request for help, which is why I responded.  However, copying the
relevant JDBC jars from my database install into common/lib solved my
problem.  You might also try putting the jar in WEB-INF/lib inside of your
web application, that's the next place I would think to try.

Thomas
-- 

"I never drink beer before Noon.  Lucky for me, it is always after Noon
somewhere." -- Ron the Drunken Webmaster

mailto:[EMAIL PROTECTED]
http://www.gideonfamily.org/tom/
jabber:[EMAIL PROTECTED]

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to