Hello Chris,

FYI,

the format used for .jar files is "zip".  So, if you have a zip file,
you can just rename it to ".jar" and that will be *exactly* the same
thing as if you unzipped and then jarred the files.

Jake

Tuesday, June 25, 2002, 11:07:18 AM, you wrote:

CF> Its not that it doesn't accept ZIP files, just that it doesn't look for them by 
default. The reason that Tomcat doesn't pick up anything other than jars is that it 
loops all *.jar files in its
CF> lib directory and adds 
CF> them to the CLASSPATH before starting java. 

CF> I needed to get a zip file onto the classpath so I edited the startup script so 
that it also looped .zip files. It worked fine. 

CF> Chris Faulkner

>>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:[EMAIL PROTECTED]]
>>Inviato: mercoledì 19 giugno 2002 12.24
>>A: [EMAIL PROTECTED]
>>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:[EMAIL PROTECTED]>
>>For additional commands, e-mail:
>><mailto:[EMAIL PROTECTED]>
>>
>>
>>
>>- 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:[EMAIL PROTECTED]>
>>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>>
>>




CF> --
CF> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
CF> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



-- 
Best regards,
 Jacob                            mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to