tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lee Chin Khiong <le...@cmks.com.sg>
Subject RE: JDBC Connection
Date Wed, 19 Jun 2002 10:23:55 GMT
You have to download the mysql JDBC driver and place it in \common\lib



-----Original Message-----
From: Vikramjit Singh [mailto:vikramjits@gtllimited.com]
Sent: Wednesday, June 19, 2002 6:19 PM
To: 'Tomcat Users List'
Subject: RE: JDBC Connection


the same error i was also facing. I was using classes12.zip. The solution
for me was, rename the file to classes12.jar and place it in common/lib, and
then the connection worked for me.
try it out. hope it solves your problem.

Regards,
Vikramjit Singh,
Systems Engineer,
GTL Ltd.
Ph. 7612929-1031


-----Original Message-----
From: Juan [mailto:velazquez@htmlspider.com.br]
Sent: Wednesday, June 19, 2002 3:24 AM
To: tomcat-user@jakarta.apache.org
Subject: JDBC Connection


Hello,

I'm trying to connecting with MySQL, but I'm getting the following error:
 >> javax.servlet.ServletException: No suitable driver 
at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:457) 
at org.apache.jsp.index$jsp._jspService(index$jsp.java:805)
...

The JDBC driver is at the classpath, and I'm able to connect using a 
standard Java application. But with Tomcat I'm getting an error.
Am I missing anything?

Thanks in advance,

Juan José Velázquez Garcia
Web Development
www.htmlspider.com.br



--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message