---------------------------------------------------------------- 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!!! ---------------------------------------------------------------- Thanks for the tips! However....I've looked in all the properties and conf files and have set the wrapper.class accordingly. I also unset $CLASSPATH for root when starting httpd -- to no avail. I'm getting the same errors. As expected, when I unset $CLASSPATH and from the command line attempt to run an app with the same db driver, I get the identical error on STDOUT: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver at jdbcnew.main(jdbcnew.java:15) SQLException: No suitable driver SQLState: 08001 VendorError: 0 What gives?? -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] > Subject: JDBC/ApacheJServ/MySql driver failure > From: "Alan Macaluso" <[EMAIL PROTECTED]> > Date: Mon, 6 Dec 1999 08:35:50 -0500 (EST) > > 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] > > Subject: Re: JDBC/ApacheJServ/MySql driver failure > From: "Steve Nguyen" <[EMAIL PROTECTED]> > Date: Tue, 7 Dec 1999 01:19:46 +0700 > > 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 > -- -------------------------------------------------------------- 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]