----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
It is a classpath problem, or you tried to load the jar file twice and are
different version (prossibly one at manual command line and one in the
zone.properties).
--
Steve Nguyen
KBMail Software & Java Hosting Provider
http://www.ebpcs.net
http://www.kbmail.com
----- Original Message -----
From: Alan Macaluso <[EMAIL PROTECTED]>
To: Java Apache Users <[EMAIL PROTECTED]>
Sent: Monday, December 06, 1999 8:35 PM
Subject: JDBC/ApacheJServ/MySql driver failure
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> Hello All:
>
> I think I'm having CLASSPATH problems. I've tried a few approaches in
> setting it but am having no success. Any and all help would be greatly
> appreciated.
>
> -------------
> Vital Stats:
> Linux 6.0
> Apache/1.3.6 (Unix) ApacheJServ/1.0 PHP/3.0.9
> JDK 1.1.6_v5
> JRE 1.1.6_v5
> JSDK 2.0
> MySQL 3.22.22/MySQL JDBC Driver Version 1.1b
> -----------------
>
> With the proper CLASSPATH set on login, I've successfully compiled and
> executed a small command-line-based java app to query a MySQL database.
> This works fine.
>
> However, when I extend it to be an Apache servlet, I getting a few errors
> and exceptions:
>
> in browser:
>
> SQLException: No suitable driver
>
> Apache error_log:
>
> Unable to load driver.
> java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
> at
>
org.apache.java.lang.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:
437)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java)
> at jdbc.doGet(jdbc.java:36)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
> at
> org.apache.jserv.JServConnection.processRequest(JServConnection.java:335)
> at org.apache.jserv.JServConnection.run(JServConnection.java:197)
> at java.lang.Thread.run(Thread.java)
>
>
> What seems to be the problem here?
>
> -Alan
> ---
> A l a n M a c a l u s o + 212.473.1773 nyc
> Media-Technica, Inc. + 781.648.0057 boston
> 295 E 8th Street, Suite 4E, NYC 10009 + 917.797.6802 mobile
> http://www.media-technica.com + [EMAIL PROTECTED]
>
>
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]