tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Nicholson" <>
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.

----- Original Message -----
From: "Alessio Fiore" <>
To: "'Tomcat Users List'" <>
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.


-----Messaggio originale-----
Da: Juan []
Inviato: mercoledì 19 giugno 2002 12.24
Oggetto: JDBC Connection


I'm trying to connecting with MySQL, but I'm getting the following error:
 >> javax.servlet.ServletException: No suitable driver
at org.apache.jsp.index$jsp._jspService(index$

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

To unsubscribe, e-mail:
For additional commands, e-mail:

- 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:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message