tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Nicholson" <...@email.unc.edu>
Subject Re: JDBC Connection
Date Tue, 25 Jun 2002 15:53:01 GMT
For what it's worth, I just renamed my *.zip archives to *.jar and it
worked.  Don't know that it should have, but it did.  I suppose maybe the
jdk reads the header first, then processes.  So there you go.

Mike
----- Original Message -----
From: "Alessio Fiore" <afiore@alteanet.it>
To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
Sent: Wednesday, June 19, 2002 9:27 AM
Subject: R: JDBC Connection


AFAIK Tomcat4 doesn't accept ZIPped class archives, but only JARred ones.
So, if you use a .zip JDBC driver archive, you should unzip it and either
put unzipped classes in classes dir, or archive them in a .jar archive.

Regards
Alessio


-----Messaggio originale-----
Da: Juan [mailto:velazquez@htmlspider.com.br]
Inviato: mercoledì 19 giugno 2002 12.24
A: tomcat-user@jakarta.apache.org
Oggetto: 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>



- Disclaimer -
This email and any attachments thereto may contain information which is
confidential and/or protected by intellectual property rights and are
intended for the sole use of the recipient(s) named above. Any use of the
information contained herein (including, but not limited to, total or
partial reproduction, communication or distribution in any form) or the
taking of any action in reliance on the contents, by persons other than the
designated recipient(s) is strictly prohibited.

If you have received this email in error, please notify the sender either by
telephone or by email and delete the material from any computer.

Thank you for your cooperation.



--
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
View raw message